diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-06-23 14:22:34 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-06-23 14:22:34 +0000 |
commit | 5742938289524f4c5fba7883742e4dd69cccf11d (patch) | |
tree | e16fea8b9d778f9825f897237b0c1880305776a0 /src/include/gnunet_testing_lib.h | |
parent | f3edb5a8d6ba6f43f5df18f2e98bc1dae90c9d7a (diff) | |
download | gnunet-5742938289524f4c5fba7883742e4dd69cccf11d.tar.gz gnunet-5742938289524f4c5fba7883742e4dd69cccf11d.zip |
refactoring ARM api to use new MQ
Diffstat (limited to 'src/include/gnunet_testing_lib.h')
-rw-r--r-- | src/include/gnunet_testing_lib.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/src/include/gnunet_testing_lib.h b/src/include/gnunet_testing_lib.h index 72b5ede04..e09068444 100644 --- a/src/include/gnunet_testing_lib.h +++ b/src/include/gnunet_testing_lib.h | |||
@@ -157,9 +157,7 @@ struct GNUNET_TESTING_System * | |||
157 | GNUNET_TESTING_system_create_with_portrange (const char *testdir, | 157 | GNUNET_TESTING_system_create_with_portrange (const char *testdir, |
158 | const char *trusted_ip, | 158 | const char *trusted_ip, |
159 | const char *hostname, | 159 | const char *hostname, |
160 | const struct | 160 | const struct GNUNET_TESTING_SharedService *shared_services, |
161 | GNUNET_TESTING_SharedService * | ||
162 | shared_services, | ||
163 | uint16_t lowport, | 161 | uint16_t lowport, |
164 | uint16_t highport); | 162 | uint16_t highport); |
165 | 163 | ||
@@ -185,12 +183,12 @@ GNUNET_TESTING_system_destroy (struct GNUNET_TESTING_System *system, | |||
185 | * GNUnet source code. | 183 | * GNUnet source code. |
186 | * | 184 | * |
187 | * This is primarily a helper function used internally | 185 | * This is primarily a helper function used internally |
188 | * by 'GNUNET_TESTING_peer_configure'. | 186 | * by #GNUNET_TESTING_peer_configure(). |
189 | * | 187 | * |
190 | * @param system the testing system handle | 188 | * @param system the testing system handle |
191 | * @param key_number desired pre-created hostkey to obtain | 189 | * @param key_number desired pre-created hostkey to obtain |
192 | * @param id set to the peer's identity (hash of the public | 190 | * @param id set to the peer's identity (hash of the public |
193 | * key; if NULL, GNUNET_SYSERR is returned immediately | 191 | * key; if NULL, #GNUNET_SYSERR is returned immediately |
194 | * @return NULL on error (not enough keys) | 192 | * @return NULL on error (not enough keys) |
195 | */ | 193 | */ |
196 | struct GNUNET_CRYPTO_EddsaPrivateKey * | 194 | struct GNUNET_CRYPTO_EddsaPrivateKey * |
@@ -227,10 +225,10 @@ GNUNET_TESTING_release_port (struct GNUNET_TESTING_System *system, | |||
227 | * system. The default configuration will be available in PATHS section under | 225 | * system. The default configuration will be available in PATHS section under |
228 | * the option DEFAULTCONFIG after the call. SERVICE_HOME is also set in PATHS | 226 | * the option DEFAULTCONFIG after the call. SERVICE_HOME is also set in PATHS |
229 | * section to the temporary directory specific to this configuration. If we run | 227 | * section to the temporary directory specific to this configuration. If we run |
230 | * out of "*port" numbers, return SYSERR. | 228 | * out of "*port" numbers, return #GNUNET_SYSERR. |
231 | * | 229 | * |
232 | * This is primarily a helper function used internally | 230 | * This is primarily a helper function used internally |
233 | * by 'GNUNET_TESTING_peer_configure'. | 231 | * by #GNUNET_TESTING_peer_configure(). |
234 | * | 232 | * |
235 | * @param system system to use to coordinate resource usage | 233 | * @param system system to use to coordinate resource usage |
236 | * @param cfg template configuration to update | 234 | * @param cfg template configuration to update |
@@ -353,9 +351,9 @@ typedef void | |||
353 | * | 351 | * |
354 | * @param peer the peer to stop | 352 | * @param peer the peer to stop |
355 | * @param cb the callback to signal peer shutdown | 353 | * @param cb the callback to signal peer shutdown |
356 | * @param cb_cls closure for the above callback | 354 | * @param cb_cls closure for the @a cb |
357 | * @return GNUNET_OK upon successfully giving the request to the ARM API (this | 355 | * @return #GNUNET_OK upon successfully giving the request to the ARM API (this |
358 | * does not mean that the peer is successfully stopped); GNUNET_SYSERR | 356 | * does not mean that the peer is successfully stopped); #GNUNET_SYSERR |
359 | * upon any error. | 357 | * upon any error. |
360 | */ | 358 | */ |
361 | int | 359 | int |