mirror of
https://codeberg.org/scip/pcp.git
synced 2026-02-04 23:20:58 +01:00
put previously global error handling and key hashes into ptx (pcp context) to make libpcp threadsafe.
This commit is contained in:
@@ -46,11 +46,13 @@ namespace pcp {
|
||||
class Vault {
|
||||
private:
|
||||
vault_t *V;
|
||||
PcpContext PTX;
|
||||
|
||||
public:
|
||||
// constructors
|
||||
Vault();
|
||||
Vault(std::string filename);
|
||||
Vault(PcpContext P);
|
||||
Vault(PcpContext P, std::string filename);
|
||||
|
||||
// destructor
|
||||
~Vault();
|
||||
|
||||
Reference in New Issue
Block a user