1 #ifndef fooannouncehfoo
2 #define fooannouncehfoo
6 typedef struct _AvahiAnnouncement AvahiAnnouncement;
11 #include "timeeventq.h"
15 AVAHI_WAITING, /* wait for other records in group */
18 } AvahiAnnouncementState;
20 struct _AvahiAnnouncement {
22 AvahiInterface *interface;
25 AvahiTimeEvent *time_event;
27 AvahiAnnouncementState state;
31 AVAHI_LLIST_FIELDS(AvahiAnnouncement, by_interface);
32 AVAHI_LLIST_FIELDS(AvahiAnnouncement, by_entry);
35 void avahi_announce_interface(AvahiServer *s, AvahiInterface *i);
36 void avahi_announce_entry(AvahiServer *s, AvahiEntry *e);
37 void avahi_announce_group(AvahiServer *s, AvahiEntryGroup *g);
39 void avahi_entry_group_check_probed(AvahiEntryGroup *g, gboolean immediately);
41 gboolean avahi_entry_registered(AvahiServer *s, AvahiEntry *e, AvahiInterface *i);
42 gboolean avahi_entry_registering(AvahiServer *s, AvahiEntry *e, AvahiInterface *i);
44 void avahi_goodbye_interface(AvahiServer *s, AvahiInterface *i, gboolean send);
45 void avahi_goodbye_entry(AvahiServer *s, AvahiEntry *e, gboolean send);
47 void avahi_goodbye_all(AvahiServer *s, gboolean send);
49 AvahiAnnouncement *avahi_get_announcement(AvahiServer *s, AvahiEntry *e, AvahiInterface *i);