|
Mixe for Privacy and Anonymity in the Internet
|
00001 //Error constants... 00002 const SINT32 E_SUCCESS=0; 00003 #define E_UNKNOWN -1 00004 #define E_SHUTDOWN -2 // this mix has been shut down and will not restart 00005 #define E_CLOSED -3 //something which should be 'open' is in fact 'closed' 00006 #define E_UNSPECIFIED -100 // A Parameter was not specified/not set 00007 #define E_SPACE -101//there was not enough memory (or space in a buffer) 00008 #define E_QUEUEFULL -200 // If a Send Queue contains more data then a defined number 00009 #define E_AGAIN -300 //If something was'nt completed and should request again later.. 00010 #define E_TIMEDOUT -301 //An operation has timed out 00011 #define E_SOCKETCLOSED -302 //An operation which required an open socket uses a closed socket 00012 #define E_SOCKET_CREATE -307 // could not create a new socket 00013 #define E_SOCKET_LISTEN -303 //An error occurred during listen 00014 #define E_SOCKET_ACCEPT -304 //An error occurred during accept 00015 #define E_SOCKET_BIND -305 //An error occurred during bind 00016 #define E_SOCKET_LIMIT -306 //An error occurred because we run out of available sockets 00017 #define E_SOCKET_CONNECT -308 //An error occurred while trying to connect from a socket 00018 #define E_UNKNOWN_HOST -400 // A hostname could not be resolved 00019 #define E_FILE_OPEN -500 //Error in opening a file 00020 #define E_FILE_READ -501 //Error in opening a file 00021 #define E_XML_PARSE -600 //Error in parsing XML 00022 #define E_NOT_CONNECTED -700 //Something is not connected that should be 00023 // (like a TCP/IP connection or a database connection) 00024 #define E_NOT_FOUND -701 //Something was not found 00025 #define E_INVALID -800 // sth is invalid (e.g. signature verifying)
1.7.6.1