| 21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
| 22 */ |
22 */ |
| 23 |
23 |
| 24 #ifndef _PURPLE_DNSSRV_H |
24 #ifndef _PURPLE_DNSSRV_H |
| 25 #define _PURPLE_DNSSRV_H |
25 #define _PURPLE_DNSSRV_H |
| 26 |
|
| 27 #ifdef __cplusplus |
|
| 28 extern "C" { |
|
| 29 #endif |
|
| 30 |
26 |
| 31 typedef struct _PurpleSrvTxtQueryData PurpleSrvTxtQueryData; |
27 typedef struct _PurpleSrvTxtQueryData PurpleSrvTxtQueryData; |
| 32 typedef struct _PurpleSrvResponse PurpleSrvResponse; |
28 typedef struct _PurpleSrvResponse PurpleSrvResponse; |
| 33 typedef struct _PurpleTxtResponse PurpleTxtResponse; |
29 typedef struct _PurpleTxtResponse PurpleTxtResponse; |
| 34 |
30 |
| 93 * |
89 * |
| 94 * @param responses A GList of PurpleTxtResponse objects. |
90 * @param responses A GList of PurpleTxtResponse objects. |
| 95 * @param data The extra data passed to purple_txt_resolve. |
91 * @param data The extra data passed to purple_txt_resolve. |
| 96 */ |
92 */ |
| 97 typedef void (*PurpleTxtCallback)(GList *responses, gpointer data); |
93 typedef void (*PurpleTxtCallback)(GList *responses, gpointer data); |
| |
94 |
| |
95 G_BEGIN_DECLS |
| 98 |
96 |
| 99 /** |
97 /** |
| 100 * Queries an SRV record. |
98 * Queries an SRV record. |
| 101 * |
99 * |
| 102 * @param account The account that the query is being done for (or NULL) |
100 * @param account The account that the query is being done for (or NULL) |