Anoncoin  0.9.4
P2P Digital Currency
Classes | Namespaces | Macros | Typedefs
i2psam.h File Reference
#include <string>
#include <list>
#include <stdint.h>
#include <memory>
#include <utility>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
Include dependency graph for i2psam.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SAM::Message
 
struct  SAM::Message::Answer< T >
 
class  SAM::Socket
 
struct  SAM::FullDestination
 
struct  SAM::RequestResult< T >
 
struct  SAM::RequestResult< std::auto_ptr< T > >
 
struct  SAM::RequestResult< std::auto_ptr< T > >::RequestResultRef
 
struct  SAM::RequestResult< void >
 
class  SAM::StreamSession
 
struct  SAM::StreamSession::ForwardedStream
 

Namespaces

 SAM
 

Macros

#define SAM_INVALID_SOCKET   (-1)
 
#define SAM_SOCKET_ERROR   (-1)
 
#define SAM_DEFAULT_ADDRESS   "127.0.0.1"
 
#define SAM_DEFAULT_PORT   7656
 
#define SAM_DEFAULT_MIN_VER   "3.0"
 
#define SAM_DEFAULT_MAX_VER   "3.0"
 
#define SAM_GENERATE_MY_DESTINATION   "TRANSIENT"
 
#define SAM_MY_NAME   "ME"
 
#define SAM_DEFAULT_I2P_OPTIONS   ""
 
#define SAM_NAME_INBOUND_QUANTITY   "inbound.quantity"
 
#define SAM_DEFAULT_INBOUND_QUANTITY   3
 
#define SAM_NAME_INBOUND_LENGTH   "inbound.length"
 
#define SAM_DEFAULT_INBOUND_LENGTH   3
 
#define SAM_NAME_INBOUND_LENGTHVARIANCE   "inbound.lengthVariance"
 
#define SAM_DEFAULT_INBOUND_LENGTHVARIANCE   0
 
#define SAM_NAME_INBOUND_BACKUPQUANTITY   "inbound.backupQuantity"
 
#define SAM_DEFAULT_INBOUND_BACKUPQUANTITY   1
 
#define SAM_NAME_INBOUND_ALLOWZEROHOP   "inbound.allowZeroHop"
 
#define SAM_DEFAULT_INBOUND_ALLOWZEROHOP   true
 
#define SAM_NAME_INBOUND_IPRESTRICTION   "inbound.IPRestriction"
 
#define SAM_DEFAULT_INBOUND_IPRESTRICTION   2
 
#define SAM_NAME_OUTBOUND_QUANTITY   "outbound.quantity"
 
#define SAM_DEFAULT_OUTBOUND_QUANTITY   3
 
#define SAM_NAME_OUTBOUND_LENGTH   "outbound.length"
 
#define SAM_DEFAULT_OUTBOUND_LENGTH   3
 
#define SAM_NAME_OUTBOUND_LENGTHVARIANCE   "outbound.lengthVariance"
 
#define SAM_DEFAULT_OUTBOUND_LENGTHVARIANCE   0
 
#define SAM_NAME_OUTBOUND_BACKUPQUANTITY   "outbound.backupQuantity"
 
#define SAM_DEFAULT_OUTBOUND_BACKUPQUANTITY   1
 
#define SAM_NAME_OUTBOUND_ALLOWZEROHOP   "outbound.allowZeroHop"
 
#define SAM_DEFAULT_OUTBOUND_ALLOWZEROHOP   true
 
#define SAM_NAME_OUTBOUND_IPRESTRICTION   "outbound.IPRestriction"
 
#define SAM_DEFAULT_OUTBOUND_IPRESTRICTION   2
 
#define SAM_NAME_OUTBOUND_PRIORITY   "outbound.priority"
 
#define SAM_DEFAULT_OUTBOUND_PRIORITY   0
 

Typedefs

typedef int SAM::SOCKET
 

Macro Definition Documentation

#define SAM_DEFAULT_ADDRESS   "127.0.0.1"

Definition at line 28 of file i2psam.h.

#define SAM_DEFAULT_I2P_OPTIONS   ""

Definition at line 34 of file i2psam.h.

