Mixe for Privacy and Anonymity in the Internet
Macros | Typedefs
StdAfx.h File Reference
#include "doxygen.h"
#include <sys/filio.h>
#include <poll.h>
#include <sys/epoll.h>
#include <sys/ioctl.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <pwd.h>
#include <sys/un.h>
#include <sys/time.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <unistd.h>
#include <stdlib.h>
#include <strings.h>
#include <syslog.h>
#include <stdarg.h>
#include <memory.h>
#include <sys/resource.h>
#include <sys/wait.h>
#include <termios.h>
#include <fnmatch.h>
#include <dirent.h>
#include <ctype.h>
#include "basetypedefs.h"
#include <assert.h>
#include <pthread.h>
#include <stdio.h>
#include <time.h>
#include <fcntl.h>
#include <limits.h>
#include <sys/stat.h>
#include <signal.h>
#include <errno.h>
#include "trio/trio.hpp"
#include "trio/triostr.hpp"
#include "popt/system.h"
#include "popt/popt.h"
#include <openssl/rsa.h>
#include <openssl/aes.h>
#include <openssl/rand.h>
#include <openssl/evp.h>
#include <openssl/x509v3.h>
#include <openssl/pkcs12.h>
#include <openssl/dsa.h>
#include <openssl/md5.h>
#include <openssl/asn1.h>
#include <openssl/ssl.h>
#include <openssl/sha.h>
#include "errorcodes.hpp"
#include "typedefs.hpp"
#include <util/XercesDefs.hpp>
#include <util/PlatformUtils.hpp>
#include <util/XMLString.hpp>
#include <util/XMLUniDefs.hpp>
#include <framework/XMLFormatter.hpp>
#include <util/TranscodingException.hpp>
#include <framework/MemBufInputSource.hpp>
#include <dom/DOM.hpp>
#include <parsers/XercesDOMParser.hpp>
#include <mysql/mysql.h>
#include <postgresql/libpq-fe.h>
#include "controlchannelids.h"
#include "gcm/gcm.h"

Go to the source code of this file.

Macros

#define MIX_VERSION   "00.12.08"
 
#define MIX_VERSION_TESTING   true
 
#define MIX_VERSION_TESTING_TEXT   "This is a testing/development version. Please do not expect it to work in a productive environment, and don't be surprised if you get unpredictive results or segmentation faults. If you don't like experiments, go and get the stable code.\n"
 
#define STR_HELPER(x)   #x
 
#define STR(x)   STR_HELPER(x)
 
#define NO_INFOSERVICE_TRHEADS
 
#define NEW_FLOW_CONTROL
 
#define NEW_CHANNEL_ENCRYPTION
 
#define LOG_COUNTRIES_INTERVALL   6
 
#define DELAY_USERS_TRAFFIC   0
 
#define DELAY_USERS_BUCKET_GROW_INTERVALL   100
 
#define DELAY_USERS_BUCKET_GROW   10
 
#define DELAY_CHANNEL_LATENCY   0
 
#define REPLAY_TIMESTAMP_PROPAGATION_INTERVALL   1
 
#define KEEP_ALIVE_TRAFFIC_RECV_WAIT_TIME   75000
 
#define KEEP_ALIVE_TRAFFIC_SEND_WAIT_TIME   65000
 
#define SSL_HACK
 
#define MAX_POLLFD   8192
 
#define CLIENTS_PER_IP   100
 
#define CHANNELS_PER_CLIENT   500
 
#define FIRST_MIX_RECEIVE_SYM_KEY_FROM_JAP_TIME_OUT   40000
 
#define LAST_MIX_TO_PROXY_CONNECT_TIMEOUT   2000
 
#define AI_LOGIN_SO_TIMEOUT   (UINT32) 10000
 
#define LAST_MIX_TO_PROXY_SEND_TIMEOUT   (UINT32)5000
 
#define MIX_TO_INFOSERVICE_TIMEOUT   30000
 
