diff options
author | jospaeth <spaethj@in.tum.de> | 2020-08-04 09:37:38 +0200 |
---|---|---|
committer | jospaeth <spaethj@in.tum.de> | 2020-08-04 09:37:38 +0200 |
commit | 7d0910b473aff309d0ee9852d44f611cf897dbda (patch) | |
tree | b9cefdc3a02537af9ef640fd9159649964bbefa8 /src | |
parent | aaf439f8ca0dfb6ae503e3e4f7545c98f4e43d5a (diff) | |
download | gnunet-7d0910b473aff309d0ee9852d44f611cf897dbda.tar.gz gnunet-7d0910b473aff309d0ee9852d44f611cf897dbda.zip |
move definitions to correct namespace
Diffstat (limited to 'src')
-rw-r--r-- | src/escrow/escrow.h | 37 | ||||
-rw-r--r-- | src/include/gnunet_escrow_plugin.h | 37 |
2 files changed, 37 insertions, 37 deletions
diff --git a/src/escrow/escrow.h b/src/escrow/escrow.h index f6b9a6320..3c5bb68c8 100644 --- a/src/escrow/escrow.h +++ b/src/escrow/escrow.h | |||
@@ -146,4 +146,41 @@ struct ESCROW_PluginOperationWrapper | |||
146 | }; | 146 | }; |
147 | 147 | ||
148 | 148 | ||
149 | /** | ||
150 | * Wrapper for the Plugin_AnchorContinuation. | ||
151 | * | ||
152 | * As this type of function is called from the scheduler, which only takes | ||
153 | * one argument as closure, this struct is used to pass more arguments. | ||
154 | */ | ||
155 | struct ESCROW_Plugin_AnchorContinuationWrapper | ||
156 | { | ||
157 | struct GNUNET_ESCROW_Handle *h; | ||
158 | struct GNUNET_ESCROW_Anchor *escrowAnchor; | ||
159 | }; | ||
160 | |||
161 | /** | ||
162 | * Wrapper for the Plugin_EgoContinuation. | ||
163 | * | ||
164 | * As this type of function is called from the scheduler, which only takes | ||
165 | * one argument as closure, this struct is used to pass more arguments. | ||
166 | */ | ||
167 | struct ESCROW_Plugin_EgoContinuationWrapper | ||
168 | { | ||
169 | struct GNUNET_ESCROW_Handle *h; | ||
170 | const struct GNUNET_IDENTITY_Ego *ego; | ||
171 | }; | ||
172 | |||
173 | /** | ||
174 | * Wrapper for the Plugin_VerifyContinuation. | ||
175 | * | ||
176 | * As this type of function is called from the scheduler, which only takes | ||
177 | * one argument as closure, this struct is used to pass more arguments. | ||
178 | */ | ||
179 | struct ESCROW_Plugin_VerifyContinuationWrapper | ||
180 | { | ||
181 | struct GNUNET_ESCROW_Handle *h; | ||
182 | int verificationResult; | ||
183 | }; | ||
184 | |||
185 | |||
149 | #endif | 186 | #endif |
diff --git a/src/include/gnunet_escrow_plugin.h b/src/include/gnunet_escrow_plugin.h index 1e03d96a2..3cd461663 100644 --- a/src/include/gnunet_escrow_plugin.h +++ b/src/include/gnunet_escrow_plugin.h | |||
@@ -45,43 +45,6 @@ extern "C" { | |||
45 | 45 | ||
46 | 46 | ||
47 | /** | 47 | /** |
48 | * Wrapper for the Plugin_AnchorContinuation. | ||
49 | * | ||
50 | * As this type of function is called from the scheduler, which only takes | ||
51 | * one argument as closure, this struct is used to pass more arguments. | ||
52 | */ | ||
53 | struct ESCROW_Plugin_AnchorContinuationWrapper | ||
54 | { | ||
55 | struct GNUNET_ESCROW_Handle *h; | ||
56 | struct GNUNET_ESCROW_Anchor *escrowAnchor; | ||
57 | }; | ||
58 | |||
59 | /** | ||
60 | * Wrapper for the Plugin_EgoContinuation. | ||
61 | * | ||
62 | * As this type of function is called from the scheduler, which only takes | ||
63 | * one argument as closure, this struct is used to pass more arguments. | ||
64 | */ | ||
65 | struct ESCROW_Plugin_EgoContinuationWrapper | ||
66 | { | ||
67 | struct GNUNET_ESCROW_Handle *h; | ||
68 | const struct GNUNET_IDENTITY_Ego *ego; | ||
69 | }; | ||
70 | |||
71 | /** | ||
72 | * Wrapper for the Plugin_VerifyContinuation. | ||
73 | * | ||
74 | * As this type of function is called from the scheduler, which only takes | ||
75 | * one argument as closure, this struct is used to pass more arguments. | ||
76 | */ | ||
77 | struct ESCROW_Plugin_VerifyContinuationWrapper | ||
78 | { | ||
79 | struct GNUNET_ESCROW_Handle *h; | ||
80 | int verificationResult; | ||
81 | }; | ||
82 | |||
83 | |||
84 | /** | ||
85 | * Function called to start the escrow of the key | 48 | * Function called to start the escrow of the key |
86 | * | 49 | * |
87 | * @param h the handle for the escrow component | 50 | * @param h the handle for the escrow component |