Teonet library
0.4.7
|
Macros | |
#define | MODULE "logging_server" |
#define | kev ((ksnetEvMgrClass*)(ke)) |
Typedefs | |
typedef void(* | event_cb_t )(struct ksnetEvMgrClass *ke, ksnetEvMgrEvents event, void *data, size_t data_len, void *user_data) |
Functions | |
signed char | teoLoggingServerLogCheck (void *ke, void *log) |
teoLoggingServerClass * | teoLoggingServerInit (void *ke) |
Logging server initialize. More... | |
void | teoLoggingServerDestroy (teoLoggingServerClass *ls) |
Logging server destroy and free allocated memory. More... | |
Teonet logging server module
Created on May 30, 2018, 1:33 PM
#define kev ((ksnetEvMgrClass*)(ke)) |
Referenced by teoLoggingServerInit().
#define MODULE "logging_server" |
Referenced by teoLoggingServerDestroy(), and teoLoggingServerInit().
typedef void(* event_cb_t)(struct ksnetEvMgrClass *ke, ksnetEvMgrEvents event, void *data, size_t data_len, void *user_data) |
void teoLoggingServerDestroy | ( | teoLoggingServerClass * | ls | ) |
Logging server destroy and free allocated memory.
ls | Pointer to teoLoggingServerClass |
References DEBUG, teoLoggingServerClass::event_cb, ksnetEvMgrClass::event_cb, free(), teoLoggingServerClass::ke, ksn_puts, ksnetEvMgrClass::ls, and MODULE.
Referenced by modules_destroy().
teoLoggingServerClass* teoLoggingServerInit | ( | void * | ke | ) |
Logging server initialize.
ke | Pointer to ksnetEvMgrClass |
References DEBUG, teoLoggingServerClass::event_cb, ksnetEvMgrClass::event_cb, teoLoggingServerClass::ke, ke, kev, ksn_puts, ksnetEvMgrClass::ls, malloc(), and MODULE.
Referenced by modules_init().
signed char teoLoggingServerLogCheck | ( | void * | ke, |
void * | log | ||
) |