summaryrefslogtreecommitdiff
path: root/common/library.c
Commit message (Collapse)AuthorAgeFilesLines
* Add internal function for turning on messagesStef Walter2013-02-051-0/+8
| | | | To be used from tests
* Use the stdbool.h C99 bool typeStef Walter2013-01-231-2/+2
| | | | | | It was getting really wild knowing whether a function returning an int would return -1 on failure or 0 or whether the int return value was actually a number etc..
* Only initialize p11-kit libraries onceStef Walter2013-01-091-4/+10
| | | | * Make the gcc constructor call p11_library_init_once()
* Move debug and library code into the common/ subdirectoryStef Walter2013-01-091-0/+286
Start using p11_ as our internal prefix rather than _p11_. We explicitly export p11_kit_ so this is fine as far as visibility. Move the threading, mutex, and module compat, dict, and array code into the common directory too. Take this opportunity to clean up a bit of internal API as well, since so many lines are being touched internally.