#define NUM_LOGIN_WORKER_TRHEADS   10
 
#define MAX_LOGIN_QUEUE   500
 
#define MAX_USER_SEND_QUEUE   100000
 
#define MAX_DATA_PER_CHANNEL   100000
 
#define USER_SEND_BUFFER_RESUME   10000
 
#define PAYMENT_ACCOUNT_CERT_TIMEOUT   180
 
#define CLEANUP_THREAD_SLEEP_INTERVAL   60
 
#define BALANCE_REQUEST_TIMEOUT   60
 
#define MAX_SIGNATURE_ELEMENTS   10
 
#define FLOW_CONTROL_SENDME_HARD_LIMIT   1600000
 
#define FLOW_CONTROL_SENDME_SOFT_LIMIT   800000
 
#define MAX_READ_FROM_PREV_MIX_QUEUE_SIZE   10000000
 
#define MAX_READ_FROM_NEXT_MIX_QUEUE_SIZE   10000000
 
#define MAX_MIXIN_SEND_QUEUE_SIZE   10000000
 
#define MAX_NEXT_MIX_QUEUE_SIZE   10000000
 
#define DEFAULT_INFOSERVICE   "141.76.45.37"
 
#define MIX_POOL_SIZE   10
 
#define MIX_POOL_TIMEOUT   200
 
#define DUMMY_CHANNEL   0
 
#define FM_PACKET_STATS_LOG_INTERVALL   1
 
#define LM_PACKET_STATS_LOG_INTERVALL   1
 
#define MIX_CASCADE_PROTOCOL_VERSION_0_1_2   12
 
#define MIX_CASCADE_PROTOCOL_VERSION_0_1_1   11
 
#define MIX_CASCADE_PROTOCOL_VERSION_0_1_0   10
 
#define MIX_CASCADE_PROTOCOL_VERSION_0_8   8
 
#define MIX_CASCADE_PROTOCOL_VERSION_0_7   7
 
#define MIX_CASCADE_PROTOCOL_VERSION_0_5   5
 
#define MIX_CASCADE_PROTOCOL_VERSION_0_4   4
 
#define MIX_CASCADE_PROTOCOL_VERSION_0_3   3
 
#define MIX_CASCADE_PROTOCOL_VERSION_0_2   2
 
#define MIX_CASCADE_PROTOCOL_VERSION   "0.81"
 
#define PAYMENT_VERSION   "2.0"
 
#define INCLUDE_MIDDLE_MIX
 
#define HAVE_UNIX_DOMAIN_PROTOCOL
 
#define HAVE_VSNPRINTF
 
#define HAVE_SNPRINTF
 
#define HAVE_POLL
 
#define HAVE_O_SYNC
 
#define HAVE_PTHREAD_MUTEX_INIT
 
#define HAVE_PTHREAD_COND_INIT
 
#define HAVE_SEM_INIT
 
#define HAVE_TCP_KEEPALIVE
 
#define O_BINARY   0
 
#define MAX_PATH   4096
 
#define MSG_NOSIGNAL   0
 
#define EPOLL_HANDLE   SINT32
 
#define epoll_close   close
 
#define SOCKET   int
 
#define ioctlsocket(a, b, c)   ioctl(a,b,c)
 
#define closesocket(s)   close(s)
 
#define SOCKET_ERROR   -1
 
#define INVALID_SOCKET   -1
 
#define SD_RECEIVE   0
 
#define SD_SEND   1
 
#define SD_BOTH   2
 
#define GET_NET_ERROR   (errno)
 
#define SET_NET_ERROR(x)   (errno = x)
 
#define GET_NET_ERROR_STR(x)   (errno == E_TIMEDOUT ? "Connection timed out." : (errno == E_SOCKETCLOSED ? "Socket is closed." : strerror(x)))
 
#define RESETERROR   errno=0;
 
#define GETERROR   (errno)
 
#define ERR_INTERN_TIMEDOUT   ETIMEDOUT
 
#define ERR_INTERN_CONNREFUSED   ECONNREFUSED
 
