diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-11-27 23:40:13 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-11-27 23:40:13 +0100 |
commit | 9aba3974d60bfbc773ac366ad6b8859a5c000377 (patch) | |
tree | 39296ebf1ff288495f1e411281bcad7ffe0f8acd /include/netlink.h | |
parent | e6832ed088eac06fee6316dd2ecb8003aa635f17 (diff) | |
download | conntrack-tools-9aba3974d60bfbc773ac366ad6b8859a5c000377.tar.gz conntrack-tools-9aba3974d60bfbc773ac366ad6b8859a5c000377.zip |
src: move callbacks to run.c for better readability
This patch is a cleanup. It moves the callbacks from netlink.c to
run.c where they are actually invoked. This is better for code
readability as I usually have to switch from run.c to netlink.c
to remember what the callbacks actually do.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/netlink.h')
-rw-r--r-- | include/netlink.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/include/netlink.h b/include/netlink.h index d13d33d..52482c1 100644 --- a/include/netlink.h +++ b/include/netlink.h @@ -6,15 +6,13 @@ struct nf_conntrack; struct nfct_handle; -int ignore_conntrack(struct nf_conntrack *ct, int userspace); +struct nfct_handle *nl_init_event_handler(void); -int nl_init_event_handler(void); +struct nfct_handle *nl_init_dump_handler(void); -int nl_init_dump_handler(void); +struct nfct_handle *nl_init_request_handler(void); -int nl_init_request_handler(void); - -int nl_init_overrun_handler(void); +struct nfct_handle *nl_init_overrun_handler(void); int nl_overrun_request_resync(void); |