More W32 resolver workarounds
[oweals/gnunet.git] / src / dht / dht_test_lib.h
index 0cf6dfac9a62decfd39687fca3775088aedb295a..bfa9c1d85a439580cfd238de11344b4ad2d620e1 100644 (file)
 #ifndef DHT_TEST_LIB_H
 #define DHT_TEST_LIB_H
 
+#ifdef __cplusplus
+extern "C"
+{
+#if 0                           /* keep Emacsens' auto-indent happy */
+}
+#endif
+#endif
+
 #include "gnunet_testbed_service.h"
 #include "gnunet_dht_service.h"
 
@@ -60,7 +68,7 @@ typedef void (*GNUNET_DHT_TEST_AppMain) (void *cls,
  * @param tmain main function to run once the testbed is ready
  * @param tmain_cls closure for 'tmain'
  */
-void 
+void
 GNUNET_DHT_TEST_run (const char *testname,
                     const char *cfgname,
                     unsigned int num_peers,
@@ -76,5 +84,12 @@ GNUNET_DHT_TEST_run (const char *testname,
 void
 GNUNET_DHT_TEST_cleanup (struct GNUNET_DHT_TEST_Context *ctx);
 
+#if 0                           /* keep Emacsens' auto-indent happy */
+{
+#endif
+#ifdef __cplusplus
+}
+#endif
 
+/* ifndef DHT_TEST_LIB_H */
 #endif