#define ERR_INTERN_WOULDBLOCK   EAGAIN
 
#define ERR_INTERN_SOCKET_CLOSED   EBADF
 
#define INADDR_NONE   -1
 
#define AF_LOCAL   AF_UNIX
 
#define MSG_DONTWAIT   0
 
#define S_IREAD   S_IRUSR
 
#define S_IWRITE   S_IWUSR
 
#define myfilewrite   write
 
#define HAVE_PTHREAD_CV
 
#define HAVE_PTHREAD_MUTEXES
 
#define HAVE_PTHREAD_SEMAPHORE
 
#define THREAD_RETURN   void*
 
#define THREAD_RETURN_ERROR   return(NULL)
 
#define THREAD_RETURN_SUCCESS   return (NULL)
 
#define ASSERT(cond, msg)
 
#define WITHOUT_TRIO
 
#define O_LARGEFILE   0
 
#define min(a, b)   (( (a) < (b) ) ? (a):(b) )
 
#define max(a, b)   (((a) > (b) ) ? (a):(b))
 
#define MY_XERCES_VERSION   "unknown"
 
#define PAYMENT_VERSION_INFO   " (payment)"
 
#define PAYMENT_COMPATIBILITY   "Payment"
 
#define DATA_RETENTION_LOG_INFO
 
#define NEW_FLOW_CONTROL_INFO   " (with new flow control)"
 
#define NEW_FLOW_CONTROL_COMPATIBILITY   "NewFlowControl"
 
#define NEW_CHANNEL_ENCRYPTION_INFO   " (with enhanced channel encryption)"
 
#define NEW_CHANNEL_ENCRYPTION_COMPATIBILITY   "NewChannelEncryption"
 
#define WITH_INTEGRITY_CHECK_INFO
 
#define WITH_INTEGRITY_CHECK_COMPATIBILITY
 
#define WITH_DELAY_CHANNELS_INFO
 
#define WITH_DELAY_USERS_INFO   " (with delay users)"
 
#define XML_LIB_VERSION   "\nUsing Xerces-C: " MY_XERCES_VERSION
 
#define MIX_VERSION_INFO   "Mix-Version: " MIX_VERSION PAYMENT_VERSION_INFO DATA_RETENTION_LOG_INFO NEW_FLOW_CONTROL_INFO NEW_CHANNEL_ENCRYPTION_INFO WITH_INTEGRITY_CHECK_INFO WITH_DELAY_CHANNELS_INFO WITH_DELAY_USERS_INFO "\nUsing: " OPENSSL_VERSION_TEXT XML_LIB_VERSION "\n"
 
#define MIX_VERSION_COMPATIBILITY   PAYMENT_COMPATIBILITY " " NEW_FLOW_CONTROL_COMPATIBILITY " " NEW_CHANNEL_ENCRYPTION_COMPATIBILITY " " WITH_INTEGRITY_CHECK_COMPATIBILITY
 
#define MAX_ACCOUNTNUMBER   999999999999ULL
 
#define MIN_ACCOUNTNUMBER   100000000000ULL
 
#define ACCOUNT_NUMBER_SIZE   12
 

Typedefs

typedef int socklen_t
 
typedef struct sockaddr SOCKADDR
 
typedef SOCKADDRLPSOCKADDR
 
typedef struct hostent HOSTENT
 

Macro Definition Documentation

◆ ACCOUNT_NUMBER_SIZE

#define ACCOUNT_NUMBER_SIZE   12

Definition at line 769 of file StdAfx.h.

◆ AF_LOCAL

#define AF_LOCAL   AF_UNIX

Definition at line 482 of file StdAfx.h.

◆ AI_LOGIN_SO_TIMEOUT

#define AI_LOGIN_SO_TIMEOUT   (UINT32) 10000

Definition at line 199 of file StdAfx.h.

◆ ASSERT

#define ASSERT (   cond,
  msg 
)

Definition at line 546 of file StdAfx.h.

