summaryrefslogtreecommitdiff
path: root/common/debug.h
Commit message (Collapse)AuthorAgeFilesLines
* rpc: Implement PKCS#11 messages/client/server codeStef Walter2014-07-081-0/+1
| | | | | | | | | | | | * This enables passing around bytes which represent PKCS#11 RPC calls. * Caller is responsible for connecting/disconnecting and so on. * Client side caller gets a mixin from p11_rpc_client_init() to call into, which generates callbacks with byte arrays to be transported. * Server side calls p11_rpc_server_handle() with a CK_FUNCTION_LIST_PTR on which relevant methods get called. * Doesn't yet implement the actual daemon or clients etc... https://bugs.freedesktop.org/show_bug.cgi?id=54105
* Our own unit testing frameworkStef Walter2013-05-211-0/+2
| | | | | | | | * Support the TAP protocol * Much cleaner without having to carry around state * First class support for setup/teardown * Port the common tests * Wait on porting other tests until we've merged outstanding code
* tools: Add a bit of debugging to the PEM extract handlerStef Walter2013-03-081-0/+1
|
* Fix various clang analyzer warningsStef Walter2013-02-061-1/+2
| | | | | * Add annotations to our precondition functions so that they don't make the analyzer complain
* Add basic trust moduleStef Walter2013-02-051-0/+11
| | | | | | This is based off the roots-store from gnome-keyring and loads certificates from a root directory and exposes them as PKCS#11 objects.
* Use the stdbool.h C99 bool typeStef Walter2013-01-231-7/+7
| | | | | | 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..
* Move debug and library code into the common/ subdirectoryStef Walter2013-01-091-0/+129
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.