suricata
|
#include "util-error.h"
Go to the source code of this file.
Macros | |
#define | CASE_CODE(E) case E: return #E |
Functions | |
const char * | SCErrorToString (SCError err) |
Maps the error code, to its string equivalent. More... | |
Variables | |
thread_local SCError | sc_errno = SC_OK |
Error utility functions
Definition in file util-error.c.
#define CASE_CODE | ( | E | ) | case E: return #E |
Definition at line 33 of file util-error.c.
const char* SCErrorToString | ( | SCError | err | ) |
Maps the error code, to its string equivalent.
The | error code |
The | string equivalent for the error code |
Definition at line 41 of file util-error.c.
References CASE_CODE, SC_EEXIST, SC_EINVAL, SC_ELIMIT, SC_ENOENT, SC_ENOMEM, SC_ERR_MAX, and SC_OK.
Definition at line 31 of file util-error.c.
Referenced by HashListTableInit(), MemBufferCreateNew(), SCRadixAddKeyIPV4String(), SCRadixAddKeyIPV6String(), and StreamTcpReassembleRealloc().