summaryrefslogtreecommitdiffhomepage
path: root/storage.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2023-01-02 21:00:10 +0100
committerRoland Reichwein <mail@reichwein.it>2023-01-02 21:00:10 +0100
commit676e924f7c5bd780250a80187bfcb74550348af7 (patch)
treea9ad983eb5ef2e29713d5630270496f24df36a67 /storage.h
parentb1c99b0c3b0a8d65f237f507ad238ce441233b3f (diff)
Added tests
Diffstat (limited to 'storage.h')
-rw-r--r--storage.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/storage.h b/storage.h
index 09514c3..34144ee 100644
--- a/storage.h
+++ b/storage.h
@@ -30,6 +30,9 @@ public:
void cleanup();
+ std::string generate_id();
+ uint32_t checksum32(const std::string& s);
+
private:
SQLite::Database m_db;
uint64_t m_maxage;