From f43187377e0c89ba02ca23e88efa01bbb255e037 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 2 Aug 2005 23:57:07 +0000 Subject: * replace guchar and gint by AvahiProtocol, AvahiIfIndex at many places where it make sense * change avahi_add_{service,txt}_strlst() to copy the string list * gcc warning fixes from Ikke * limit number of DBUS connections * limit objects created by a DBUS client * limit number of clients * limit number of entries a client may create * add legal blurb to avahi-discover * remove some obsolete import prototypes from avahi-discover * don't include config.h in dbus.h * add string definitions for DBUS errors git-svn-id: file:///home/lennart/svn/public/avahi/trunk@212 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-core/server.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'avahi-core/server.h') diff --git a/avahi-core/server.h b/avahi-core/server.h index 9a1fca3..97febc5 100644 --- a/avahi-core/server.h +++ b/avahi-core/server.h @@ -55,8 +55,8 @@ struct AvahiEntry { AvahiEntryFlags flags; AvahiRecord *record; - gint interface; - guchar protocol; + AvahiIfIndex interface; + AvahiProtocol protocol; AVAHI_LLIST_FIELDS(AvahiEntry, entries); AVAHI_LLIST_FIELDS(AvahiEntry, by_key); @@ -133,7 +133,7 @@ struct AvahiServer { gboolean avahi_server_entry_match_interface(AvahiEntry *e, AvahiInterface *i); -void avahi_server_post_query(AvahiServer *s, gint interface, guchar protocol, AvahiKey *key); +void avahi_server_post_query(AvahiServer *s, AvahiIfIndex interface, AvahiProtocol protocol, AvahiKey *key); void avahi_server_prepare_response(AvahiServer *s, AvahiInterface *i, AvahiEntry *e, gboolean unicast_response, gboolean auxiliary); void avahi_server_prepare_matching_responses(AvahiServer *s, AvahiInterface *i, AvahiKey *k, gboolean unicast_response); -- cgit