diff options
Diffstat (limited to 'src/testbed/testbed_api.h')
-rw-r--r-- | src/testbed/testbed_api.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/testbed/testbed_api.h b/src/testbed/testbed_api.h index 28a19daaf..a90acbf81 100644 --- a/src/testbed/testbed_api.h +++ b/src/testbed/testbed_api.h | |||
@@ -318,6 +318,20 @@ GNUNET_TESTBED_compress_config_ (const char *config, size_t size, | |||
318 | 318 | ||
319 | 319 | ||
320 | /** | 320 | /** |
321 | * Function to serialize and compress using zlib a configuration through a | ||
322 | * configuration handle | ||
323 | * | ||
324 | * @param cfg the configuration | ||
325 | * @param size the size of configuration when serialize. Will be set on success. | ||
326 | * @param xsize the sizeo of the compressed configuration. Will be set on success. | ||
327 | * @return the serialized and compressed configuration | ||
328 | */ | ||
329 | char * | ||
330 | GNUNET_TESTBED_compress_cfg_ (const struct GNUNET_CONFIGURATION_Handle *cfg, | ||
331 | size_t *size, size_t *xsize); | ||
332 | |||
333 | |||
334 | /** | ||
321 | * Adds an operation to the queue of operations | 335 | * Adds an operation to the queue of operations |
322 | * | 336 | * |
323 | * @param op the operation to add | 337 | * @param op the operation to add |