- some func
authorMatthias Wachs <wachs@net.in.tum.de>
Tue, 21 Feb 2012 11:13:11 +0000 (11:13 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Tue, 21 Feb 2012 11:13:11 +0000 (11:13 +0000)
src/namestore/test_namestore_api.c

index c15a4e7d1827795342cfbf1e335c86a7e943ada2..16074c7cf55d3501a9ff81513614ebfcee0ff57c 100644 (file)
 
 #define VERBOSE GNUNET_EXTRA_LOGGING
 
+static struct GNUNET_NAMESTORE_Handle * nsh;
+
 static int res;
 
 static void
 run (void *cls, char *const *args, const char *cfgfile,
      const struct GNUNET_CONFIGURATION_Handle *cfg)
 {
-
+  nsh = GNUNET_NAMESTORE_connect (cfg);
+  GNUNET_break (NULL != nsh);
+  GNUNET_NAMESTORE_disconnect (nsh, GNUNET_YES);
   res = 0;
 }