summaryrefslogtreecommitdiff
path: root/server/src/database.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/database.h')
-rw-r--r--server/src/database.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/src/database.h b/server/src/database.h
index 31d69fc..85f8cd7 100644
--- a/server/src/database.h
+++ b/server/src/database.h
@@ -65,6 +65,11 @@ public:
Fieldnames &fieldnames,
time_t oldest = 0);
+ // Check if a macro has been committed.
+ bool checkMacro(std::string cpr,
+ std::string macro,
+ time_t oldest = 0);
+
// Connect to the db
void connect() {}