diff options
Diffstat (limited to 'src/include/gnunet_zklaim_service.h')
-rw-r--r-- | src/include/gnunet_zklaim_service.h | 14 |
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" | |||
37 | #endif | 37 | #endif |
38 | 38 | ||
39 | #include "gnunet_util_lib.h" | 39 | #include "gnunet_util_lib.h" |
40 | #include "zklaim/zklaim.h" | ||
40 | 41 | ||
41 | /** | 42 | /** |
42 | * Version number of GNUnet Identity Provider API. | 43 | * Version number of GNUnet Identity Provider API. |
@@ -80,6 +81,19 @@ typedef void | |||
80 | uint64_t *data); | 81 | uint64_t *data); |
81 | 82 | ||
82 | 83 | ||
84 | /** | ||
85 | * Iterator called for each attribute to set a predicate in proof generation. | ||
86 | * | ||
87 | * @param cls closure | ||
88 | * @param name name of attribute | ||
89 | * @param data attribute data (can be modified) | ||
90 | */ | ||
91 | typedef void | ||
92 | (*GNUNET_ZKLAIM_PredicateIterator) (void *cls, | ||
93 | const char* name, | ||
94 | enum zklaim_op *op, | ||
95 | uint64_t *ref); | ||
96 | |||
83 | 97 | ||
84 | /** | 98 | /** |
85 | * Continuation called to notify client about result of the | 99 | * Continuation called to notify client about result of the |