put previously global error handling and key hashes into ptx (pcp context) to make libpcp threadsafe.

This commit is contained in:
TLINDEN
2014-05-04 17:11:03 +02:00
parent d1c87d1001
commit da9891ff81
58 changed files with 1330 additions and 958 deletions

View File

@@ -39,6 +39,7 @@
#include "z85util.h"
#include "version.h"
#include "vault.h"
#include "context.h"
/* subs */
#include "keymgmt.h"
@@ -80,7 +81,9 @@
#define PCP_HELP_INTRO "This is Pretty Curved Privacy. Licensed under the GPLv3. This is\n" \
"BETA software. Use with care. NOT intended for production use.\n"
/* some globals */
vault_t *vault;
PCPCTX *ptx;
int debug;
void version();