summaryrefslogtreecommitdiff
path: root/p11-kit/iter.h
diff options
context:
space:
mode:
Diffstat (limited to 'p11-kit/iter.h')
-rw-r--r--p11-kit/iter.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/p11-kit/iter.h b/p11-kit/iter.h
index 2b87273..d8534ec 100644
--- a/p11-kit/iter.h
+++ b/p11-kit/iter.h
@@ -47,11 +47,16 @@ extern "C" {
typedef struct p11_kit_iter P11KitIter;
+typedef enum {
+ P11_KIT_ITER_BUSY_SESSIONS = 1 << 1,
+} P11KitIterBehavior;
+
typedef CK_RV (* p11_kit_iter_callback) (P11KitIter *iter,
CK_BBOOL *matches,
void *data);
-P11KitIter * p11_kit_iter_new (P11KitUri *uri);
+P11KitIter * p11_kit_iter_new (P11KitUri *uri,
+ P11KitIterBehavior behavior);
void p11_kit_iter_free (P11KitIter *iter);