diff options
Diffstat (limited to 'src/escrow/plugin_escrow_anastasis.c')
-rw-r--r-- | src/escrow/plugin_escrow_anastasis.c | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/src/escrow/plugin_escrow_anastasis.c b/src/escrow/plugin_escrow_anastasis.c index f4ab4dcbe..0c96d8d8d 100644 --- a/src/escrow/plugin_escrow_anastasis.c +++ b/src/escrow/plugin_escrow_anastasis.c | |||
@@ -153,40 +153,6 @@ anastasis_get_status (struct GNUNET_ESCROW_Handle *h, | |||
153 | 153 | ||
154 | 154 | ||
155 | /** | 155 | /** |
156 | * Deserialize an escrow anchor string into a GNUNET_ESCROW_Anchor struct | ||
157 | * | ||
158 | * @param anchorString the encoded escrow anchor string | ||
159 | * | ||
160 | * @return the deserialized data packed into a GNUNET_ESCROW_Anchor struct, | ||
161 | * NULL if we failed to parse the string | ||
162 | */ | ||
163 | struct GNUNET_ESCROW_Anchor * | ||
164 | anastasis_anchor_string_to_data (struct GNUNET_ESCROW_Handle *h, | ||
165 | char *anchorString) | ||
166 | { | ||
167 | return ESCROW_anchor_string_to_data (anchorString, | ||
168 | GNUNET_ESCROW_KEY_ANASTASIS); | ||
169 | } | ||
170 | |||
171 | |||
172 | /** | ||
173 | * Serialize an escrow anchor struct into a string | ||
174 | * | ||
175 | * @param h the handle for the escrow component | ||
176 | * @param escrowAnchor the escrow anchor struct | ||
177 | * | ||
178 | * @return the encoded escrow anchor string | ||
179 | */ | ||
180 | char * | ||
181 | anastasis_anchor_data_to_string (struct GNUNET_ESCROW_Handle *h, | ||
182 | struct GNUNET_ESCROW_Anchor *escrowAnchor) | ||
183 | { | ||
184 | return ESCROW_anchor_data_to_string (escrowAnchor, | ||
185 | GNUNET_ESCROW_KEY_ANASTASIS); | ||
186 | } | ||
187 | |||
188 | |||
189 | /** | ||
190 | * Cancel an Anastasis plugin operation. | 156 | * Cancel an Anastasis plugin operation. |
191 | * | 157 | * |
192 | * @param plugin_op_wrap the plugin operation wrapper containing the operation | 158 | * @param plugin_op_wrap the plugin operation wrapper containing the operation |
@@ -227,7 +193,6 @@ libgnunet_plugin_escrow_anastasis_init (void *cls) | |||
227 | api->verify_key_escrow = &verify_anastasis_key_escrow; | 193 | api->verify_key_escrow = &verify_anastasis_key_escrow; |
228 | api->restore_key = &restore_anastasis_key_escrow; | 194 | api->restore_key = &restore_anastasis_key_escrow; |
229 | api->get_status = &anastasis_get_status; | 195 | api->get_status = &anastasis_get_status; |
230 | api->anchor_string_to_data = &anastasis_anchor_string_to_data; | ||
231 | api->cancel_plugin_operation = &cancel_anastasis_operation; | 196 | api->cancel_plugin_operation = &cancel_anastasis_operation; |
232 | 197 | ||
233 | ph.state = ESCROW_PLUGIN_STATE_INIT; | 198 | ph.state = ESCROW_PLUGIN_STATE_INIT; |