![]() |
EM-ODP 4.4.0
Event Machine on ODP
|
#include <event_machine/api/event_machine_types.h>

Go to the source code of this file.
Typedefs | |
| typedef uint32_t | em_status_t |
| typedef enum em_status_e | em_status_e |
| typedef uint32_t | em_escope_t |
| typedef em_status_t(* | em_error_handler_t) (em_eo_t eo, em_status_t error, em_escope_t escope, va_list args) |
| typedef int(* | em_log_func_t) (em_log_level_t level, const char *fmt,...) __attribute__((format(printf |
| typedef int(*) typedef int(* | em_vlog_func_t) (em_log_level_t level, const char *fmt, va_list args) |
Enumerations | |
| enum | em_status_e { EM_ERR_BAD_ARG = 0x1 , EM_ERR_BAD_STATE = 0x2 , EM_ERR_BAD_ID = 0x3 , EM_ERR_BAD_TYPE = 0x4 , EM_ERR_BAD_CONTEXT = 0x5 , EM_ERR_BAD_POINTER = 0x6 , EM_ERR_NOT_CREATED = 0x7 , EM_ERR_NOT_FREE = 0x8 , EM_ERR_NOT_FOUND = 0x9 , EM_ERR_NOT_INITIALIZED = 0xa , EM_ERR_NOT_IMPLEMENTED = 0xb , EM_ERR_NOT_SUPPORTED = 0xc , EM_ERR_ALLOC_FAILED = 0xd , EM_ERR_OPERATION_FAILED = 0xe , EM_ERR_LIB_FAILED = 0xf , EM_ERR_TOO_LARGE = 0x10 , EM_ERR_TOO_SMALL = 0x11 , EM_ERR_EVENT_STATE = 0x12 , EM_ERR_TIMEOUT = 0x13 , EM_ERR_TOONEAR = 0x14 , EM_ERR_TOOFAR = 0x15 , EM_ERR_CANCELED = 0x16 , EM_ERR_BUSY = 0x17 , EM_ERR } |
| enum | em_log_level_t { EM_LOG_DBG , EM_LOG_PRINT , EM_LOG_ERR } |
Functions | |
| em_status_t | em_register_error_handler (em_error_handler_t handler) |
| em_status_t | em_unregister_error_handler (void) |
| void | em_error (em_status_t error, em_escope_t escope,...) |