summaryrefslogtreecommitdiff
path: root/server/src/database.h
diff options
context:
space:
mode:
authordeva <deva>2008-05-20 10:17:14 +0000
committerdeva <deva>2008-05-20 10:17:14 +0000
commit91d56787bec83a3a7c2ad6afd84d2b82c5d869b9 (patch)
tree32cfe22c3024de280c7516b561b8bfd98b266ac4 /server/src/database.h
parent7d81d456702e3c5b0caead6e44f2c2f236d2fa41 (diff)
Removed obsolete macro.h and macro_parser.cc,h
Diffstat (limited to 'server/src/database.h')
-rw-r--r--server/src/database.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/src/database.h b/server/src/database.h
index a841188..91a09f4 100644
--- a/server/src/database.h
+++ b/server/src/database.h
@@ -30,6 +30,7 @@
#include <pqxx/pqxx>
#include <string>
#include "transaction.h"
+#include <time.h>
class Database {
public:
@@ -38,7 +39,7 @@ public:
std::string password = "pracro");
~Database();
- int post(std::string &user, std::string &cpr, std::string &time, Commit &commit);
+ int post(std::string &user, std::string &cpr, time_t now, Commit &commit);
private:
pqxx::connection c;