aboutsummaryrefslogtreecommitdiff
path: root/src/setup/gnunet-setup-gns-edit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/setup/gnunet-setup-gns-edit.h')
-rw-r--r--src/setup/gnunet-setup-gns-edit.h44
1 files changed, 11 insertions, 33 deletions
diff --git a/src/setup/gnunet-setup-gns-edit.h b/src/setup/gnunet-setup-gns-edit.h
index 7fd86539..4380dcbf 100644
--- a/src/setup/gnunet-setup-gns-edit.h
+++ b/src/setup/gnunet-setup-gns-edit.h
@@ -64,24 +64,9 @@ struct EditDialogContext
64{ 64{
65 65
66 /** 66 /**
67 * If a record move operation is desired, we keep these in a DLL.
68 */
69 struct EditDialogContext *next;
70
71 /**
72 * If a record move operation is desired, we keep these in a DLL.
73 */
74 struct EditDialogContext *prev;
75
76 /**
77 * Where in the tree view are we editing? 67 * Where in the tree view are we editing?
78 */ 68 */
79 GtkTreeIter it; 69 struct RecordInfo *ri;
80
81 /**
82 * Expiration time value (absolute or relative).
83 */
84 guint64 n_exp_time;
85 70
86 /** 71 /**
87 * Function to call at the end. 72 * Function to call at the end.
@@ -105,36 +90,29 @@ struct EditDialogContext
105 GtkDialog *dialog; 90 GtkDialog *dialog;
106 91
107 /** 92 /**
108 * Context for loading/generating the zone key for the target zone 93 * Name of the record.
109 * (used if the edit operation causes the record to be moved).
110 */
111 struct GNUNET_CRYPTO_RsaKeyGenerationContext *rkgc;
112
113 /**
114 * Associated namestore operation.
115 * (used if the edit operation causes the record to be moved).
116 */ 94 */
117 struct GNUNET_NAMESTORE_QueueEntry *qe; 95 gchar *name;
118 96
119 /** 97 /**
120 * Old name of the record (for deletion). 98 * Value of the record in string format.
121 */ 99 */
122 gchar *n_name; 100 gchar *n_value;
123 101
124 /** 102 /**
125 * New name. 103 * Zone into which the record should be placed.
126 */ 104 */
127 gchar *n_new_name; 105 gchar *new_zone_option;
128 106
129 /** 107 /**
130 * Value of the record in string format. 108 * Expiration time value (absolute or relative).
131 */ 109 */
132 gchar *n_value; 110 guint64 n_exp_time;
133 111
134 /** 112 /**
135 * Zone into which the record should be placed. 113 * Offset of the record we are editing in the 'rd' list of 'ri'.
136 */ 114 */
137 gchar *new_zone_option; 115 unsigned int off;
138 116
139 /** 117 /**
140 * Flag indicating if the old record was in the namestore. 118 * Flag indicating if the old record was in the namestore.