diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/conntrackd.h | 1 | ||||
-rw-r--r-- | include/process.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/conntrackd.h b/include/conntrackd.h index 7a63f97..04dc611 100644 --- a/include/conntrackd.h +++ b/include/conntrackd.h @@ -34,6 +34,7 @@ #define STATS_QUEUE 32 /* queue stats */ #define FLUSH_INT_CACHE 33 /* flush internal cache */ #define FLUSH_EXT_CACHE 34 /* flush external cache */ +#define STATS_PROCESS 35 /* child process stats */ #define DEFAULT_CONFIGFILE "/etc/conntrackd/conntrackd.conf" #define DEFAULT_LOCKFILE "/var/lock/conntrackd.lock" diff --git a/include/process.h b/include/process.h index 9d29f22..41c7c10 100644 --- a/include/process.h +++ b/include/process.h @@ -5,6 +5,7 @@ enum process_type { CTD_PROC_ANY, /* any type */ CTD_PROC_FLUSH, /* flush process */ CTD_PROC_COMMIT, /* commit process */ + CTD_PROC_MAX }; #define CTD_PROC_F_EXCL (1 << 0) /* only one process at a time */ @@ -19,5 +20,6 @@ struct child_process { int fork_process_new(int type, int flags, void (*cb)(void *data), void *data); int fork_process_delete(int pid); +void fork_process_dump(int fd); #endif |