chore: Updated year and gitignore.
This commit is contained in:
45
.gitignore
vendored
45
.gitignore
vendored
@ -1,3 +1,48 @@
|
||||
# emacs
|
||||
*~
|
||||
\#*\#
|
||||
tramp
|
||||
.\#*
|
||||
|
||||
# IDE
|
||||
/.idea/
|
||||
/.vscode/
|
||||
/.gradle/
|
||||
/gradle/
|
||||
*.code-workspace
|
||||
|
||||
# Prerequisites
|
||||
*.d
|
||||
|
||||
# Compiled Object files
|
||||
*.slo
|
||||
*.lo
|
||||
*.o
|
||||
*.obj
|
||||
|
||||
# Precompiled Headers
|
||||
*.gch
|
||||
*.pch
|
||||
|
||||
# Compiled Dynamic libraries
|
||||
*.so
|
||||
*.dylib
|
||||
*.dll
|
||||
|
||||
# Fortran module files
|
||||
*.mod
|
||||
*.smod
|
||||
|
||||
# Compiled Static libraries
|
||||
*.lai
|
||||
*.la
|
||||
*.a
|
||||
*.lib
|
||||
|
||||
# Executables
|
||||
*.exe
|
||||
*.out
|
||||
*.app
|
||||
|
||||
# Misc
|
||||
eepget
|
||||
|
1
LICENSE
1
LICENSE
@ -1,5 +1,6 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2019-2022 polistern
|
||||
Copyright (c) 2017 The I2P Project
|
||||
Copyright (c) 2013-2015 The Anoncoin Core developers
|
||||
Copyright (c) 2012-2013 giv
|
||||
|
13
README.md
13
README.md
@ -9,11 +9,20 @@ Pre-release (ongoing refactoring work and migration to C++11).
|
||||
|
||||
## Usage
|
||||
|
||||
### Library
|
||||
|
||||
Copy the files `i2psam.cpp` and `i2psam.h` into your codebase, or build the
|
||||
library `libi2psam.a`:
|
||||
|
||||
make
|
||||
```
|
||||
make
|
||||
```
|
||||
|
||||
See `eepget.cpp` for example tcp client usage (build with `make eepget`).
|
||||
### Example
|
||||
|
||||
See `eepget.cpp` for example TCP client usage.
|
||||
Build with:
|
||||
|
||||
```
|
||||
make eepget
|
||||
```
|
||||
|
3
compat.h
3
compat.h
@ -2,8 +2,11 @@
|
||||
* Copyright (c) 2009-2010 Satoshi Nakamoto
|
||||
* Copyright (c) 2009-2014 The Bitcoin developers
|
||||
* Copyright (c) 2013-2015 The Anoncoin Core developers
|
||||
*
|
||||
* Distributed under the MIT software license, see the accompanying
|
||||
* file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
*
|
||||
* see full documentation about SAM at http://www.i2p2.i2p/samv3.html
|
||||
*/
|
||||
|
||||
#ifndef I2PSAM_COMPAT_H
|
||||
|
12
eepget.cpp
12
eepget.cpp
@ -1,7 +1,11 @@
|
||||
// Copyright (c) 2017 The I2P Project
|
||||
// Distributed under the MIT software license, see the accompanying
|
||||
// file LICENSE or http://www.opensource.org/licenses/mit-license.php.
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
/**
|
||||
* Copyright (c) 2017 The I2P Project
|
||||
*
|
||||
* Distributed under the MIT software license, see the accompanying
|
||||
* file LICENSE or http://www.opensource.org/licenses/mit-license.php.
|
||||
*
|
||||
* see full documentation about SAM at http://www.i2p2.i2p/samv3.html
|
||||
*/
|
||||
|
||||
#include "i2psam.h"
|
||||
|
||||
|
Reference in New Issue
Block a user