]> git.meshlink.io Git - catta/blobdiff - avahi-core/server.h
update todo
[catta] / avahi-core / server.h
index efe8ed9a0bc39ee007d18567d5f13965537d3487..df7857e56a5c530befa104eec4f41303ca326589 100644 (file)
   USA.
 ***/
 
-#include "avahi.h"
+#include "core.h"
 #include "iface.h"
 #include "prioq.h"
 #include "llist.h"
 #include "timeeventq.h"
 #include "announce.h"
 #include "subscribe.h"
+#include "dns.h"
+#include "rrlist.h"
 
-struct _AvahiEntry {
+struct AvahiEntry {
     AvahiServer *server;
     AvahiEntryGroup *group;
 
@@ -48,7 +50,7 @@ struct _AvahiEntry {
     AVAHI_LLIST_HEAD(AvahiAnnouncement, announcements);
 };
 
-struct _AvahiEntryGroup {
+struct AvahiEntryGroup {
     AvahiServer *server;
     gboolean dead;
 
@@ -62,7 +64,7 @@ struct _AvahiEntryGroup {
     AVAHI_LLIST_HEAD(AvahiEntry, entries);
 };
 
-struct _AvahiServer {
+struct AvahiServer {
     GMainContext *context;
     AvahiInterfaceMonitor *monitor;
 
@@ -86,6 +88,8 @@ struct _AvahiServer {
     GSource *source;
 
     gboolean ignore_bad_ttl;
+
+    AvahiRecordList *record_list; /* Used for assembling responses */
 };
 
 gboolean avahi_server_entry_match_interface(AvahiEntry *e, AvahiInterface *i);