summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorlaforge <laforge>2000-09-12 13:43:34 +0000
committerlaforge <laforge>2000-09-12 13:43:34 +0000
commit27f8e247583ba3d59af3ac475495eb5a8cedf480 (patch)
tree0779665cbf8193f020ef11508d0fa82d93204972 /include
parent22e0a4df69e4c017c1fad1e5f028219b0207264d (diff)
ulogd_log now a function
Diffstat (limited to 'include')
-rw-r--r--include/ulogd/ulogd.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/include/ulogd/ulogd.h b/include/ulogd/ulogd.h
index 9e258d3..31beb29 100644
--- a/include/ulogd/ulogd.h
+++ b/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