C++ protection
authorLove Hörnquist Åstrand <lha@kth.se>
Sun, 22 Mar 2009 17:17:45 +0000 (17:17 +0000)
committerLove Hörnquist Åstrand <lha@kth.se>
Sun, 22 Mar 2009 17:17:45 +0000 (17:17 +0000)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24886 ec53bebd-3082-4978-b11e-865c3cabbd6b

lib/roken/resolve.h

index 6ed2dcaddaf3591c21f49ce44231418ea38dd810..c2e456a84a99787347a1761bab2a434bfe7d6600 100644 (file)
@@ -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__ */