|
Teonet library
0.4.7
|
Macros | |
| #define | MODULE "logging_client" |
| #define | kev ((ksnetEvMgrClass*)(ke)) |
Typedefs | |
| typedef struct teoLoggingClientSendData | teoLoggingClientSendData |
| Logging servers Maps Foreach user data. More... | |
Functions | |
| teoLoggingClientClass * | teoLoggingClientInit (void *ke) |
| Logging client initialize. More... | |
| void | teoLoggingClientDestroy (teoLoggingClientClass *lc) |
| Logging client destroy and free allocated memory. More... | |
| void | teoLoggingClientSend (void *ke, const char *message) |
| Send log data to logging servers. More... | |
Teonet logging client module
Created on May 30, 2018, 1:33 PM
| #define kev ((ksnetEvMgrClass*)(ke)) |
Referenced by teoLoggingClientInit(), and teoLoggingClientSend().
| #define MODULE "logging_client" |
Referenced by teoLoggingClientDestroy(), and teoLoggingClientInit().
| typedef struct teoLoggingClientSendData teoLoggingClientSendData |
Logging servers Maps Foreach user data.
| void teoLoggingClientDestroy | ( | teoLoggingClientClass * | lc | ) |
Logging client destroy and free allocated memory.
| ls | Pointer to teoLoggingClientClass |
References DEBUG_VV, teoLoggingClientClass::event_cb, ksnetEvMgrClass::event_cb, free(), teoLoggingClientClass::ke, ksn_puts, ksnetEvMgrClass::lc, teoLoggingClientClass::map, and MODULE.
Referenced by modules_destroy().
| teoLoggingClientClass* teoLoggingClientInit | ( | void * | ke | ) |
Logging client initialize.
| ke | Pointer to ksnetEvMgrClass |
References DEBUG, DEBUG_VV, teoLoggingClientClass::event_cb, event_cb(), teoLoggingClientClass::ke, ke, kev, ksn_puts, malloc(), teoLoggingClientClass::map, and MODULE.
Referenced by modules_init().
| void teoLoggingClientSend | ( | void * | ke, |
| const char * | message | ||
| ) |
Send log data to logging servers.
| ke | Pointer to ksnetEvMgrClass |
| message | Pointer to cstring message |
References kev, and ksnetEvMgrAsync().
Referenced by ksnet_printf().