aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2019-05-02 11:27:09 +0200
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2019-05-02 11:27:09 +0200
commit70824dc0035428da3ec00ef7e6aca48eb1302527 (patch)
treee3f59870cdfa2c5491da625ee5c6938c64281e52 /src/include
parent8dde46a0133e95c9fa2ba0b525b5d1ebbc75ccec (diff)
downloadgnunet-70824dc0035428da3ec00ef7e6aca48eb1302527.tar.gz
gnunet-70824dc0035428da3ec00ef7e6aca48eb1302527.zip
RECLAIM: cleanup, comments
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_reclaim_attribute_lib.h103
-rw-r--r--src/include/gnunet_reclaim_attribute_plugin.h47
-rw-r--r--src/include/gnunet_reclaim_service.h26
3 files changed, 106 insertions, 70 deletions
diff --git a/src/include/gnunet_reclaim_attribute_lib.h b/src/include/gnunet_reclaim_attribute_lib.h
index db009da3f..e96937ea8 100644
--- a/src/include/gnunet_reclaim_attribute_lib.h
+++ b/src/include/gnunet_reclaim_attribute_lib.h
@@ -24,16 +24,15 @@
24 * @file 24 * @file
25 * Identity attribute definitions 25 * Identity attribute definitions
26 * 26 *
27 * @defgroup identity-provider Identity Provider service 27 * @defgroup reclaim-attribute reclaim attributes
28 * @{ 28 * @{
29 */ 29 */
30#ifndef GNUNET_RECLAIM_ATTRIBUTE_LIB_H 30#ifndef GNUNET_RECLAIM_ATTRIBUTE_LIB_H
31#define GNUNET_RECLAIM_ATTRIBUTE_LIB_H 31#define GNUNET_RECLAIM_ATTRIBUTE_LIB_H
32 32
33#ifdef __cplusplus 33#ifdef __cplusplus
34extern "C" 34extern "C" {
35{ 35#if 0 /* keep Emacsens' auto-indent happy */
36#if 0 /* keep Emacsens' auto-indent happy */
37} 36}
38#endif 37#endif
39#endif 38#endif
@@ -52,7 +51,6 @@ extern "C"
52#define GNUNET_RECLAIM_ATTRIBUTE_TYPE_STRING 1 51#define GNUNET_RECLAIM_ATTRIBUTE_TYPE_STRING 1
53 52
54 53
55
56/** 54/**
57 * An attribute. 55 * An attribute.
58 */ 56 */
@@ -76,7 +74,7 @@ struct GNUNET_RECLAIM_ATTRIBUTE_Claim
76 * The name of the attribute. Note "name" must never be individually 74 * The name of the attribute. Note "name" must never be individually
77 * free'd 75 * free'd
78 */ 76 */
79 const char* name; 77 const char *name;
80 78
81 /** 79 /**
82 * Number of bytes in @e data. 80 * Number of bytes in @e data.
@@ -89,9 +87,12 @@ struct GNUNET_RECLAIM_ATTRIBUTE_Claim
89 * existing data area. 87 * existing data area.
90 */ 88 */
91 const void *data; 89 const void *data;
92
93}; 90};
94 91
92
93/**
94 * A list of GNUNET_RECLAIM_ATTRIBUTE_Claim structures.
95 */
95struct GNUNET_RECLAIM_ATTRIBUTE_ClaimList 96struct GNUNET_RECLAIM_ATTRIBUTE_ClaimList
96{ 97{
97 /** 98 /**
@@ -105,6 +106,7 @@ struct GNUNET_RECLAIM_ATTRIBUTE_ClaimList
105 struct GNUNET_RECLAIM_ATTRIBUTE_ClaimListEntry *list_tail; 106 struct GNUNET_RECLAIM_ATTRIBUTE_ClaimListEntry *list_tail;
106}; 107};
107 108
109
108struct GNUNET_RECLAIM_ATTRIBUTE_ClaimListEntry 110struct GNUNET_RECLAIM_ATTRIBUTE_ClaimListEntry
109{ 111{
110 /** 112 /**
@@ -123,6 +125,7 @@ struct GNUNET_RECLAIM_ATTRIBUTE_ClaimListEntry
123 struct GNUNET_RECLAIM_ATTRIBUTE_Claim *claim; 125 struct GNUNET_RECLAIM_ATTRIBUTE_Claim *claim;
124}; 126};
125 127
128
126/** 129/**
127 * Create a new attribute claim. 130 * Create a new attribute claim.
128 * 131 *
@@ -133,9 +136,9 @@ struct GNUNET_RECLAIM_ATTRIBUTE_ClaimListEntry
133 * @return the new attribute 136 * @return the new attribute
134 */ 137 */
135struct GNUNET_RECLAIM_ATTRIBUTE_Claim * 138struct GNUNET_RECLAIM_ATTRIBUTE_Claim *
136GNUNET_RECLAIM_ATTRIBUTE_claim_new (const char* attr_name, 139GNUNET_RECLAIM_ATTRIBUTE_claim_new (const char *attr_name,
137 uint32_t type, 140 uint32_t type,
138 const void* data, 141 const void *data,
139 size_t data_size); 142 size_t data_size);
140 143
141 144
@@ -143,57 +146,73 @@ GNUNET_RECLAIM_ATTRIBUTE_claim_new (const char* attr_name,
143 * Get required size for serialization buffer 146 * Get required size for serialization buffer
144 * 147 *
145 * @param attrs the attribute list to serialize 148 * @param attrs the attribute list to serialize
146 *
147 * @return the required buffer size 149 * @return the required buffer size
148 */ 150 */
149size_t 151size_t
150GNUNET_RECLAIM_ATTRIBUTE_list_serialize_get_size (const struct GNUNET_RECLAIM_ATTRIBUTE_ClaimList *attrs); 152GNUNET_RECLAIM_ATTRIBUTE_list_serialize_get_size (
153 const struct GNUNET_RECLAIM_ATTRIBUTE_ClaimList *attrs);
154
151 155
156/**
157 * Destroy claim list
158 *
159 * @param attrs list to destroy
160 */
152void 161void
153GNUNET_RECLAIM_ATTRIBUTE_list_destroy (struct GNUNET_RECLAIM_ATTRIBUTE_ClaimList *attrs); 162GNUNET_RECLAIM_ATTRIBUTE_list_destroy (
163 struct GNUNET_RECLAIM_ATTRIBUTE_ClaimList *attrs);
164
154 165
166/**
167 * Add a new attribute to a claim list
168 *
169 * @param attr_name the name of the new attribute claim
170 * @param type the type of the claim
171 * @param data claim payload
172 * @param data_size claim payload size
173 */
155void 174void
156GNUNET_RECLAIM_ATTRIBUTE_list_add (struct GNUNET_RECLAIM_ATTRIBUTE_ClaimList *attrs, 175GNUNET_RECLAIM_ATTRIBUTE_list_add (
157 const char* attr_name, 176 struct GNUNET_RECLAIM_ATTRIBUTE_ClaimList *attrs,
158 uint32_t type, 177 const char *attr_name,
159 const void* data, 178 uint32_t type,
160 size_t data_size); 179 const void *data,
180 size_t data_size);
181
161 182
162/** 183/**
163 * Serialize an attribute list 184 * Serialize an attribute list
164 * 185 *
165 * @param attrs the attribute list to serialize 186 * @param attrs the attribute list to serialize
166 * @param result the serialized attribute 187 * @param result the serialized attribute
167 *
168 * @return length of serialized data 188 * @return length of serialized data
169 */ 189 */
170size_t 190size_t
171GNUNET_RECLAIM_ATTRIBUTE_list_serialize (const struct GNUNET_RECLAIM_ATTRIBUTE_ClaimList *attrs, 191GNUNET_RECLAIM_ATTRIBUTE_list_serialize (
172 char *result); 192 const struct GNUNET_RECLAIM_ATTRIBUTE_ClaimList *attrs,
193 char *result);
194
173 195
174/** 196/**
175 * Deserialize an attribute list 197 * Deserialize an attribute list
176 * 198 *
177 * @param data the serialized attribute list 199 * @param data the serialized attribute list
178 * @param data_size the length of the serialized data 200 * @param data_size the length of the serialized data
179 *
180 * @return a GNUNET_IDENTITY_PROVIDER_AttributeList, must be free'd by caller 201 * @return a GNUNET_IDENTITY_PROVIDER_AttributeList, must be free'd by caller
181 */ 202 */
182struct GNUNET_RECLAIM_ATTRIBUTE_ClaimList * 203struct GNUNET_RECLAIM_ATTRIBUTE_ClaimList *
183GNUNET_RECLAIM_ATTRIBUTE_list_deserialize (const char* data, 204GNUNET_RECLAIM_ATTRIBUTE_list_deserialize (const char *data, size_t data_size);
184 size_t data_size);
185 205
186 206
187/** 207/**
188 * Get required size for serialization buffer 208 * Get required size for serialization buffer
189 * 209 *
190 * @param attr the attribute to serialize 210 * @param attr the attribute to serialize
191 *
192 * @return the required buffer size 211 * @return the required buffer size
193 */ 212 */
194size_t 213size_t
195GNUNET_RECLAIM_ATTRIBUTE_serialize_get_size (const struct GNUNET_RECLAIM_ATTRIBUTE_Claim *attr); 214GNUNET_RECLAIM_ATTRIBUTE_serialize_get_size (
196 215 const struct GNUNET_RECLAIM_ATTRIBUTE_Claim *attr);
197 216
198 217
199/** 218/**
@@ -201,12 +220,13 @@ GNUNET_RECLAIM_ATTRIBUTE_serialize_get_size (const struct GNUNET_RECLAIM_ATTRIBU
201 * 220 *
202 * @param attr the attribute to serialize 221 * @param attr the attribute to serialize
203 * @param result the serialized attribute 222 * @param result the serialized attribute
204 *
205 * @return length of serialized data 223 * @return length of serialized data
206 */ 224 */
207size_t 225size_t
208GNUNET_RECLAIM_ATTRIBUTE_serialize (const struct GNUNET_RECLAIM_ATTRIBUTE_Claim *attr, 226GNUNET_RECLAIM_ATTRIBUTE_serialize (
209 char *result); 227 const struct GNUNET_RECLAIM_ATTRIBUTE_Claim *attr,
228 char *result);
229
210 230
211/** 231/**
212 * Deserialize an attribute 232 * Deserialize an attribute
@@ -217,11 +237,18 @@ GNUNET_RECLAIM_ATTRIBUTE_serialize (const struct GNUNET_RECLAIM_ATTRIBUTE_Claim
217 * @return a GNUNET_IDENTITY_PROVIDER_Attribute, must be free'd by caller 237 * @return a GNUNET_IDENTITY_PROVIDER_Attribute, must be free'd by caller
218 */ 238 */
219struct GNUNET_RECLAIM_ATTRIBUTE_Claim * 239struct GNUNET_RECLAIM_ATTRIBUTE_Claim *
220GNUNET_RECLAIM_ATTRIBUTE_deserialize (const char* data, 240GNUNET_RECLAIM_ATTRIBUTE_deserialize (const char *data, size_t data_size);
221 size_t data_size); 241
242
243/**
244 * Make a (deep) copy of a claim list
245 * @param attrs claim list to copy
246 * @return copied claim list
247 */
248struct GNUNET_RECLAIM_ATTRIBUTE_ClaimList *
249GNUNET_RECLAIM_ATTRIBUTE_list_dup (
250 const struct GNUNET_RECLAIM_ATTRIBUTE_ClaimList *attrs);
222 251
223struct GNUNET_RECLAIM_ATTRIBUTE_ClaimList*
224GNUNET_RECLAIM_ATTRIBUTE_list_dup (const struct GNUNET_RECLAIM_ATTRIBUTE_ClaimList *attrs);
225 252
226/** 253/**
227 * Convert a type name to the corresponding number 254 * Convert a type name to the corresponding number
@@ -248,6 +275,7 @@ GNUNET_RECLAIM_ATTRIBUTE_string_to_value (uint32_t type,
248 void **data, 275 void **data,
249 size_t *data_size); 276 size_t *data_size);
250 277
278
251/** 279/**
252 * Convert the 'claim' of an attribute to a string 280 * Convert the 'claim' of an attribute to a string
253 * 281 *
@@ -258,20 +286,21 @@ GNUNET_RECLAIM_ATTRIBUTE_string_to_value (uint32_t type,
258 */ 286 */
259char * 287char *
260GNUNET_RECLAIM_ATTRIBUTE_value_to_string (uint32_t type, 288GNUNET_RECLAIM_ATTRIBUTE_value_to_string (uint32_t type,
261 const void* data, 289 const void *data,
262 size_t data_size); 290 size_t data_size);
263 291
292
264/** 293/**
265 * Convert a type number to the corresponding type string 294 * Convert a type number to the corresponding type string
266 * 295 *
267 * @param type number of a type 296 * @param type number of a type
268 * @return corresponding typestring, NULL on error 297 * @return corresponding typestring, NULL on error
269 */ 298 */
270const char* 299const char *
271GNUNET_RECLAIM_ATTRIBUTE_number_to_typename (uint32_t type); 300GNUNET_RECLAIM_ATTRIBUTE_number_to_typename (uint32_t type);
272 301
273 302
274#if 0 /* keep Emacsens' auto-indent happy */ 303#if 0 /* keep Emacsens' auto-indent happy */
275{ 304{
276#endif 305#endif
277#ifdef __cplusplus 306#ifdef __cplusplus
@@ -282,6 +311,6 @@ GNUNET_RECLAIM_ATTRIBUTE_number_to_typename (uint32_t type);
282/* ifndef GNUNET_RECLAIM_ATTRIBUTE_LIB_H */ 311/* ifndef GNUNET_RECLAIM_ATTRIBUTE_LIB_H */
283#endif 312#endif
284 313
285/** @} */ /* end of group identity */ 314/** @} */ /* end of group reclaim-attribute */
286 315
287/* end of gnunet_reclaim_attribute_lib.h */ 316/* end of gnunet_reclaim_attribute_lib.h */
diff --git a/src/include/gnunet_reclaim_attribute_plugin.h b/src/include/gnunet_reclaim_attribute_plugin.h
index 0dfd69b82..c05c80b07 100644
--- a/src/include/gnunet_reclaim_attribute_plugin.h
+++ b/src/include/gnunet_reclaim_attribute_plugin.h
@@ -11,7 +11,7 @@
11 WITHOUT ANY WARRANTY; without even the implied warranty of 11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Affero General Public License for more details. 13 Affero General Public License for more details.
14 14
15 You should have received a copy of the GNU Affero General Public License 15 You should have received a copy of the GNU Affero General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>. 16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
@@ -22,10 +22,9 @@
22 * @author Martin Schanzenbach 22 * @author Martin Schanzenbach
23 * 23 *
24 * @file 24 * @file
25 * Plugin API for the idp database backend 25 * Plugin API for reclaim attribute types
26 * 26 *
27 * @defgroup identity-provider-plugin IdP service plugin API 27 * @defgroup reclaim-attribute-plugin reclaim plugin API for attributes/claims
28 * Plugin API for the idp database backend
29 * @{ 28 * @{
30 */ 29 */
31#ifndef GNUNET_RECLAIM_ATTRIBUTE_PLUGIN_H 30#ifndef GNUNET_RECLAIM_ATTRIBUTE_PLUGIN_H
@@ -35,9 +34,8 @@
35#include "gnunet_reclaim_attribute_lib.h" 34#include "gnunet_reclaim_attribute_lib.h"
36 35
37#ifdef __cplusplus 36#ifdef __cplusplus
38extern "C" 37extern "C" {
39{ 38#if 0 /* keep Emacsens' auto-indent happy */
40#if 0 /* keep Emacsens' auto-indent happy */
41} 39}
42#endif 40#endif
43#endif 41#endif
@@ -53,10 +51,11 @@ extern "C"
53 * @param data_size number of bytes in @a data 51 * @param data_size number of bytes in @a data
54 * @return NULL on error, otherwise human-readable representation of the value 52 * @return NULL on error, otherwise human-readable representation of the value
55 */ 53 */
56typedef char * (*GNUNET_RECLAIM_ATTRIBUTE_ValueToStringFunction) (void *cls, 54typedef char *(*GNUNET_RECLAIM_ATTRIBUTE_ValueToStringFunction) (
57 uint32_t type, 55 void *cls,
58 const void *data, 56 uint32_t type,
59 size_t data_size); 57 const void *data,
58 size_t data_size);
60 59
61 60
62/** 61/**
@@ -71,11 +70,12 @@ typedef char * (*GNUNET_RECLAIM_ATTRIBUTE_ValueToStringFunction) (void *cls,
71 * @param data_size set to number of bytes in @a data 70 * @param data_size set to number of bytes in @a data
72 * @return #GNUNET_OK on success 71 * @return #GNUNET_OK on success
73 */ 72 */
74typedef int (*GNUNET_RECLAIM_ATTRIBUTE_StringToValueFunction) (void *cls, 73typedef int (*GNUNET_RECLAIM_ATTRIBUTE_StringToValueFunction) (
75 uint32_t type, 74 void *cls,
76 const char *s, 75 uint32_t type,
77 void **data, 76 const char *s,
78 size_t *data_size); 77 void **data,
78 size_t *data_size);
79 79
80 80
81/** 81/**
@@ -86,8 +86,9 @@ typedef int (*GNUNET_RECLAIM_ATTRIBUTE_StringToValueFunction) (void *cls,
86 * @param typename name to convert 86 * @param typename name to convert
87 * @return corresponding number, UINT32_MAX on error 87 * @return corresponding number, UINT32_MAX on error
88 */ 88 */
89typedef uint32_t (*GNUNET_RECLAIM_ATTRIBUTE_TypenameToNumberFunction) (void *cls, 89typedef uint32_t (*GNUNET_RECLAIM_ATTRIBUTE_TypenameToNumberFunction) (
90 const char *typename); 90 void *cls,
91 const char *typename);
91 92
92 93
93/** 94/**
@@ -98,8 +99,9 @@ typedef uint32_t (*GNUNET_RECLAIM_ATTRIBUTE_TypenameToNumberFunction) (void *cls
98 * @param type number of a type to convert 99 * @param type number of a type to convert
99 * @return corresponding typestring, NULL on error 100 * @return corresponding typestring, NULL on error
100 */ 101 */
101typedef const char * (*GNUNET_RECLAIM_ATTRIBUTE_NumberToTypenameFunction) (void *cls, 102typedef const char *(*GNUNET_RECLAIM_ATTRIBUTE_NumberToTypenameFunction) (
102 uint32_t type); 103 void *cls,
104 uint32_t type);
103 105
104 106
105/** 107/**
@@ -133,11 +135,10 @@ struct GNUNET_RECLAIM_ATTRIBUTE_PluginFunctions
133 * Number to typename. 135 * Number to typename.
134 */ 136 */
135 GNUNET_RECLAIM_ATTRIBUTE_NumberToTypenameFunction number_to_typename; 137 GNUNET_RECLAIM_ATTRIBUTE_NumberToTypenameFunction number_to_typename;
136
137}; 138};
138 139
139 140
140#if 0 /* keep Emacsens' auto-indent happy */ 141#if 0 /* keep Emacsens' auto-indent happy */
141{ 142{
142#endif 143#endif
143#ifdef __cplusplus 144#ifdef __cplusplus
@@ -146,4 +147,4 @@ struct GNUNET_RECLAIM_ATTRIBUTE_PluginFunctions
146 147
147#endif 148#endif
148 149
149/** @} */ /* end of group */ 150/** @} */ /* end of group */
diff --git a/src/include/gnunet_reclaim_service.h b/src/include/gnunet_reclaim_service.h
index fc3d0f920..8d7babd7c 100644
--- a/src/include/gnunet_reclaim_service.h
+++ b/src/include/gnunet_reclaim_service.h
@@ -22,9 +22,10 @@
22 * @author Martin Schanzenbach 22 * @author Martin Schanzenbach
23 * 23 *
24 * @file 24 * @file
25 * Identity provider service; implements identity provider for GNUnet 25 * reclaim service; implements identity and personal data sharing
26 * for GNUnet
26 * 27 *
27 * @defgroup reclaim Identity Provider service 28 * @defgroup reclaim service
28 * @{ 29 * @{
29 */ 30 */
30#ifndef GNUNET_RECLAIM_SERVICE_H 31#ifndef GNUNET_RECLAIM_SERVICE_H
@@ -43,7 +44,7 @@ extern "C" {
43/** 44/**
44 * Version number of the re:claimID API. 45 * Version number of the re:claimID API.
45 */ 46 */
46#define GNUNET_RECLAIM_VERSION 0x00000000 47#define GNUNET_RECLAIM_VERSION 0x00000001
47 48
48/** 49/**
49 * Opaque handle to access the service. 50 * Opaque handle to access the service.
@@ -58,10 +59,10 @@ struct GNUNET_RECLAIM_Operation;
58 59
59 60
60/** 61/**
61 * The an authorization ticket. This ticket is meant to be transferred 62 * The authorization ticket. This ticket is meant to be transferred
62 * out of band the a relying party. 63 * out of band to a relying party.
63 * The contents of a ticket must be protected and should be treated as a 64 * The contents of a ticket must be protected and should be treated as a
64 * SHARED SECRET between user and relying party. 65 * shared secret between user and relying party.
65 */ 66 */
66struct GNUNET_RECLAIM_Ticket 67struct GNUNET_RECLAIM_Ticket
67{ 68{
@@ -84,8 +85,8 @@ struct GNUNET_RECLAIM_Ticket
84 85
85/** 86/**
86 * Method called when a token has been issued. 87 * Method called when a token has been issued.
87 * On success returns a ticket that can be given to the relying party to retrive 88 * On success returns a ticket that can be given to a relying party
88 * the token 89 * in order for it retrive identity attributes
89 * 90 *
90 * @param cls closure 91 * @param cls closure
91 * @param ticket the ticket 92 * @param ticket the ticket
@@ -133,7 +134,7 @@ GNUNET_RECLAIM_connect (const struct GNUNET_CONFIGURATION_Handle *cfg);
133 * Store an attribute. If the attribute is already present, 134 * Store an attribute. If the attribute is already present,
134 * it is replaced with the new attribute. 135 * it is replaced with the new attribute.
135 * 136 *
136 * @param h handle to the re:claimID service 137 * @param h handle to the reclaim service
137 * @param pkey Private key of the identity to add an attribute to 138 * @param pkey Private key of the identity to add an attribute to
138 * @param attr The attribute 139 * @param attr The attribute
139 * @param exp_interval The relative expiration interval for the attribute 140 * @param exp_interval The relative expiration interval for the attribute
@@ -246,6 +247,7 @@ GNUNET_RECLAIM_ticket_issue (
246 const struct GNUNET_RECLAIM_ATTRIBUTE_ClaimList *attrs, 247 const struct GNUNET_RECLAIM_ATTRIBUTE_ClaimList *attrs,
247 GNUNET_RECLAIM_TicketCallback cb, void *cb_cls); 248 GNUNET_RECLAIM_TicketCallback cb, void *cb_cls);
248 249
250
249/** 251/**
250 * Revoked an issued ticket. The relying party will be unable to retrieve 252 * Revoked an issued ticket. The relying party will be unable to retrieve
251 * attributes. Other issued tickets remain unaffected. 253 * attributes. Other issued tickets remain unaffected.
@@ -286,6 +288,7 @@ GNUNET_RECLAIM_ticket_consume (
286 const struct GNUNET_RECLAIM_Ticket *ticket, 288 const struct GNUNET_RECLAIM_Ticket *ticket,
287 GNUNET_RECLAIM_AttributeResult cb, void *cb_cls); 289 GNUNET_RECLAIM_AttributeResult cb, void *cb_cls);
288 290
291
289/** 292/**
290 * Lists all tickets that have been issued to remote 293 * Lists all tickets that have been issued to remote
291 * identites (relying parties) 294 * identites (relying parties)
@@ -321,6 +324,7 @@ GNUNET_RECLAIM_ticket_iteration_start (
321void 324void
322GNUNET_RECLAIM_ticket_iteration_next (struct GNUNET_RECLAIM_TicketIterator *it); 325GNUNET_RECLAIM_ticket_iteration_next (struct GNUNET_RECLAIM_TicketIterator *it);
323 326
327
324/** 328/**
325 * Stops iteration and releases the handle for further calls. Must 329 * Stops iteration and releases the handle for further calls. Must
326 * be called on any iteration that has not yet completed prior to calling 330 * be called on any iteration that has not yet completed prior to calling
@@ -331,6 +335,7 @@ GNUNET_RECLAIM_ticket_iteration_next (struct GNUNET_RECLAIM_TicketIterator *it);
331void 335void
332GNUNET_RECLAIM_ticket_iteration_stop (struct GNUNET_RECLAIM_TicketIterator *it); 336GNUNET_RECLAIM_ticket_iteration_stop (struct GNUNET_RECLAIM_TicketIterator *it);
333 337
338
334/** 339/**
335 * Disconnect from identity provider service. 340 * Disconnect from identity provider service.
336 * 341 *
@@ -351,6 +356,7 @@ GNUNET_RECLAIM_disconnect (struct GNUNET_RECLAIM_Handle *h);
351void 356void
352GNUNET_RECLAIM_cancel (struct GNUNET_RECLAIM_Operation *op); 357GNUNET_RECLAIM_cancel (struct GNUNET_RECLAIM_Operation *op);
353 358
359
354#if 0 /* keep Emacsens' auto-indent happy */ 360#if 0 /* keep Emacsens' auto-indent happy */
355{ 361{
356#endif 362#endif
@@ -362,6 +368,6 @@ GNUNET_RECLAIM_cancel (struct GNUNET_RECLAIM_Operation *op);
362/* ifndef GNUNET_RECLAIM_SERVICE_H */ 368/* ifndef GNUNET_RECLAIM_SERVICE_H */
363#endif 369#endif
364 370
365/** @} */ /* end of group identity */ 371/** @} */ /* end of group reclaim */
366 372
367/* end of gnunet_reclaim_service.h */ 373/* end of gnunet_reclaim_service.h */