changeset 11374:6d3d44c60a86

[gaim-migrate @ 13600] adding documentation committer: Tailor Script <tailor@pidgin.im>
author Thomas Butter <tbutter>
date Tue, 30 Aug 2005 17:21:07 +0000
parents c84c35ee8202
children 7e98b3bf2fdf
files src/dnssrv.h
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/dnssrv.h	Tue Aug 30 15:28:49 2005 +0000
+++ b/src/dnssrv.h	Tue Aug 30 17:21:07 2005 +0000
@@ -32,6 +32,14 @@
 
 typedef void (*SRVCallback)(struct srv_response *resp, int results);
 
+/**
+ * Queries an SRV record.
+ *
+ * @param protocol Name of the protocol (e.g. "sip")
+ * @param transport Name of the transport ("tcp" or "udp")
+ * @param domain Domainname to query (e.g. "blubb.com")
+ * @cb A callback which will be called with the results
+ */
 void gaim_srv_resolve(char *protocol, char *transport, char *domain, SRVCallback cb);
 
 #endif /* _GAIM_DNSSRV_H */