1 #ifndef fooannouncehfoo
2 #define fooannouncehfoo
6 typedef struct _flxAnnouncement flxAnnouncement;
11 #include "timeeventq.h"
15 FLX_WAITING, /* wait for other records in group */
18 } flxAnnouncementState;
20 struct _flxAnnouncement {
22 flxInterface *interface;
25 flxTimeEvent *time_event;
27 flxAnnouncementState state;
31 FLX_LLIST_FIELDS(flxAnnouncement, by_interface);
32 FLX_LLIST_FIELDS(flxAnnouncement, by_entry);
35 void flx_announce_interface(flxServer *s, flxInterface *i);
36 void flx_announce_entry(flxServer *s, flxEntry *e);
37 void flx_announce_group(flxServer *s, flxEntryGroup *g);
39 void flx_entry_group_check_probed(flxEntryGroup *g, gboolean immediately);
41 gboolean flx_entry_registered(flxServer *s, flxEntry *e, flxInterface *i);
42 gboolean flx_entry_registering(flxServer *s, flxEntry *e, flxInterface *i);
44 void flx_goodbye_interface(flxServer *s, flxInterface *i, gboolean send);
45 void flx_goodbye_entry(flxServer *s, flxEntry *e, gboolean send);
47 void flx_goodbye_all(flxServer *s, gboolean send);
49 flxAnnouncement *flx_get_announcement(flxServer *s, flxEntry *e, flxInterface *i);