comparison 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
comparison
equal deleted inserted replaced
27186:048bcf41deef 27666:a08e84032814
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")