Mercurial > pidgin
diff libpurple/protocols/bonjour/mdns_types.h @ 17501:c96b085ddf5c
Clean up Bonjour service publishing and improve XEP-0174 compliance.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Tue, 05 Jun 2007 22:13:10 +0000 |
parents | d7b50cac1c7a |
children | a8aa651f341f |
line wrap: on
line diff
--- a/libpurple/protocols/bonjour/mdns_types.h Tue Jun 05 21:32:28 2007 +0000 +++ b/libpurple/protocols/bonjour/mdns_types.h Tue Jun 05 22:13:10 2007 +0000 @@ -21,7 +21,7 @@ #include "account.h" #include "config.h" -#ifdef USE_BONJOUR_APPLE +#ifdef USE_BONJOUR_APPLE #include "dns_sd_proxy.h" #else /* USE_BONJOUR_HOWL */ #include <howl.h> @@ -34,10 +34,10 @@ */ typedef struct _BonjourDnsSd { -#ifdef USE_BONJOUR_APPLE +#ifdef USE_BONJOUR_APPLE DNSServiceRef advertisement; DNSServiceRef browser; - + int advertisement_fd; /* hack... windows bonjour is broken, so we have to have this */ #else /* USE_BONJOUR_HOWL */ sw_discovery session; @@ -45,20 +45,13 @@ #endif PurpleAccount *account; - const char *name; - gchar *txtvers; - gchar *version; gchar *first; gchar *last; gint port_p2pj; gchar *phsh; gchar *status; - gchar *email; gchar *vc; - gchar *jid; - gchar *AIM; gchar *msg; - GHashTable *buddies; } BonjourDnsSd; typedef enum _PublishType {