Mercurial > pidgin
comparison src/dnssrv.h @ 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 | 51c189755f1d |
comparison
equal
deleted
inserted
replaced
11373:c84c35ee8202 | 11374:6d3d44c60a86 |
---|---|
30 int pref; | 30 int pref; |
31 }; | 31 }; |
32 | 32 |
33 typedef void (*SRVCallback)(struct srv_response *resp, int results); | 33 typedef void (*SRVCallback)(struct srv_response *resp, int results); |
34 | 34 |
35 /** | |
36 * Queries an SRV record. | |
37 * | |
38 * @param protocol Name of the protocol (e.g. "sip") | |
39 * @param transport Name of the transport ("tcp" or "udp") | |
40 * @param domain Domainname to query (e.g. "blubb.com") | |
41 * @cb A callback which will be called with the results | |
42 */ | |
35 void gaim_srv_resolve(char *protocol, char *transport, char *domain, SRVCallback cb); | 43 void gaim_srv_resolve(char *protocol, char *transport, char *domain, SRVCallback cb); |
36 | 44 |
37 #endif /* _GAIM_DNSSRV_H */ | 45 #endif /* _GAIM_DNSSRV_H */ |