45 #ifndef _TRAP_ERROR_H_ 46 #define _TRAP_ERROR_H_ 53 #include "../include/libtrap/trap.h" #define MAX_ERROR_MSG_BUFF_SIZE
Internal functions and macros for libtrap Verbose and debug macros from libcommlbr.
char error_msg_buffer[MAX_ERROR_MSG_BUFF_SIZE]
static int trap_errorp(trap_ctx_priv_t *ctx, const char *msg,...)
static int trap_errorf(trap_ctx_priv_t *ctx, int err_num, const char *msg,...)
#define TRAP_E_BAD_FPARAMS
Bad parameters of function.
pthread_mutex_t error_mtx
const char * trap_last_error_msg
static int trap_error(trap_ctx_priv_t *ctx, int err_num)
const char * default_err_msg[256]