aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-10-01 09:20:40 +0000
committerChristian Grothoff <christian@grothoff.org>2014-10-01 09:20:40 +0000
commit081437a43321f7b2cca009bbade4caf379fdb7bc (patch)
treea8dd1c9c14d5dceeffa56f6a53abcbd876f30098
parentdada32b567e03bc9d21e4d818804e3f5f20c7433 (diff)
downloadgnunet-081437a43321f7b2cca009bbade4caf379fdb7bc.tar.gz
gnunet-081437a43321f7b2cca009bbade4caf379fdb7bc.zip
-is pending is dead
-rw-r--r--doc/man/gnunet-namestore.13
-rw-r--r--src/namestore/gnunet-namestore.c9
2 files changed, 0 insertions, 12 deletions
diff --git a/doc/man/gnunet-namestore.1 b/doc/man/gnunet-namestore.1
index c77eefb8d..daed19116 100644
--- a/doc/man/gnunet-namestore.1
+++ b/doc/man/gnunet-namestore.1
@@ -46,9 +46,6 @@ Label or name of the record to add/delete/display
46.IP "\-p, \-\-public" 46.IP "\-p, \-\-public"
47Create a record that is public (shared with other users that know the label) 47Create a record that is public (shared with other users that know the label)
48.B 48.B
49.IP "\-P, \-\-pending"
50Create a record that is pending approval (stored in the namestore but unavailable for resolution to anyone)
51.B
52.IP "\-r PKEY, \-\-reverse=PKEY" 49.IP "\-r PKEY, \-\-reverse=PKEY"
53Determine our GNS name for the given public key (reverse lookup of the PKEY) in the given zone. 50Determine our GNS name for the given public key (reverse lookup of the PKEY) in the given zone.
54.B 51.B
diff --git a/src/namestore/gnunet-namestore.c b/src/namestore/gnunet-namestore.c
index c2f5941e3..a08f20c38 100644
--- a/src/namestore/gnunet-namestore.c
+++ b/src/namestore/gnunet-namestore.c
@@ -110,11 +110,6 @@ static int is_public;
110static int is_shadow; 110static int is_shadow;
111 111
112/** 112/**
113 * Is record pending approval (#GNUNET_GNSRECORD_RF_PENDING)
114 */
115static int is_pending;
116
117/**
118 * Queue entry for the 'del' operation. 113 * Queue entry for the 'del' operation.
119 */ 114 */
120static struct GNUNET_NAMESTORE_QueueEntry *del_qe; 115static struct GNUNET_NAMESTORE_QueueEntry *del_qe;
@@ -1063,7 +1058,6 @@ int
1063main (int argc, char *const *argv) 1058main (int argc, char *const *argv)
1064{ 1059{
1065 is_public = -1; 1060 is_public = -1;
1066 is_pending = -1;
1067 is_shadow = -1; 1061 is_shadow = -1;
1068 1062
1069 static const struct GNUNET_GETOPT_CommandLineOption options[] = { 1063 static const struct GNUNET_GETOPT_CommandLineOption options[] = {
@@ -1103,9 +1097,6 @@ main (int argc, char *const *argv)
1103 {'p', "public", NULL, 1097 {'p', "public", NULL,
1104 gettext_noop ("create or list public record"), 0, 1098 gettext_noop ("create or list public record"), 0,
1105 &GNUNET_GETOPT_set_one, &is_public}, 1099 &GNUNET_GETOPT_set_one, &is_public},
1106 {'P', "pending", NULL,
1107 gettext_noop ("create record that is pending approval (and thus for now inactive)"), 0,
1108 &GNUNET_GETOPT_set_one, &is_pending},
1109 {'s', "shadow", NULL, 1100 {'s', "shadow", NULL,
1110 gettext_noop ("create shadow record (only valid if all other records of the same type have expired"), 0, 1101 gettext_noop ("create shadow record (only valid if all other records of the same type have expired"), 0,
1111 &GNUNET_GETOPT_set_one, &is_shadow}, 1102 &GNUNET_GETOPT_set_one, &is_shadow},