summaryrefslogtreecommitdiffstats
path: root/avahi-core/server.h
diff options
context:
space:
mode:
Diffstat (limited to 'avahi-core/server.h')
-rw-r--r--avahi-core/server.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/avahi-core/server.h b/avahi-core/server.h
index 4d0e8a3..fddf17e 100644
--- a/avahi-core/server.h
+++ b/avahi-core/server.h
@@ -82,13 +82,20 @@ struct AvahiServer {
AvahiTimeEventQueue *time_event_queue;
- gchar *host_name, *host_name_fqdn, *domain;
+ gchar *host_name, *host_name_fqdn, *domain_name;
gint fd_ipv4, fd_ipv6;
GPollFD pollfd_ipv4, pollfd_ipv6;
GSource *source;
+ AvahiServerState state;
+ AvahiServerCallback callback;
+ gpointer userdata;
+
+ AvahiEntryGroup *hinfo_entry_group;
+ guint n_host_rr_pending;
+
/* Used for assembling responses */
AvahiRecordList *record_list;
};
@@ -107,4 +114,9 @@ gboolean avahi_entry_commited(AvahiEntry *e);
void avahi_server_enumerate_aux_records(AvahiServer *s, AvahiInterface *i, AvahiRecord *r, void (*callback)(AvahiServer *s, AvahiRecord *r, gboolean flush_cache, gpointer userdata), gpointer userdata);
+void avahi_host_rr_entry_group_callback(AvahiServer *s, AvahiEntryGroup *g, AvahiEntryGroupState state, void *userdata);
+
+void avahi_server_decrease_host_rr_pending(AvahiServer *s);
+void avahi_server_increase_host_rr_pending(AvahiServer *s);
+
#endif