diff src/protocols/rendezvous/mdns.h @ 8629:fdff0f31002d

[gaim-migrate @ 9381] Rendezvous updates: Advertise txt stuff for Gaim; just a step toward having Gaim users show up in iChat rendezvous buddy lists. Also a fix to make away people show up as away and available people to not show up as away. No one should be using this yet. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 11 Apr 2004 03:27:11 +0000
parents 219e9638e8f3
children 7b8f2818f38a
line wrap: on
line diff
--- a/src/protocols/rendezvous/mdns.h	Sat Apr 10 20:55:58 2004 +0000
+++ b/src/protocols/rendezvous/mdns.h	Sun Apr 11 03:27:11 2004 +0000
@@ -89,6 +89,13 @@
 	void *rdata;
 } ResourceRecord;
 
+typedef struct _ResourceRecordTXTRDataNode {
+	char *name;
+	char *value;
+} ResourceRecordTXTRDataNode;
+
+typedef GSList ResourceRecordTXTRData;
+
 typedef GHashTable ResourceRecordTXT;
 
 typedef struct _ResourceRecordSRV {
@@ -146,6 +153,7 @@
 int mdns_query(int fd, const char *domain);
 
 int mdns_advertise_ptr(int fd, const char *name, const char *domain);
+int mdns_advertise_txt(int fd, const char *name, const GSList *txt);
 
 /**
  * Read a UDP packet from the given file descriptor and parse it