diff options
Diffstat (limited to 'src/include/gnunet_escrow_plugin.h')
-rw-r--r-- | src/include/gnunet_escrow_plugin.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/include/gnunet_escrow_plugin.h b/src/include/gnunet_escrow_plugin.h index 449921a8e..9b0f0356f 100644 --- a/src/include/gnunet_escrow_plugin.h +++ b/src/include/gnunet_escrow_plugin.h | |||
@@ -50,13 +50,15 @@ extern "C" { | |||
50 | * @param h the handle for the escrow component | 50 | * @param h the handle for the escrow component |
51 | * @param ego the identity ego containing the private key | 51 | * @param ego the identity ego containing the private key |
52 | * @param cb the function called upon completion | 52 | * @param cb the function called upon completion |
53 | * @param op_id unique ID of the respective ESCROW_Operation | ||
53 | * | 54 | * |
54 | * @return a wrapper for the plugin operation | 55 | * @return a wrapper for the plugin operation |
55 | */ | 56 | */ |
56 | typedef struct ESCROW_PluginOperationWrapper *(*GNUNET_ESCROW_StartKeyEscrowFunction) ( | 57 | typedef struct ESCROW_PluginOperationWrapper *(*GNUNET_ESCROW_StartKeyEscrowFunction) ( |
57 | struct GNUNET_ESCROW_Handle *h, | 58 | struct GNUNET_ESCROW_Handle *h, |
58 | const struct GNUNET_IDENTITY_Ego *ego, | 59 | const struct GNUNET_IDENTITY_Ego *ego, |
59 | GNUNET_SCHEDULER_TaskCallback cb); | 60 | GNUNET_SCHEDULER_TaskCallback cb, |
61 | uint32_t op_id); | ||
60 | 62 | ||
61 | /** | 63 | /** |
62 | * Function called to verify the escrow of the key | 64 | * Function called to verify the escrow of the key |
@@ -65,6 +67,7 @@ typedef struct ESCROW_PluginOperationWrapper *(*GNUNET_ESCROW_StartKeyEscrowFunc | |||
65 | * @param ego the identity ego containing the private key | 67 | * @param ego the identity ego containing the private key |
66 | * @param escrowAnchor the escrow anchor needed to restore the key | 68 | * @param escrowAnchor the escrow anchor needed to restore the key |
67 | * @param cb the function called upon completion | 69 | * @param cb the function called upon completion |
70 | * @param op_id unique ID of the respective ESCROW_Operation | ||
68 | * | 71 | * |
69 | * @return a wrapper for the plugin operation | 72 | * @return a wrapper for the plugin operation |
70 | */ | 73 | */ |
@@ -72,7 +75,8 @@ typedef struct ESCROW_PluginOperationWrapper *(*GNUNET_ESCROW_VerifyKeyEscrowFun | |||
72 | struct GNUNET_ESCROW_Handle *h, | 75 | struct GNUNET_ESCROW_Handle *h, |
73 | const struct GNUNET_IDENTITY_Ego *ego, | 76 | const struct GNUNET_IDENTITY_Ego *ego, |
74 | struct GNUNET_ESCROW_Anchor *escrowAnchor, | 77 | struct GNUNET_ESCROW_Anchor *escrowAnchor, |
75 | GNUNET_SCHEDULER_TaskCallback cb); | 78 | GNUNET_SCHEDULER_TaskCallback cb, |
79 | uint32_t op_id); | ||
76 | 80 | ||
77 | /** | 81 | /** |
78 | * Function called to restore a key from an escrow | 82 | * Function called to restore a key from an escrow |
@@ -81,6 +85,7 @@ typedef struct ESCROW_PluginOperationWrapper *(*GNUNET_ESCROW_VerifyKeyEscrowFun | |||
81 | * @param escrowAnchor the escrow anchor needed to restore the key | 85 | * @param escrowAnchor the escrow anchor needed to restore the key |
82 | * @param egoName the name of the ego to restore | 86 | * @param egoName the name of the ego to restore |
83 | * @param cb the function called upon completion | 87 | * @param cb the function called upon completion |
88 | * @param op_id unique ID of the respective ESCROW_Operation | ||
84 | * | 89 | * |
85 | * @return a wrapper for the plugin operation | 90 | * @return a wrapper for the plugin operation |
86 | */ | 91 | */ |
@@ -88,7 +93,8 @@ typedef struct ESCROW_PluginOperationWrapper *(*GNUNET_ESCROW_RestoreKeyFunction | |||
88 | struct GNUNET_ESCROW_Handle *h, | 93 | struct GNUNET_ESCROW_Handle *h, |
89 | struct GNUNET_ESCROW_Anchor *escrowAnchor, | 94 | struct GNUNET_ESCROW_Anchor *escrowAnchor, |
90 | char *egoName, | 95 | char *egoName, |
91 | GNUNET_SCHEDULER_TaskCallback cb); | 96 | GNUNET_SCHEDULER_TaskCallback cb, |
97 | uint32_t op_id); | ||
92 | 98 | ||
93 | 99 | ||
94 | /** | 100 | /** |