summaryrefslogtreecommitdiff
path: root/tools/tool.c
Commit message (Collapse)AuthorAgeFilesLines
* Put the external tools in $libdir/p11-kitStef Walter2013-04-041-1/+1
| | | | | These are possibly architecture specific binaries, so they should be in $libdir/p11-kit and not in $datadir/p11-kit
* More compatible path munging and handling codeStef Walter2013-04-031-1/+2
| | | | | | | | | | Centralize the path handling code, so we can remove unixy assumptions and have a chance of running on Windows. The current goal is to run all the tests on Windows. Includes some code from LRN <lrn1986@gmail.com> https://bugs.freedesktop.org/show_bug.cgi?id=63062
* Separate library init from message codeStef Walter2013-04-031-1/+1
| | | | | | | | | | | Put library init/uninit code its into their own statically linked library so that they don't get linked into the p11-kit executable. Refactor the message code so that the library initialization can plug in its per thread message buffer. https://bugs.freedesktop.org/show_bug.cgi?id=63046
* tools: Display per-command help appropriatelyStef Walter2013-03-111-7/+12
| | | | | | | | * Fixes a regression * In addition allows --help to be specified before the command. If a command is present, command help will be shown https://bugs.freedesktop.org/show_bug.cgi?id=62153
* tools: Initialize local debug code correctlyStef Walter2013-03-111-0/+3
| | | | | | | Unless initialized according to the environment all debug output is printed. https://bugs.freedesktop.org/show_bug.cgi?id=62152
* tools: Parse global options appropriately, even if after commandStef Walter2013-03-081-13/+18
|
* tools: Remove extra debugging statement when running external commandsStef Walter2013-03-071-1/+0
|
* Fix various clang analyzer warningsStef Walter2013-02-061-2/+1
| | | | | * Add annotations to our precondition functions so that they don't make the analyzer complain
* Implement basic extract supportStef Walter2013-02-051-0/+3
| | | | | | * The only formats supported are x509-file and x509-directory Allow tool to build without extract
* Make the p11-kit tool have distinct commandsStef Walter2013-02-051-0/+337
* Change the -l argument into the list-modules command. * Add proper functions for printing usage * Support for external commands in the path or /usr/share/p11-kit