summaryrefslogtreecommitdiff
path: root/server/src/database.h
diff options
context:
space:
mode:
authordeva <deva>2008-06-09 14:51:41 +0000
committerdeva <deva>2008-06-09 14:51:41 +0000
commita5d78e33085399d04fabeacf8142dbfe55992e7a (patch)
treecba98916959d21126411a32ad0f84a918b3f387b /server/src/database.h
parent95c75f805ec5f22f5e876dc3fddf8a72d6afd014 (diff)
Added check to see if macro already has been committed. For later use with dependency checking.
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() {}