[Openvas-commits] r6721 - in trunk/openvas-libraries: . misc
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Feb 11 21:22:46 CET 2010
Author: mattm
Date: 2010-02-11 21:22:44 +0100 (Thu, 11 Feb 2010)
New Revision: 6721
Modified:
trunk/openvas-libraries/ChangeLog
trunk/openvas-libraries/misc/openvas_server.h
Log:
* omp/openvas_server.h: Add extern for C++.
Modified: trunk/openvas-libraries/ChangeLog
===================================================================
--- trunk/openvas-libraries/ChangeLog 2010-02-11 18:14:40 UTC (rev 6720)
+++ trunk/openvas-libraries/ChangeLog 2010-02-11 20:22:44 UTC (rev 6721)
@@ -1,5 +1,9 @@
2010-02-11 Matthew Mundell <matthew.mundell at intevation.de>
+ * omp/openvas_server.h: Add extern for C++.
+
+2010-02-11 Matthew Mundell <matthew.mundell at intevation.de>
+
* omp/omp.h, omp.xsl.h: Add externs for C++.
2010-02-04 Felix Wolfsteller <felix.wolfsteller at intevation.de>
Modified: trunk/openvas-libraries/misc/openvas_server.h
===================================================================
--- trunk/openvas-libraries/misc/openvas_server.h 2010-02-11 18:14:40 UTC (rev 6720)
+++ trunk/openvas-libraries/misc/openvas_server.h 2010-02-11 20:22:44 UTC (rev 6721)
@@ -34,6 +34,14 @@
#ifndef _OPENVAS_LIBRARIES_SERVER_H
#define _OPENVAS_LIBRARIES_SERVER_H
+#ifdef __cplusplus
+extern "C"
+{
+#if 0
+}
+#endif
+#endif
+
#include <gnutls/gnutls.h>
#include <netinet/ip.h>
@@ -68,4 +76,11 @@
openvas_server_session_free (gnutls_session_t,
gnutls_certificate_credentials_t);
+#if 0
+{
+#endif
+#ifdef __cplusplus
+}
+#endif
+
#endif /* not _OPENVAS_LIBRARIES_SERVER_H */
More information about the Openvas-commits
mailing list