libpurple/dnssrv.h

changeset 32787
7072f190d6ad
parent 32557
59899e1005ab
child 35024
eb3afb7643ce
equal deleted inserted replaced
32786:fba34a7937d1 32787:7072f190d6ad
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)
182 * @param query_data The query 180 * @param query_data The query
183 * @return The query. 181 * @return The query.
184 */ 182 */
185 int purple_srv_txt_query_get_type(PurpleSrvTxtQueryData *query_data); 183 int purple_srv_txt_query_get_type(PurpleSrvTxtQueryData *query_data);
186 184
187 #ifdef __cplusplus 185 G_END_DECLS
188 }
189 #endif
190 186
191 #endif /* _PURPLE_DNSSRV_H */ 187 #endif /* _PURPLE_DNSSRV_H */
192 188

mercurial