From 3d54011b0d0bf1b31fbab8d7025b7201722d61c3 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Sat, 17 Dec 2016 07:11:36 +0100 Subject: iter: Enable iteration over slots/tokens/modules While PKCS#11 URI can identify slots/tokens/modules, P11KitIter is only capable of iterating over objects. This patch adds new behaviors to P11KitIter to support iterations over slots/tokens/modules, using the C coroutine trick as described in: http://www.chiark.greenend.org.uk/~sgtatham/coroutines.html --- doc/manual/p11-kit-sections.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc') diff --git a/doc/manual/p11-kit-sections.txt b/doc/manual/p11-kit-sections.txt index e0f550d..386b97e 100644 --- a/doc/manual/p11-kit-sections.txt +++ b/doc/manual/p11-kit-sections.txt @@ -123,6 +123,7 @@ p11_kit_iter_callback p11_kit_iter_begin p11_kit_iter_begin_with p11_kit_iter_next +p11_kit_iter_get_kind p11_kit_iter_get_module p11_kit_iter_get_slot p11_kit_iter_get_slot_info @@ -134,6 +135,7 @@ p11_kit_iter_get_attributes p11_kit_iter_load_attributes p11_kit_iter_destroy_object p11_kit_iter_free +P11KitIterKind P11KitIterBehavior p11_kit_remote_serve_module -- cgit v1.1