Go to the source code of this file.
Defines | |
#define | ARTP_ERRORS_H 1 |
Enumerations | |
enum | artp_errors { E_GENERIC_ERROR = -1, E_MEMORY_FAIL = -2, E_EMPTY_BUFFER = -3, E_FULL_BUFFER = -4, E_DEAD_SESSION = -5, E_START_THREADS = -6, E_BUF_INIT_ERROR = -7, E_OPENING_FILE = -8, E_SYNTAX_ERROR = -9, E_BAD_VALUE = -10, E_INVALID_BUFFER_ID = -11, E_NO_AVAIL_SID = -12, E_NONEST_SESSION = -13, E_SESSION_EXISTS = -14, E_PACKET_NOT_FOUND = -15, E_DUPLICITY_PACKET = -16, E_INVALID_OPTION = -17, E_INVALID_OPT_SIZE = -18, E_INVALID_OPT_VALUE = -19, E_BAD_OPT_USE = -20, E_SENDING_ERROR = -21, E_FULL_CWND = -22, E_INVALID_PARAMETER = -23, E_BAD_PARAM_VALUE = -24, E_NO_ACK = -25, E_NULL_PTR = -26, E_UNSUPPORTED_AF = -27, E_DIFF_ADDR = -28, E_BAD_DGRAM = -29, E_BIG_DGRAM = -30, E_SMALL_MSS = -31, E_PARTNER_MSS = -32, E_BAD_PACKET_TYPE = -33 } |
Functions | |
char * | artp_error_str (enum artp_errors error_code) |
ARTP
possible error codes.
|
|
Returns string describing given error. This function finds out relevant description for given ARTP error code and returns it as a string.
|