Mercurial > pidgin.yaz
diff libpurple/dnssrv.h @ 27666:a08e84032814
merge of '2348ff22f0ff3453774b8b25b36238465580c609'
and 'e76f11543c2a4aa05bdf584f087cbe3439029661'
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Sun, 12 Jul 2009 05:43:38 +0000 |
parents | a71cc338f0fd |
children | 63cb8c4f3c66 |
line wrap: on
line diff
--- a/libpurple/dnssrv.h Sun Jul 12 05:42:40 2009 +0000 +++ b/libpurple/dnssrv.h Sun Jul 12 05:43:38 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.