summaryrefslogtreecommitdiffstats
path: root/include/sync.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2009-01-17 17:54:57 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2009-01-17 17:54:57 +0100
commit786f37040cdcb64b24eb0b437307ed5e208f717f (patch)
tree4441b2aa4e376c30e30a416f87e06597d87516c0 /include/sync.h
parent4ec9fc2bcceb4e609c43af1a2ecf8d1d87b55d5c (diff)
sync: add generic tx_queue for all synchronization modes
This patch adds a generic tx queue for all synchronization modes. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/sync.h')
-rw-r--r--include/sync.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/sync.h b/include/sync.h
index 9a9540c..bced1cc 100644
--- a/include/sync.h
+++ b/include/sync.h
@@ -18,8 +18,7 @@ struct sync_mode {
int (*local)(int fd, int type, void *data);
int (*recv)(const struct nethdr *net);
void (*send)(struct nethdr *net, struct cache_object *obj);
- void (*run)(fd_set *readfds);
- int (*register_fds)(struct fds *fds);
+ void (*xmit)(void);
};
extern struct sync_mode sync_alarm;