projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
migrate transport_core API to MQ
[oweals/gnunet.git]
/
src
/
dht
/
dht_test_lib.h
diff --git
a/src/dht/dht_test_lib.h
b/src/dht/dht_test_lib.h
index 0cf6dfac9a62decfd39687fca3775088aedb295a..0b4a51c8f09e2e4c5ea5945808c02950df0f26fc 100644
(file)
--- a/
src/dht/dht_test_lib.h
+++ b/
src/dht/dht_test_lib.h
@@
-1,6
+1,6
@@
/*
This file is part of GNUnet.
/*
This file is part of GNUnet.
- (C) 2012 Christian Grothoff (and other contributing authors)
+ Copyright (C) 2012 GNUnet e.V.
GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
@@
-14,8
+14,8
@@
You should have received a copy of the GNU General Public License
along with GNUnet; see the file COPYING. If not, write to the
You should have received a copy of the GNU General Public License
along with GNUnet; see the file COPYING. If not, write to the
- Free Software Foundation, Inc., 5
9 Temple Place - Suite 330
,
- Boston, MA 0211
1-1307
, USA.
+ Free Software Foundation, Inc., 5
1 Franklin Street, Fifth Floor
,
+ Boston, MA 0211
0-1301
, USA.
*/
/**
* @file dht/dht_test_lib.h
*/
/**
* @file dht/dht_test_lib.h
@@
-25,6
+25,14
@@
#ifndef DHT_TEST_LIB_H
#define DHT_TEST_LIB_H
#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"
#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'
*/
* @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,
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);
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
#endif