diff src/protocols/rendezvous/mdns.h @ 10596:913ec44675c3

[gaim-migrate @ 12011] Get some rendezvous stuff out of my tree. No, you still can't get or send IMs. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 14 Feb 2005 03:08:43 +0000
parents 518455386538
children
line wrap: on
line diff
--- a/src/protocols/rendezvous/mdns.h	Mon Feb 14 03:07:06 2005 +0000
+++ b/src/protocols/rendezvous/mdns.h	Mon Feb 14 03:08:43 2005 +0000
@@ -23,6 +23,10 @@
  *
  */
 
+/*
+ * TODO: Need to document a lot of these.
+ */
+
 #ifndef _MDNS_H_
 #define _MDNS_H_
 
@@ -131,7 +135,6 @@
  */
 int mdns_socket_establish();
 
-
 /**
  * Close a multicast socket.  This also clears the MDNS
  * cache.
@@ -140,7 +143,6 @@
  */
 void mdns_socket_close(int fd);
 
-
 /**
  * Sends a multicast DNS datagram.  Generally this is called
  * by other convenience functions such as mdns_query(), however
@@ -169,6 +171,7 @@
 int mdns_advertise_a(int fd, const char *name, const unsigned char *ip);
 int mdns_advertise_null(int fd, const char *name, const char *data, unsigned short rdlength);
 int mdns_advertise_ptr(int fd, const char *name, const char *domain);
+int mdns_advertise_ptr_with_ttl(int fd, const char *name, const char *domain, int ttl);
 int mdns_advertise_txt(int fd, const char *name, const GSList *txt);
 int mdns_advertise_aaaa(int fd, const char *name, const unsigned char *ip);
 int mdns_advertise_srv(int fd, const char *name, unsigned short port, const char *target);
@@ -195,6 +198,7 @@
 ResourceRecord *mdns_copy_rr(const ResourceRecord *rr);
 
 ResourceRecordRDataTXTNode *mdns_txt_find(const GSList *ret, const char *name);
+
 GSList *mdns_txt_add(GSList *ret, const char *name, const char *value, gboolean replace);