# HG changeset patch
# User Thomas Butter <tbutter>
# Date 1125422467 0
# Node ID 6d3d44c60a86f23369a5e77168770d4a0e32b85a
# Parent  c84c35ee8202059ef6434ede7ffbced4f34871e2
[gaim-migrate @ 13600]
adding documentation

committer: Tailor Script <tailor@pidgin.im>

diff -r c84c35ee8202 -r 6d3d44c60a86 src/dnssrv.h
--- 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 */