aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/gnunet-namestore.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-04-17 14:42:46 +0200
committerChristian Grothoff <christian@grothoff.org>2018-04-17 14:42:46 +0200
commit7eb7bd8666aeb2e855cd22b1ea7f44b87bb60400 (patch)
tree4847832d236a874f0a8b711a038c4c2950219848 /src/namestore/gnunet-namestore.c
parent64a7c356b391016be0aa01bc25c237f59fc03a34 (diff)
downloadgnunet-7eb7bd8666aeb2e855cd22b1ea7f44b87bb60400.tar.gz
gnunet-7eb7bd8666aeb2e855cd22b1ea7f44b87bb60400.zip
use namestore API for zone import instead of using plugin directly
Diffstat (limited to 'src/namestore/gnunet-namestore.c')
-rw-r--r--src/namestore/gnunet-namestore.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/namestore/gnunet-namestore.c b/src/namestore/gnunet-namestore.c
index 2eff995e0..9a1805af4 100644
--- a/src/namestore/gnunet-namestore.c
+++ b/src/namestore/gnunet-namestore.c
@@ -394,6 +394,7 @@ display_record (void *cls,
394 struct GNUNET_TIME_Relative rt; 394 struct GNUNET_TIME_Relative rt;
395 395
396 (void) cls; 396 (void) cls;
397 (void) zone_key;
397 if ( (NULL != name) && 398 if ( (NULL != name) &&
398 (0 != strcmp (name, rname)) ) 399 (0 != strcmp (name, rname)) )
399 { 400 {
@@ -509,6 +510,7 @@ get_existing_record (void *cls,
509 struct GNUNET_GNSRECORD_Data *rde; 510 struct GNUNET_GNSRECORD_Data *rde;
510 511
511 (void) cls; 512 (void) cls;
513 (void) zone_key;
512 add_qe = NULL; 514 add_qe = NULL;
513 if (0 != strcmp (rec_name, name)) 515 if (0 != strcmp (rec_name, name))
514 { 516 {
@@ -656,6 +658,7 @@ handle_reverse_lookup (void *cls,
656 const struct GNUNET_GNSRECORD_Data *rd) 658 const struct GNUNET_GNSRECORD_Data *rd)
657{ 659{
658 (void) cls; 660 (void) cls;
661 (void) zone;
659 reverse_qe = NULL; 662 reverse_qe = NULL;
660 if (NULL == label) 663 if (NULL == label)
661 FPRINTF (stdout, 664 FPRINTF (stdout,