X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fnamestore%2Ftest_namestore_api_monitoring_existing.c;h=cd1838b5c649d24d7c1b092f528d799c1eacc791;hb=284cfac7a521ad275b7536ce1075f62b6e45ea44;hp=eae10e2ae8fff5b68d790d9540bb7862c5d93266;hpb=29e6158507a0758192075ac6ece7ba8e75ddc49a;p=oweals%2Fgnunet.git diff --git a/src/namestore/test_namestore_api_monitoring_existing.c b/src/namestore/test_namestore_api_monitoring_existing.c index eae10e2ae..cd1838b5c 100644 --- a/src/namestore/test_namestore_api_monitoring_existing.c +++ b/src/namestore/test_namestore_api_monitoring_existing.c @@ -59,6 +59,7 @@ struct GNUNET_NAMESTORE_QueueEntry * ns_ops[3]; static char *directory; + static void do_shutdown () { @@ -204,7 +205,20 @@ zone_proc (void *cls, else GNUNET_SCHEDULER_add_now (&end, NULL); } +} + +static void +fail_cb (void *cls) +{ + GNUNET_assert (0); +} + + +static void +sync_cb (void *cls) +{ + /* do nothing */ } @@ -240,8 +254,11 @@ put_cont (void *cls, int32_t success, const char *emsg) zm = GNUNET_NAMESTORE_zone_monitor_start (cfg, privkey, GNUNET_YES, + &fail_cb, + NULL, &zone_proc, NULL, + &sync_cb, NULL); if (NULL == zm) {