From b234c0eeba2b5f458c17b059b06be152e751179f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sun, 22 Mar 2009 17:17:45 +0000 Subject: [PATCH] C++ protection git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24886 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/roken/resolve.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/roken/resolve.h b/lib/roken/resolve.h index 6ed2dcadd..c2e456a84 100644 --- a/lib/roken/resolve.h +++ b/lib/roken/resolve.h @@ -278,6 +278,10 @@ struct rk_dns_reply{ }; +#ifdef __cplusplus +extern "C" { +#endif + struct dns_reply* ROKEN_LIB_FUNCTION rk_dns_lookup(const char *, const char *); void ROKEN_LIB_FUNCTION @@ -289,4 +293,8 @@ const char *ROKEN_LIB_FUNCTION void ROKEN_LIB_FUNCTION rk_dns_srv_order(struct dns_reply*); +#ifdef __cplusplus +} +#endif + #endif /* __RESOLVE_H__ */