aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_reclaim_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_reclaim_plugin.h')
-rw-r--r--src/include/gnunet_reclaim_plugin.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/include/gnunet_reclaim_plugin.h b/src/include/gnunet_reclaim_plugin.h
index 4dd5252d2..ed62adf6c 100644
--- a/src/include/gnunet_reclaim_plugin.h
+++ b/src/include/gnunet_reclaim_plugin.h
@@ -165,6 +165,18 @@ typedef const char *(*GNUNET_RECLAIM_AttestationNumberToTypenameFunction) (
165 void *cls, 165 void *cls,
166 uint32_t type); 166 uint32_t type);
167 167
168/**
169 * Function called to convert a type number (i.e. 1) to the
170 * corresponding type string
171 *
172 * @param cls closure
173 * @param type number of a type to convert
174 * @return corresponding typestring, NULL on error
175 */
176typedef struct GNUNET_RECLAIM_AttributeList *(*GNUNET_RECLAIM_AttestationGetAttributesFunction) (
177 void *cls,
178 const struct GNUNET_RECLAIM_Attestation *attest);
179
168 180
169 181
170/** 182/**
@@ -231,6 +243,12 @@ struct GNUNET_RECLAIM_AttestationPluginFunctions
231 */ 243 */
232 GNUNET_RECLAIM_AttestationNumberToTypenameFunction number_to_typename; 244 GNUNET_RECLAIM_AttestationNumberToTypenameFunction number_to_typename;
233 245
246 /**
247 * Attesation attributes.
248 */
249 GNUNET_RECLAIM_AttestationGetAttributesFunction get_attributes;
250
251
234}; 252};
235 253
236 254