diff options
Diffstat (limited to 'ulogd/include/ulogd/ulogd.h')
-rw-r--r-- | ulogd/include/ulogd/ulogd.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/ulogd/include/ulogd/ulogd.h b/ulogd/include/ulogd/ulogd.h index 9e258d3..31beb29 100644 --- a/ulogd/include/ulogd/ulogd.h +++ b/ulogd/include/ulogd/ulogd.h @@ -78,11 +78,20 @@ typedef struct ulog_output { int* (*output)(ulog_iret_t *ret); } ulog_output_t; -/* public interface */ +/*********************************************************************** + * PUBLIC INTERFACE + ***********************************************************************/ + +/* register a new interpreter plugin */ void register_interpreter(ulog_interpreter_t *me); + +/* register a new output target */ void register_output(ulog_output_t *me); + +/* allocate a new ulog_iret_t */ ulog_iret_t *alloc_ret(const u_int16_t type, const char*); /* write a message to the daemons' logfile */ -void ulogd_log(int level, const char *message); +void ulogd_log(int level, const char *message, ...); + #endif |