#define SAM_DEFAULT_INBOUND_ALLOWZEROHOP   true

Definition at line 45 of file i2psam.h.

#define SAM_DEFAULT_INBOUND_BACKUPQUANTITY   1

Definition at line 43 of file i2psam.h.

#define SAM_DEFAULT_INBOUND_IPRESTRICTION   2

Definition at line 47 of file i2psam.h.

#define SAM_DEFAULT_INBOUND_LENGTH   3

Definition at line 39 of file i2psam.h.

#define SAM_DEFAULT_INBOUND_LENGTHVARIANCE   0

Definition at line 41 of file i2psam.h.

#define SAM_DEFAULT_INBOUND_QUANTITY   3

Definition at line 37 of file i2psam.h.

#define SAM_DEFAULT_MAX_VER   "3.0"

Definition at line 31 of file i2psam.h.

#define SAM_DEFAULT_MIN_VER   "3.0"

Definition at line 30 of file i2psam.h.

#define SAM_DEFAULT_OUTBOUND_ALLOWZEROHOP   true

Definition at line 57 of file i2psam.h.

#define SAM_DEFAULT_OUTBOUND_BACKUPQUANTITY   1

Definition at line 55 of file i2psam.h.

#define SAM_DEFAULT_OUTBOUND_IPRESTRICTION   2

Definition at line 59 of file i2psam.h.

#define SAM_DEFAULT_OUTBOUND_LENGTH   3

Definition at line 51 of file i2psam.h.

#define SAM_DEFAULT_OUTBOUND_LENGTHVARIANCE   0

Definition at line 53 of file i2psam.h.

#define SAM_DEFAULT_OUTBOUND_PRIORITY   0

Definition at line 61 of file i2psam.h.

#define SAM_DEFAULT_OUTBOUND_QUANTITY   3

Definition at line 49 of file i2psam.h.

#define SAM_DEFAULT_PORT   7656

Definition at line 29 of file i2psam.h.

#define SAM_GENERATE_MY_DESTINATION   "TRANSIENT"

Definition at line 32 of file i2psam.h.

#define SAM_INVALID_SOCKET   (-1)

Definition at line 25 of file i2psam.h.

#define SAM_MY_NAME   "ME"

Definition at line 33 of file i2psam.h.

#define SAM_NAME_INBOUND_ALLOWZEROHOP   "inbound.allowZeroHop"

Definition at line 44 of file i2psam.h.

#define SAM_NAME_INBOUND_BACKUPQUANTITY   "inbound.backupQuantity"

Definition at line 42 of file i2psam.h.

#define SAM_NAME_INBOUND_IPRESTRICTION   "inbound.IPRestriction"

Definition at line 46 of file i2psam.h.

#define SAM_NAME_INBOUND_LENGTH   "inbound.length"

Definition at line 38 of file i2psam.h.

#define SAM_NAME_INBOUND_LENGTHVARIANCE   "inbound.lengthVariance"

Definition at line 40 of file i2psam.h.

#define SAM_NAME_INBOUND_QUANTITY   "inbound.quantity"

Definition at line 36 of file i2psam.h.

#define SAM_NAME_OUTBOUND_ALLOWZEROHOP   "outbound.allowZeroHop"

Definition at line 56 of file i2psam.h.

#define SAM_NAME_OUTBOUND_BACKUPQUANTITY   "outbound.backupQuantity"

Definition at line 54 of file i2psam.h.

#define SAM_NAME_OUTBOUND_IPRESTRICTION   "outbound.IPRestriction"

Definition at line 58 of file i2psam.h.

#define SAM_NAME_OUTBOUND_LENGTH   "outbound.length"

Definition at line 50 of file i2psam.h.

#define SAM_NAME_OUTBOUND_LENGTHVARIANCE   "outbound.lengthVariance"

Definition at line 52 of file i2psam.h.

#define SAM_NAME_OUTBOUND_PRIORITY   "outbound.priority"

Definition at line 60 of file i2psam.h.

#define SAM_NAME_OUTBOUND_QUANTITY   "outbound.quantity"

Definition at line 48 of file i2psam.h.

#define SAM_SOCKET_ERROR   (-1)

Definition at line 26 of file i2psam.h.