From 786f37040cdcb64b24eb0b437307ed5e208f717f Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sat, 17 Jan 2009 17:54:57 +0100 Subject: 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 --- include/sync.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/sync.h') 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; -- cgit v1.2.3