From d0d8c2ef267acbf339f27cb2277ed49beeb0afbb Mon Sep 17 00:00:00 2001 From: Sree Harsha Totakura Date: Thu, 21 Feb 2013 17:06:37 +0000 Subject: send configurations of newly started slave controllers as part of controller link operations --- src/testbed/testbed_api.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/testbed/testbed_api.h') 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 @@ -317,6 +317,20 @@ GNUNET_TESTBED_compress_config_ (const char *config, size_t size, char **xconfig); +/** + * Function to serialize and compress using zlib a configuration through a + * configuration handle + * + * @param cfg the configuration + * @param size the size of configuration when serialize. Will be set on success. + * @param xsize the sizeo of the compressed configuration. Will be set on success. + * @return the serialized and compressed configuration + */ +char * +GNUNET_TESTBED_compress_cfg_ (const struct GNUNET_CONFIGURATION_Handle *cfg, + size_t *size, size_t *xsize); + + /** * Adds an operation to the queue of operations * -- cgit v1.2.3