summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorlaforge <laforge>2001-06-14 19:25:25 +0000
committerlaforge <laforge>2001-06-14 19:25:25 +0000
commitefea0aa10d862a1a0e36043cfd6f712b8cd326aa (patch)
treee155ce7a225435658b3e81ab993020eb138a8f5a /include
parent9a77a6adab3957ccdc348f54e2fe6f8fe1abe8b0 (diff)
Support for logfile cycling (SIGHUP handler)
Diffstat (limited to 'include')
-rw-r--r--include/ulogd/ulogd.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/ulogd/ulogd.h b/include/ulogd/ulogd.h
index 36e6a8c..613bb69 100644
--- a/include/ulogd/ulogd.h
+++ b/include/ulogd/ulogd.h
@@ -1,6 +1,6 @@
#ifndef _ULOGD_H
#define _ULOGD_H
-/* ulogd, Version $Revision: 1.12 $
+/* ulogd, Version $Revision: 1.13 $
*
* userspace logging daemon for netfilter ULOG target
* of the linux 2.4 netfilter subsystem.
@@ -9,7 +9,7 @@
*
* this code is released under the terms of GNU GPL
*
- * $Id: ulogd.h,v 1.12 2001/02/04 13:07:22 laforge Exp $
+ * $Id: ulogd.h,v 1.13 2001/05/26 23:19:28 laforge Exp $
*/
#include <libipulog/libipulog.h>
@@ -108,6 +108,8 @@ typedef struct ulog_output {
char name[ULOGD_MAX_KEYLEN];
/* callback function */
int (*output)(ulog_iret_t *ret);
+ /* callback function for signals (SIGHUP, ..) */
+ int (*signal)(int signal);
} ulog_output_t;
/* entries of the key hash */