summaryrefslogtreecommitdiffstats
path: root/ulogd/include/ulogd
diff options
context:
space:
mode:
authorlaforge <laforge>2001-06-14 19:25:25 +0000
committerlaforge <laforge>2001-06-14 19:25:25 +0000
commit71fd5ce504ee00c96ba8033b1c54fa04614a98a6 (patch)
treecd76be0ad990eb3010583991e3da2657488b5ce2 /ulogd/include/ulogd
parent5a94632e3102bdb60db0ce863e0e01a08d02e109 (diff)
Support for logfile cycling (SIGHUP handler)
Diffstat (limited to 'ulogd/include/ulogd')
-rw-r--r--ulogd/include/ulogd/ulogd.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/ulogd/include/ulogd/ulogd.h b/ulogd/include/ulogd/ulogd.h
index 36e6a8c..613bb69 100644
--- a/ulogd/include/ulogd/ulogd.h
+++ b/ulogd/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 */