Libtrap: Internal development docs
1.16.1
|
Macros | |
#define | TRAP_E_OK 0 |
Success, no error. More... | |
#define | TRAP_E_TIMEOUT 1 |
Read or write operation timeout. More... | |
#define | TRAP_E_INITIALIZED 10 |
TRAP library already initilized. More... | |
#define | TRAP_E_BADPARAMS 11 |
Bad parameters passed to interface initializer. More... | |
#define | TRAP_E_BAD_IFC_INDEX 12 |
Interface index out of range. More... | |
#define | TRAP_E_BAD_FPARAMS 13 |
Bad parameters of function. More... | |
#define | TRAP_E_IO_ERROR 14 |
IO Error. More... | |
#define | TRAP_E_TERMINATED 15 |
Interface was terminated during reading/writing. More... | |
#define | TRAP_E_NOT_SELECTED 16 |
Interface was not selected reading/writing. More... | |
#define | TRAP_E_BAD_CERT 17 |
Wrong certificate given to TLS interface. More... | |
#define | TRAP_E_HELP 20 |
Returned by parse_parameters when help is requested. More... | |
#define | TRAP_E_FIELDS_MISMATCH 21 |
Returned when receiver fields are not subset of sender fields. More... | |
#define | TRAP_E_FIELDS_SUBSET 22 |
Returned when receivers fields are subset of senders fields and both sets are not identical. More... | |
#define | TRAP_E_FORMAT_CHANGED 23 |
Returned by trap_recv when format or format spec of the receivers interface has been changed. More... | |
#define | TRAP_E_FORMAT_MISMATCH 24 |
Returned by trap_recv when data format or data specifier of the output and input interfaces doesn't match. More... | |
#define | TRAP_E_NEGOTIATION_FAILED 25 |
Returned by trap_recv when negotiation of the output and input interfaces failed. More... | |
#define | TRAP_E_NOT_INITIALIZED 254 |
TRAP library not initilized. More... | |
#define | TRAP_E_MEMORY 255 |
Memory allocation error. More... | |
#define TRAP_E_BAD_CERT 17 |
#define TRAP_E_BADPARAMS 11 |
#define TRAP_E_FIELDS_MISMATCH 21 |
#define TRAP_E_FIELDS_SUBSET 22 |
#define TRAP_E_FORMAT_CHANGED 23 |
#define TRAP_E_FORMAT_MISMATCH 24 |
#define TRAP_E_HELP 20 |
#define TRAP_E_INITIALIZED 10 |
#define TRAP_E_NEGOTIATION_FAILED 25 |
#define TRAP_E_NOT_INITIALIZED 254 |
#define TRAP_E_NOT_SELECTED 16 |
#define TRAP_E_TERMINATED 15 |