◆ BALANCE_REQUEST_TIMEOUT

#define BALANCE_REQUEST_TIMEOUT   60

Definition at line 218 of file StdAfx.h.

◆ CHANNELS_PER_CLIENT

#define CHANNELS_PER_CLIENT   500

Definition at line 195 of file StdAfx.h.

◆ CLEANUP_THREAD_SLEEP_INTERVAL

#define CLEANUP_THREAD_SLEEP_INTERVAL   60

Definition at line 217 of file StdAfx.h.

◆ CLIENTS_PER_IP

#define CLIENTS_PER_IP   100

Definition at line 194 of file StdAfx.h.

◆ closesocket

#define closesocket (   s)    close(s)

Definition at line 463 of file StdAfx.h.

◆ DATA_RETENTION_LOG_INFO

#define DATA_RETENTION_LOG_INFO

Definition at line 721 of file StdAfx.h.

◆ DEFAULT_INFOSERVICE

#define DEFAULT_INFOSERVICE   "141.76.45.37"

Definition at line 240 of file StdAfx.h.

◆ DELAY_CHANNEL_LATENCY

#define DELAY_CHANNEL_LATENCY   0

Definition at line 169 of file StdAfx.h.

◆ DELAY_USERS_BUCKET_GROW

#define DELAY_USERS_BUCKET_GROW   10

Definition at line 160 of file StdAfx.h.

◆ DELAY_USERS_BUCKET_GROW_INTERVALL

#define DELAY_USERS_BUCKET_GROW_INTERVALL   100

Definition at line 159 of file StdAfx.h.

◆ DELAY_USERS_TRAFFIC

#define DELAY_USERS_TRAFFIC   0

Definition at line 154 of file StdAfx.h.

◆ DUMMY_CHANNEL

#define DUMMY_CHANNEL   0

Definition at line 246 of file StdAfx.h.

◆ epoll_close

#define epoll_close   close

Definition at line 434 of file StdAfx.h.

◆ EPOLL_HANDLE

#define EPOLL_HANDLE   SINT32

Definition at line 433 of file StdAfx.h.

◆ ERR_INTERN_CONNREFUSED

#define ERR_INTERN_CONNREFUSED   ECONNREFUSED

Definition at line 475 of file StdAfx.h.

◆ ERR_INTERN_SOCKET_CLOSED

#define ERR_INTERN_SOCKET_CLOSED   EBADF

Definition at line 477 of file StdAfx.h.

◆ ERR_INTERN_TIMEDOUT

#define ERR_INTERN_TIMEDOUT   ETIMEDOUT

Definition at line 474 of file StdAfx.h.

◆ ERR_INTERN_WOULDBLOCK

#define ERR_INTERN_WOULDBLOCK   EAGAIN

Definition at line 476 of file StdAfx.h.

◆ FIRST_MIX_RECEIVE_SYM_KEY_FROM_JAP_TIME_OUT

#define FIRST_MIX_RECEIVE_SYM_KEY_FROM_JAP_TIME_OUT   40000

Definition at line 197 of file StdAfx.h.

◆ FLOW_CONTROL_SENDME_HARD_LIMIT

#define FLOW_CONTROL_SENDME_HARD_LIMIT   1600000

Definition at line 222 of file StdAfx.h.

◆ FLOW_CONTROL_SENDME_SOFT_LIMIT

#define FLOW_CONTROL_SENDME_SOFT_LIMIT   800000

Definition at line 223 of file StdAfx.h.

◆ FM_PACKET_STATS_LOG_INTERVALL

#define FM_PACKET_STATS_LOG_INTERVALL   1

Definition at line 248 of file StdAfx.h.

◆ GET_NET_ERROR

#define GET_NET_ERROR   (errno)

Definition at line 469 of file StdAfx.h.

◆ GET_NET_ERROR_STR

#define GET_NET_ERROR_STR (   x)    (errno == E_TIMEDOUT ? "Connection timed out." : (errno == E_SOCKETCLOSED ? "Socket is closed." : strerror(x)))

