-
/*
This file is part of GNUnet.
(C) 2012, 2013 Christian Grothoff (and other contributing authors)
* - test
*/
#include "platform.h"
-#include <gnunet_util_lib.h>
-#include <gnunet_dnsparser_lib.h>
-#include <gnunet_identity_service.h>
-#include <gnunet_gnsrecord_lib.h>
-#include <gnunet_namecache_service.h>
-#include <gnunet_namestore_service.h>
+#include "gnunet_util_lib.h"
+#include "gnunet_dnsparser_lib.h"
+#include "gnunet_identity_service.h"
+#include "gnunet_gnsrecord_lib.h"
+#include "gnunet_namecache_service.h"
/**
GNUNET_SCHEDULER_shutdown ();
return;
}
+ if (NULL == name)
+ {
+ fprintf (stderr,
+ _("You must specify a name\n"));
+ return;
+ }
+
+
GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL,
&do_shutdown,
NULL);
+ ns = GNUNET_NAMECACHE_connect (cfg);
GNUNET_GNSRECORD_query_from_public_key (&pubkey,
name,
&dhash);