1 #ifndef fooflxserverhfoo
2 #define fooflxserverhfoo
4 typedef struct _flxServerEntry flxServerEntry;
10 #include "timeeventq.h"
12 #include "subscribe.h"
14 struct _flxServerEntry {
22 FLX_LLIST_FIELDS(flxServerEntry, entry);
23 FLX_LLIST_FIELDS(flxServerEntry, by_key);
24 FLX_LLIST_FIELDS(flxServerEntry, by_id);
26 FLX_LLIST_HEAD(flxAnnouncement, announcements);
30 GMainContext *context;
31 flxInterfaceMonitor *monitor;
35 FLX_LLIST_HEAD(flxServerEntry, entries);
36 GHashTable *rrset_by_id;
37 GHashTable *rrset_by_key;
39 FLX_LLIST_HEAD(flxSubscription, subscriptions);
40 GHashTable *subscription_hashtable;
42 flxTimeEventQueue *time_event_queue;
46 gint fd_ipv4, fd_ipv6;
48 GPollFD pollfd_ipv4, pollfd_ipv6;
53 gboolean flx_server_entry_match_interface(flxServerEntry *e, flxInterface *i);