Mercurial > pidgin.yaz
comparison libpurple/dnssrv.h @ 27577:6d26258e9f1d
propagate from branch 'im.pidgin.pidgin' (head ac87c285c7056f86005dc157b9870745de471f74)
to branch 'im.pidgin.cpw.darkrain42.roster' (head 976d874853ac9745edb77d3cf107b92ebc037c10)
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Mon, 06 Jul 2009 04:37:41 +0000 |
parents | a71cc338f0fd |
children | 63cb8c4f3c66 |
comparison
equal
deleted
inserted
replaced
27576:b9da56683499 | 27577:6d26258e9f1d |
---|---|
39 int port; | 39 int port; |
40 int weight; | 40 int weight; |
41 int pref; | 41 int pref; |
42 }; | 42 }; |
43 | 43 |
44 /** | |
45 * @param resp An array of PurpleSrvResponse of size results. The array | |
46 * is sorted based on the order described in the DNS SRV RFC. | |
47 * Users of this API should try each record in resp in order, | |
48 * starting at the beginning. | |
49 */ | |
44 typedef void (*PurpleSrvCallback)(PurpleSrvResponse *resp, int results, gpointer data); | 50 typedef void (*PurpleSrvCallback)(PurpleSrvResponse *resp, int results, gpointer data); |
45 | 51 |
46 /** | 52 /** |
47 * Callback that returns the data retrieved from a DNS TXT lookup. | 53 * Callback that returns the data retrieved from a DNS TXT lookup. |
48 * | 54 * |
49 * @param responses A GSList of PurpleTxtResponse objects. | 55 * @param responses A GList of PurpleTxtResponse objects. |
50 * @param data The extra data passed to purple_txt_resolve. | 56 * @param data The extra data passed to purple_txt_resolve. |
51 */ | 57 */ |
52 typedef void (*PurpleTxtCallback)(GSList *responses, gpointer data); | 58 typedef void (*PurpleTxtCallback)(GList *responses, gpointer data); |
53 | 59 |
54 /** | 60 /** |
55 * Queries an SRV record. | 61 * Queries an SRV record. |
56 * | 62 * |
57 * @param protocol Name of the protocol (e.g. "sip") | 63 * @param protocol Name of the protocol (e.g. "sip") |