diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-02-10 03:38:47 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-08-18 23:25:12 +0200 |
commit | a19e68b9b029d5374604e4b81dcff161d4b465ba (patch) | |
tree | f1401a0278bd82deff117279376beec761e60a55 /include/Database.hpp | |
parent | 5c1a20c4dacfe03db90b70c2665e66a76574196c (diff) |
Add private/public key for users
Diffstat (limited to 'include/Database.hpp')
-rw-r--r-- | include/Database.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/Database.hpp b/include/Database.hpp index 68fff62..bde4d5a 100644 --- a/include/Database.hpp +++ b/include/Database.hpp @@ -7,6 +7,7 @@ #include <opendht/dhtrunner.h> #include <vector> #include <ntp/NtpClient.hpp> +#include <boost/filesystem/path.hpp> namespace odhtdb { @@ -15,7 +16,7 @@ namespace odhtdb class Database { public: - Database(const char *bootstrapNodeAddr, u16 port); + Database(const char *bootstrapNodeAddr, u16 port, boost::filesystem::path storageDir); ~Database(); void seed(); @@ -35,4 +36,4 @@ namespace odhtdb std::vector<StagedCreateObject> stagedCreateObjects; std::vector<StagedAddObject> stagedAddObjects; }; -}
\ No newline at end of file +} |