summaryrefslogtreecommitdiff
path: root/src/include/gnunet_zklaim_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_zklaim_service.h')
-rw-r--r--src/include/gnunet_zklaim_service.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/include/gnunet_zklaim_service.h b/src/include/gnunet_zklaim_service.h
index 6654555ab..0a551e703 100644
--- a/src/include/gnunet_zklaim_service.h
+++ b/src/include/gnunet_zklaim_service.h
@@ -37,6 +37,7 @@ extern "C"
#endif
#include "gnunet_util_lib.h"
+#include "zklaim/zklaim.h"
/**
* Version number of GNUnet Identity Provider API.
@@ -80,6 +81,19 @@ typedef void
uint64_t *data);
+/**
+ * Iterator called for each attribute to set a predicate in proof generation.
+ *
+ * @param cls closure
+ * @param name name of attribute
+ * @param data attribute data (can be modified)
+ */
+typedef void
+(*GNUNET_ZKLAIM_PredicateIterator) (void *cls,
+ const char* name,
+ enum zklaim_op *op,
+ uint64_t *ref);
+
/**
* Continuation called to notify client about result of the