summaryrefslogtreecommitdiff
path: root/p11-kit/test-iter.c
Commit message (Collapse)AuthorAgeFilesLines
* iter: Enable iteration over slots/tokens/modulesDaiki Ueno2017-02-081-1/+156
| | | | | | | | | 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
* Fix compiler warnings on FreeBSDRoman Bogorodskiy2017-01-231-1/+1
| | | | | | | | | | | * common/compat.c: Fix "implicit declaration of function 'issetugid'" warning. On FreeBSD, it's required to define __BSD_VISIBLE to make issetugid(2) visible * common/test-message.c: Fix "implicit declaration of function 'asprintf'" by including <stdio.h> * p11-kit/test-iter.c: Fix "format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'int'" by changing format string to "%d"
* iter: Utilize 'slot-id' URI path attributeDaiki Ueno2016-09-021-0/+76
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=97245
* iter: Utilize slot info URI path attributesDaiki Ueno2016-09-021-0/+105
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=97245
* Move to non-recursive Makefile for building bins and libsStef Walter2014-08-151-0/+1331
Still use recursive for documentation and translation.