comparison libgaim/dnssrv.h @ 14926:500a8f54354e

[gaim-migrate @ 17698] Add extern "C" guards to header files which are missing it. This should fix problems similar to SF Bug #1592175. Also, while I was at it, I made the _GaimStringref definition private. It already had a warning to not use it directly, so it should really be safe to make private. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Tue, 07 Nov 2006 20:40:22 +0000
parents 9ad313800b19
children
comparison
equal deleted inserted replaced
14925:8d9a473bbab9 14926:500a8f54354e
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 */ 21 */
22 22
23 #ifndef _GAIM_DNSSRV_H 23 #ifndef _GAIM_DNSSRV_H
24 #define _GAIM_DNSSRV_H 24 #define _GAIM_DNSSRV_H
25
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
25 29
26 typedef struct _GaimSrvResponse GaimSrvResponse; 30 typedef struct _GaimSrvResponse GaimSrvResponse;
27 typedef struct _GaimSrvQueryData GaimSrvQueryData; 31 typedef struct _GaimSrvQueryData GaimSrvQueryData;
28 32
29 struct _GaimSrvResponse { 33 struct _GaimSrvResponse {
51 * 55 *
52 * @param query_data The request to cancel. 56 * @param query_data The request to cancel.
53 */ 57 */
54 void gaim_srv_cancel(GaimSrvQueryData *query_data); 58 void gaim_srv_cancel(GaimSrvQueryData *query_data);
55 59
60 #ifdef __cplusplus
61 }
62 #endif
63
56 #endif /* _GAIM_DNSSRV_H */ 64 #endif /* _GAIM_DNSSRV_H */