Mercurial > pidgin.yaz
diff 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 |
line wrap: on
line diff
--- a/libpurple/dnssrv.h Wed Jun 10 04:42:11 2009 +0000 +++ b/libpurple/dnssrv.h Mon Jul 06 04:37:41 2009 +0000 @@ -41,15 +41,21 @@ int pref; }; +/** + * @param resp An array of PurpleSrvResponse of size results. The array + * is sorted based on the order described in the DNS SRV RFC. + * Users of this API should try each record in resp in order, + * starting at the beginning. + */ typedef void (*PurpleSrvCallback)(PurpleSrvResponse *resp, int results, gpointer data); /** * Callback that returns the data retrieved from a DNS TXT lookup. * - * @param responses A GSList of PurpleTxtResponse objects. + * @param responses A GList of PurpleTxtResponse objects. * @param data The extra data passed to purple_txt_resolve. */ -typedef void (*PurpleTxtCallback)(GSList *responses, gpointer data); +typedef void (*PurpleTxtCallback)(GList *responses, gpointer data); /** * Queries an SRV record.