Definition at line 471 of file StdAfx.h.

◆ GETERROR

#define GETERROR   (errno)

Definition at line 473 of file StdAfx.h.

◆ HAVE_O_SYNC

#define HAVE_O_SYNC

Definition at line 373 of file StdAfx.h.

◆ HAVE_POLL

#define HAVE_POLL

Definition at line 372 of file StdAfx.h.

◆ HAVE_PTHREAD_COND_INIT

#define HAVE_PTHREAD_COND_INIT

Definition at line 375 of file StdAfx.h.

◆ HAVE_PTHREAD_CV

#define HAVE_PTHREAD_CV

Definition at line 509 of file StdAfx.h.

◆ HAVE_PTHREAD_MUTEX_INIT

#define HAVE_PTHREAD_MUTEX_INIT

Definition at line 374 of file StdAfx.h.

◆ HAVE_PTHREAD_MUTEXES

#define HAVE_PTHREAD_MUTEXES

Definition at line 512 of file StdAfx.h.

◆ HAVE_PTHREAD_SEMAPHORE

#define HAVE_PTHREAD_SEMAPHORE

Definition at line 520 of file StdAfx.h.

◆ HAVE_SEM_INIT

#define HAVE_SEM_INIT

Definition at line 376 of file StdAfx.h.

◆ HAVE_SNPRINTF

#define HAVE_SNPRINTF

Definition at line 371 of file StdAfx.h.

◆ HAVE_TCP_KEEPALIVE

#define HAVE_TCP_KEEPALIVE

Definition at line 378 of file StdAfx.h.

◆ HAVE_UNIX_DOMAIN_PROTOCOL

#define HAVE_UNIX_DOMAIN_PROTOCOL

Definition at line 369 of file StdAfx.h.

◆ HAVE_VSNPRINTF

#define HAVE_VSNPRINTF

Definition at line 370 of file StdAfx.h.

◆ INADDR_NONE

#define INADDR_NONE   -1

Definition at line 479 of file StdAfx.h.

◆ INCLUDE_MIDDLE_MIX

#define INCLUDE_MIDDLE_MIX

Definition at line 276 of file StdAfx.h.

◆ INVALID_SOCKET

#define INVALID_SOCKET   -1

Definition at line 465 of file StdAfx.h.

◆ ioctlsocket

#define ioctlsocket (   a,
  b,
 
)    ioctl(a,b,c)

Definition at line 462 of file StdAfx.h.

◆ KEEP_ALIVE_TRAFFIC_RECV_WAIT_TIME

#define KEEP_ALIVE_TRAFFIC_RECV_WAIT_TIME   75000

Definition at line 178 of file StdAfx.h.

◆ KEEP_ALIVE_TRAFFIC_SEND_WAIT_TIME

#define KEEP_ALIVE_TRAFFIC_SEND_WAIT_TIME   65000

Definition at line 180 of file StdAfx.h.

◆ LAST_MIX_TO_PROXY_CONNECT_TIMEOUT

#define LAST_MIX_TO_PROXY_CONNECT_TIMEOUT   2000

Definition at line 198 of file StdAfx.h.

◆ LAST_MIX_TO_PROXY_SEND_TIMEOUT

#define LAST_MIX_TO_PROXY_SEND_TIMEOUT   (UINT32)5000

Definition at line 200 of file StdAfx.h.

◆ LM_PACKET_STATS_LOG_INTERVALL

#define LM_PACKET_STATS_LOG_INTERVALL   1

Definition at line 249 of file StdAfx.h.

◆ LOG_COUNTRIES_INTERVALL

#define LOG_COUNTRIES_INTERVALL   6

Definition at line 133 of file StdAfx.h.

◆ max

#define max (   a,
 
)    (((a) > (b) ) ? (a):(b))

Definition at line 654 of file StdAfx.h.

◆ MAX_ACCOUNTNUMBER

