diff options
Diffstat (limited to 'server/src/database.h')
-rw-r--r-- | server/src/database.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/server/src/database.h b/server/src/database.h index 332907f..684cd6c 100644 --- a/server/src/database.h +++ b/server/src/database.h @@ -71,6 +71,18 @@ public: bool checkMacro(std::string cpr, std::string macro, time_t oldest = 0); + + // Put an entry in the journal table + void putJournal(std::string user, + std::string cpr, + Macro &_macro, + std::string resume, + time_t now); + + // Get latest resume of a given macro + std::string getResume(std::string cpr, + std::string macro, + time_t oldest); // Connect to the db void connect() {} |