env_log.h File Reference
Go to the source code of this file.
Defines |
#define | ENV_ASSERT(expr) do { if ( !(expr) ) env_assert(#expr, 0, __FILE__, __LINE__); } while(0) |
#define | ENV_ASSERT2(expr, msg) do { if ( !(expr) ) env_assert(msg, 1, __FILE__, __LINE__); } while(0) |
Typedefs |
typedef void( | env_assert_handler )(const char *what, int custom_msg, const char *where, int line_no) |
Functions |
void | env_assert (const char *what, int custom_msg, const char *where, int line_no) |
void | env_assert_set_handler (env_assert_handler __attribute__((noreturn))*handler) |
Detailed Description
Interface to syslog
Definition in file env_log.h.