#define MAX_ACCOUNTNUMBER   999999999999ULL

Definition at line 767 of file StdAfx.h.

◆ MAX_DATA_PER_CHANNEL

#define MAX_DATA_PER_CHANNEL   100000

Definition at line 207 of file StdAfx.h.

◆ MAX_LOGIN_QUEUE

#define MAX_LOGIN_QUEUE   500

Definition at line 203 of file StdAfx.h.

◆ MAX_MIXIN_SEND_QUEUE_SIZE

#define MAX_MIXIN_SEND_QUEUE_SIZE   10000000

Definition at line 228 of file StdAfx.h.

◆ MAX_NEXT_MIX_QUEUE_SIZE

#define MAX_NEXT_MIX_QUEUE_SIZE   10000000

Definition at line 229 of file StdAfx.h.

◆ MAX_PATH

#define MAX_PATH   4096

Definition at line 399 of file StdAfx.h.

◆ MAX_POLLFD

#define MAX_POLLFD   8192

Definition at line 192 of file StdAfx.h.

◆ MAX_READ_FROM_NEXT_MIX_QUEUE_SIZE

#define MAX_READ_FROM_NEXT_MIX_QUEUE_SIZE   10000000

Definition at line 227 of file StdAfx.h.

◆ MAX_READ_FROM_PREV_MIX_QUEUE_SIZE

#define MAX_READ_FROM_PREV_MIX_QUEUE_SIZE   10000000

Definition at line 226 of file StdAfx.h.

◆ MAX_SIGNATURE_ELEMENTS

#define MAX_SIGNATURE_ELEMENTS   10

Definition at line 220 of file StdAfx.h.

◆ MAX_USER_SEND_QUEUE

#define MAX_USER_SEND_QUEUE   100000

Definition at line 206 of file StdAfx.h.

◆ min

#define min (   a,
 
)    (( (a) < (b) ) ? (a):(b) )

Definition at line 649 of file StdAfx.h.

◆ MIN_ACCOUNTNUMBER

#define MIN_ACCOUNTNUMBER   100000000000ULL

Definition at line 768 of file StdAfx.h.

◆ MIX_CASCADE_PROTOCOL_VERSION

#define MIX_CASCADE_PROTOCOL_VERSION   "0.81"

Definition at line 264 of file StdAfx.h.

◆ MIX_CASCADE_PROTOCOL_VERSION_0_1_0

#define MIX_CASCADE_PROTOCOL_VERSION_0_1_0   10

Definition at line 253 of file StdAfx.h.

◆ MIX_CASCADE_PROTOCOL_VERSION_0_1_1

#define MIX_CASCADE_PROTOCOL_VERSION_0_1_1   11

Definition at line 252 of file StdAfx.h.

◆ MIX_CASCADE_PROTOCOL_VERSION_0_1_2

#define MIX_CASCADE_PROTOCOL_VERSION_0_1_2   12

Definition at line 251 of file StdAfx.h.

◆ MIX_CASCADE_PROTOCOL_VERSION_0_2

#define MIX_CASCADE_PROTOCOL_VERSION_0_2   2

Definition at line 261 of file StdAfx.h.

◆ MIX_CASCADE_PROTOCOL_VERSION_0_3

#define MIX_CASCADE_PROTOCOL_VERSION_0_3   3

Definition at line 260 of file StdAfx.h.

◆ MIX_CASCADE_PROTOCOL_VERSION_0_4

#define MIX_CASCADE_PROTOCOL_VERSION_0_4   4

Definition at line 259 of file StdAfx.h.

◆ MIX_CASCADE_PROTOCOL_VERSION_0_5

#define MIX_CASCADE_PROTOCOL_VERSION_0_5   5

Definition at line 258 of file StdAfx.h.

◆ MIX_CASCADE_PROTOCOL_VERSION_0_7

#define MIX_CASCADE_PROTOCOL_VERSION_0_7   7

Definition at line 256 of file StdAfx.h.

◆ MIX_CASCADE_PROTOCOL_VERSION_0_8

