summaryrefslogtreecommitdiff
path: root/p11-kit/util.h
Commit message (Collapse)AuthorAgeFilesLines
* Move debug and library code into the common/ subdirectoryStef Walter2013-01-091-158/+0
| | | | | | | | | | | 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.
* Use Windows thread ids instead of handles for comparisonsStef Walter2012-07-261-3/+8
| | | | | | | | | | * It seems that the HANDLE's returned from GetCurrentThread are often equal for two threads. GetCurrentThreadID doesn't have this problem. * Separate our cross platform thread_t and thread_id_t types even though on unix they're the same thing. https://bugzilla.gnome.org/show_bug.cgi?id=44740
* Preconditions to check for input probs and out of memoryStef Walter2012-05-131-2/+0
| | | | | | * We don't try to guarantee completely robust and problem free behavior in cases where the caller or process isn't behaving. We consider these to be outside of our control.
* Move the compat.[ch] headers into common directory/Stef Walter2012-04-301-0/+111
| | | | | * And the compat stuff in the p11-kit directory merged into util.c and util.h
* Rename non-static functions to have a _p11_xxx prefix.Stef Walter2011-10-241-1/+1
| | | | | | | * Work around issues with brain-dead linkers not respecting the libtool -export-symbol-regex argument https://bugs.freedesktop.org/show_bug.cgi?id=42020
* Fix up copyright lines.Stef Walter2011-04-011-1/+0
|
* Documentation and API cleanup.Stef Walter2011-03-311-0/+45
* Rename source directory * More consistent with return values from URI functions. * Allow formatting URI to take a uri type.