-updated testing new lib
authorSree Harsha Totakura <totakura@in.tum.de>
Mon, 28 May 2012 16:56:14 +0000 (16:56 +0000)
committerSree Harsha Totakura <totakura@in.tum.de>
Mon, 28 May 2012 16:56:14 +0000 (16:56 +0000)
src/include/gnunet_testing_lib-new.h

index 9d8bc364b4c40bf56f0e59a8fd0ba09d6c78ce00..46cd5a46679fdd5998ee707eed1fad7068054df9 100644 (file)
@@ -146,12 +146,12 @@ GNUNET_TESTING_release_port (struct GNUNET_TESTING_System *system,
  * by 'GNUNET_TESTING_peer_configure'.
  *
  * @param system system to use to coordinate resource usage
- * @param cfg template configuration to update
- * @return GNUNET_OK on success, GNUNET_SYSERR on error
+ * @param cfg template configuration
+ * @return the new configuration; NULL upon error;
  */
-int
+struct GNUNET_CONFIGURATION_Handle *
 GNUNET_TESTING_configuration_create (struct GNUNET_TESTING_System *system,
-                                    struct GNUNET_CONFIGURATION_Handle *cfg);
+                                    const struct GNUNET_CONFIGURATION_Handle *cfg);
 // FIXME: add dual to 'release' ports again...