summaryrefslogtreecommitdiff
path: root/p11-kit/iter.h
Commit message (Collapse)AuthorAgeFilesLines
* Add p11-kit style typedefs for iter and uriStef Walter2013-08-281-0/+1
| | | | | In general we're slowly migrating towards the lower case style for stuctures/objects.
* iter: Add a p11_kit_iter_destroy_object() functionStef Walter2013-08-281-0/+1
| | | | Handy function since this is a common need.
* iter: Add p11_kit_iter_set_uri() functionStef Walter2013-08-281-0/+3
| | | | This is so we can set a filtering uri on the iterator after construction
* iter: Add p11_kit_iter_get_token() callStef Walter2013-08-281-0/+2
| | | | | To get the already loaded CK_TOKEN_INFO during iteration for the token that the current object is on.
* iter: Add new P11_KIT_ITER_WANT_WRITABLE iterator behaviorStef Walter2013-08-281-3/+1
| | | | | This allows us to try to get a RW session, but if not fallback to a read-only session.
* iter: Add iteration mode where session is not busyStef Walter2013-07-031-1/+6
| | | | | | | | | | | In order to use the session we are iterating on for other tasks such as other C_FindObject() calls, we need to make sure that it's not in the middle of a find operation. Finish up the complete find operation in advance of returning objects from a session. Make this the default mode. The previous behavior remains as an option. Add tests.
* Add public iterator API to p11-kitStef Walter2013-02-051-0/+101