aboutsummaryrefslogtreecommitdiff
path: root/include/Database.hpp
diff options
context:
space:
mode:
authorAleksi Lindeman <aleksi_888@hotmail.com>2018-02-10 03:38:47 +0100
committerAleksi Lindeman <aleksi_888@hotmail.com>2018-02-10 03:39:41 +0100
commitbe3c931f9b2db357c0b4306ad248c968d90254a3 (patch)
tree8b7943e750c27ed0be07c0354827eb3856423a71 /include/Database.hpp
parent28efc0068f47ec787791a07a63d720710068c095 (diff)
Add private/public key for users
Diffstat (limited to 'include/Database.hpp')
-rw-r--r--include/Database.hpp5
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
+}