summaryrefslogtreecommitdiff
path: root/p11-kit/virtual-fixed.h
Commit message (Collapse)AuthorAgeFilesLines
* virtual: Move mutex into p11_library_init()Daiki Ueno2017-02-141-3/+0
| | | | | | | | | We used to provide p11_virtual_fixed_{,un}init() to only initialize a mutex used in virtual.c. That required all the tests calling virtual functions to call p11_virtual_fixed_{,un}init() in main(). For simplicity, move the mutex variable initialization into p11_library_init().
* virtual: Make virtual-fixed internal API cleanerDaiki Ueno2017-01-251-0/+9
| | | | | Add proper inclusion guard to virtual-fixed.h and move the declarations of the (un)initialization functions there.
* build: Make libffi closure optionalDaiki Ueno2017-01-241-0/+1135
libffi's closure support is not available on all platforms and may fail at run time if running under a stricter SELinux policy. Fallback to pre-compiled closures if it is not usable. https://bugs.freedesktop.org/show_bug.cgi?id=97611