#define MIX_CASCADE_PROTOCOL_VERSION_0_8   8

Definition at line 255 of file StdAfx.h.

◆ MIX_POOL_SIZE

#define MIX_POOL_SIZE   10

Definition at line 243 of file StdAfx.h.

◆ MIX_POOL_TIMEOUT

#define MIX_POOL_TIMEOUT   200

Definition at line 245 of file StdAfx.h.

◆ MIX_TO_INFOSERVICE_TIMEOUT

#define MIX_TO_INFOSERVICE_TIMEOUT   30000

Definition at line 201 of file StdAfx.h.

◆ MIX_VERSION

#define MIX_VERSION   "00.12.08"

Definition at line 36 of file StdAfx.h.

◆ MIX_VERSION_COMPATIBILITY

Definition at line 762 of file StdAfx.h.

◆ MIX_VERSION_INFO

Definition at line 761 of file StdAfx.h.

◆ MIX_VERSION_TESTING

#define MIX_VERSION_TESTING   true

Definition at line 39 of file StdAfx.h.

◆ MIX_VERSION_TESTING_TEXT

#define MIX_VERSION_TESTING_TEXT   "This is a testing/development version. Please do not expect it to work in a productive environment, and don't be surprised if you get unpredictive results or segmentation faults. If you don't like experiments, go and get the stable code.\n"

Definition at line 41 of file StdAfx.h.

◆ MSG_DONTWAIT

#define MSG_DONTWAIT   0

Definition at line 485 of file StdAfx.h.

◆ MSG_NOSIGNAL

#define MSG_NOSIGNAL   0

Definition at line 408 of file StdAfx.h.

◆ MY_XERCES_VERSION

#define MY_XERCES_VERSION   "unknown"

Definition at line 699 of file StdAfx.h.

◆ myfilewrite

#define myfilewrite   write

Definition at line 493 of file StdAfx.h.

◆ NEW_CHANNEL_ENCRYPTION

#define NEW_CHANNEL_ENCRYPTION

Definition at line 96 of file StdAfx.h.

◆ NEW_CHANNEL_ENCRYPTION_COMPATIBILITY

#define NEW_CHANNEL_ENCRYPTION_COMPATIBILITY   "NewChannelEncryption"

Definition at line 728 of file StdAfx.h.

◆ NEW_CHANNEL_ENCRYPTION_INFO

#define NEW_CHANNEL_ENCRYPTION_INFO   " (with enhanced channel encryption)"

Definition at line 727 of file StdAfx.h.

◆ NEW_FLOW_CONTROL

#define NEW_FLOW_CONTROL

Definition at line 95 of file StdAfx.h.

◆ NEW_FLOW_CONTROL_COMPATIBILITY

#define NEW_FLOW_CONTROL_COMPATIBILITY   "NewFlowControl"

Definition at line 725 of file StdAfx.h.

◆ NEW_FLOW_CONTROL_INFO

#define NEW_FLOW_CONTROL_INFO   " (with new flow control)"

Definition at line 724 of file StdAfx.h.

◆ NO_INFOSERVICE_TRHEADS

#define NO_INFOSERVICE_TRHEADS

Definition at line 76 of file StdAfx.h.

◆ NUM_LOGIN_WORKER_TRHEADS

#define NUM_LOGIN_WORKER_TRHEADS   10

Definition at line 202 of file StdAfx.h.

◆ O_BINARY

#define O_BINARY   0

Definition at line 396 of file StdAfx.h.

◆ O_LARGEFILE

#define O_LARGEFILE   0

Definition at line 635 of file StdAfx.h.

◆ PAYMENT_ACCOUNT_CERT_TIMEOUT

#define PAYMENT_ACCOUNT_CERT_TIMEOUT   180

Definition at line 216 of file StdAfx.h.

◆ PAYMENT_COMPATIBILITY

#define PAYMENT_COMPATIBILITY   "Payment"

Definition at line 712 of file StdAfx.h.

