|
Mixe for Privacy and Anonymity in the Internet
|
#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.
Typedefs | |
| typedef int | socklen_t |
| typedef struct sockaddr | SOCKADDR |
| typedef SOCKADDR * | LPSOCKADDR |
| typedef struct hostent | HOSTENT |
| #define GET_NET_ERROR_STR | ( | x | ) | (errno == E_TIMEDOUT ? "Connection timed out." : (errno == E_SOCKETCLOSED ? "Socket is closed." : strerror(x))) |
| #define MIX_VERSION_COMPATIBILITY PAYMENT_COMPATIBILITY " " NEW_FLOW_CONTROL_COMPATIBILITY " " NEW_CHANNEL_ENCRYPTION_COMPATIBILITY " " WITH_INTEGRITY_CHECK_COMPATIBILITY |
| #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_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 NEW_CHANNEL_ENCRYPTION_COMPATIBILITY "NewChannelEncryption" |
| #define NEW_CHANNEL_ENCRYPTION_INFO " (with enhanced channel encryption)" |
| #define STR | ( | x | ) | STR_HELPER(x) |
| #define XML_LIB_VERSION "\nUsing Xerces-C: " MY_XERCES_VERSION |
| typedef SOCKADDR* LPSOCKADDR |