|
ekg2
GIT master
|
#include "ekg2-config.h"#include <ctype.h>#include <sys/time.h>#include <time.h>#include <stdarg.h>#include <string.h>#include "debug.h"#include "dynstuff.h"#include "plugins.h"#include "stuff.h"#include "xmalloc.h"#include "dynstuff_inline.h"
Funkcje | |
| __attribute__ ((visibility("hidden"))) | |
| static void | timers_add (struct timer *new) |
| void | timers_remove (struct timer *elem) |
| static void | binding_added_free_item (binding_added_t *data) |
| static void | bindings_destroy (void) |
| static void | bindings_added_destroy (void) |
| const char * | compile_time () |
| void | iso_to_ascii (unsigned char *buf) |
| const char * | timestamp (const char *format) |
| const char * | timestamp_time (const char *format, time_t t) |
| struct timer * | timer_add_ms (plugin_t *plugin, const char *name, unsigned int period, int persist, int(*function)(int, void *), void *data) |
| struct timer * | timer_add (plugin_t *plugin, const char *name, unsigned int period, int persist, int(*function)(int, void *), void *data) |
| int | timer_remove (plugin_t *plugin, const char *name) |
| int | isalpha_pl (unsigned char c) |
| void | debug_ext (debug_level_t level, const char *format,...) |
| void | debug (const char *format,...) |
| const char * | ekg_status_string (const int status, const int cmd) |
| char * | saprintf (const char *format,...) |
| __attribute__ | ( | (visibility("hidden")) | ) |
|
static |
|
static |
|
static |
| const char* compile_time | ( | ) |
Return compilation date, and time..
Used by /version command and ekg2 –version
| void debug | ( | const char * | format, |
| ... | |||
| ) |
| void debug_ext | ( | debug_level_t | level, |
| const char * | format, | ||
| ... | |||
| ) |
| const char* ekg_status_string | ( | const int | status, |
| const int | cmd | ||
| ) |
| int isalpha_pl | ( | unsigned char | c | ) |
| void iso_to_ascii | ( | unsigned char * | buf | ) |
| char* saprintf | ( | const char * | format, |
| ... | |||
| ) |
| struct timer* timer_add | ( | plugin_t * | plugin, |
| const char * | name, | ||
| unsigned int | period, | ||
| int | persist, | ||
| int(*)(int, void *) | function, | ||
| void * | data | ||
| ) |
| struct timer* timer_add_ms | ( | plugin_t * | plugin, |
| const char * | name, | ||
| unsigned int | period, | ||
| int | persist, | ||
| int(*)(int, void *) | function, | ||
| void * | data | ||
| ) |
| int timer_remove | ( | plugin_t * | plugin, |
| const char * | name | ||
| ) |
|
static |
| void timers_remove | ( | struct timer * | elem | ) |
| const char* timestamp | ( | const char * | format | ) |
It returns static buffer with formated current time.
| format | - format to pass to strftime() [man 3 strftime] |
| const char* timestamp_time | ( | const char * | format, |
| time_t | t | ||
| ) |
1.8.13