◆ PAYMENT_VERSION

#define PAYMENT_VERSION   "2.0"

Definition at line 274 of file StdAfx.h.

◆ PAYMENT_VERSION_INFO

#define PAYMENT_VERSION_INFO   " (payment)"

Definition at line 711 of file StdAfx.h.

◆ REPLAY_TIMESTAMP_PROPAGATION_INTERVALL

#define REPLAY_TIMESTAMP_PROPAGATION_INTERVALL   1

Definition at line 176 of file StdAfx.h.

◆ RESETERROR

#define RESETERROR   errno=0;

Definition at line 472 of file StdAfx.h.

◆ S_IREAD

#define S_IREAD   S_IRUSR

Definition at line 488 of file StdAfx.h.

◆ S_IWRITE

#define S_IWRITE   S_IWUSR

Definition at line 491 of file StdAfx.h.

◆ SD_BOTH

#define SD_BOTH   2

Definition at line 468 of file StdAfx.h.

◆ SD_RECEIVE

#define SD_RECEIVE   0

Definition at line 466 of file StdAfx.h.

◆ SD_SEND

#define SD_SEND   1

Definition at line 467 of file StdAfx.h.

◆ SET_NET_ERROR

#define SET_NET_ERROR (   x)    (errno = x)

Definition at line 470 of file StdAfx.h.

◆ SOCKET

#define SOCKET   int

Definition at line 460 of file StdAfx.h.

◆ SOCKET_ERROR

#define SOCKET_ERROR   -1

Definition at line 464 of file StdAfx.h.

◆ SSL_HACK

#define SSL_HACK

Definition at line 187 of file StdAfx.h.

◆ STR

#define STR (   x)    STR_HELPER(x)

Definition at line 46 of file StdAfx.h.

◆ STR_HELPER

#define STR_HELPER (   x)    #x

Definition at line 45 of file StdAfx.h.

◆ THREAD_RETURN

#define THREAD_RETURN   void*

Definition at line 540 of file StdAfx.h.

◆ THREAD_RETURN_ERROR

#define THREAD_RETURN_ERROR   return(NULL)

Definition at line 541 of file StdAfx.h.

◆ THREAD_RETURN_SUCCESS

#define THREAD_RETURN_SUCCESS   return (NULL)

Definition at line 542 of file StdAfx.h.

◆ USER_SEND_BUFFER_RESUME

#define USER_SEND_BUFFER_RESUME   10000

Definition at line 208 of file StdAfx.h.

◆ WITH_DELAY_CHANNELS_INFO

#define WITH_DELAY_CHANNELS_INFO

Definition at line 741 of file StdAfx.h.

◆ WITH_DELAY_USERS_INFO

#define WITH_DELAY_USERS_INFO   " (with delay users)"

Definition at line 745 of file StdAfx.h.

◆ WITH_INTEGRITY_CHECK_COMPATIBILITY

#define WITH_INTEGRITY_CHECK_COMPATIBILITY

Definition at line 735 of file StdAfx.h.

◆ WITH_INTEGRITY_CHECK_INFO

#define WITH_INTEGRITY_CHECK_INFO

Definition at line 734 of file StdAfx.h.

◆ WITHOUT_TRIO

#define WITHOUT_TRIO

Definition at line 552 of file StdAfx.h.

◆ XML_LIB_VERSION

#define XML_LIB_VERSION   "\nUsing Xerces-C: " MY_XERCES_VERSION

Definition at line 751 of file StdAfx.h.

Typedef Documentation

◆ HOSTENT

typedef struct hostent HOSTENT

Definition at line 459 of file StdAfx.h.

◆ LPSOCKADDR

typedef SOCKADDR* LPSOCKADDR

Definition at line 459 of file StdAfx.h.

◆ SOCKADDR

typedef struct sockaddr SOCKADDR

Definition at line 393 of file StdAfx.h.

◆ socklen_t

typedef int socklen_t

Definition at line 393 of file StdAfx.h.