From db199dd2280071adafc14ff66cfa1c21399f06c2 Mon Sep 17 00:00:00 2001 From: jospaeth Date: Tue, 1 Sep 2020 19:20:07 +0200 Subject: change structure of struct GNUNET_ESCROW_Anchor encode method name and ego name in anchor string implement anchor_string_to_data and anchor_data_to_string in escrow_api.c (not plugin-specific) --- src/include/gnunet_escrow_plugin.h | 38 -------------------------------------- 1 file changed, 38 deletions(-) (limited to 'src/include/gnunet_escrow_plugin.h') diff --git a/src/include/gnunet_escrow_plugin.h b/src/include/gnunet_escrow_plugin.h index b8b88ff3f..dbdf6dce6 100644 --- a/src/include/gnunet_escrow_plugin.h +++ b/src/include/gnunet_escrow_plugin.h @@ -113,34 +113,6 @@ typedef struct GNUNET_ESCROW_Status *(*GNUNET_ESCROW_GetEscrowStatusFunction) ( struct GNUNET_IDENTITY_Ego *ego); -/** - * Function called to deserialize an escrow anchor string into a - * GNUNET_ESCROW_Anchor struct - * - * @param h the handle for the escrow component - * @param anchorString the encoded escrow anchor string - * - * @return the deserialized data packed into a GNUNET_ESCROW_Anchor struct, - * NULL if we failed to parse the string - */ -typedef struct GNUNET_ESCROW_Anchor *(*GNUNET_ESCROW_AnchorStringToDataFunction) ( - struct GNUNET_ESCROW_Handle *h, - char *anchorString); - - -/** - * Function called to serialize an escrow anchor struct into a string - * - * @param h the handle for the escrow component - * @param escrowAnchor the escrow anchor struct - * - * @return the encoded escrow anchor string - */ -typedef char *(*GNUNET_ESCROW_AnchorDataToStringFunction) ( - struct GNUNET_ESCROW_Handle *h, - struct GNUNET_ESCROW_Anchor *escrowAnchor); - - /** * Function called to cancel a plugin operation * @@ -181,16 +153,6 @@ struct GNUNET_ESCROW_KeyPluginFunctions */ GNUNET_ESCROW_GetEscrowStatusFunction get_status; - /** - * Deserialize anchor string to data - */ - GNUNET_ESCROW_AnchorStringToDataFunction anchor_string_to_data; - - /** - * Serialize anchor data to string - */ - GNUNET_ESCROW_AnchorDataToStringFunction anchor_data_to_string; - /** * Cancel plugin operation */ -- cgit v1.2.3