summaryrefslogtreecommitdiff
path: root/server/src/configuration.h
diff options
context:
space:
mode:
authordeva <deva>2008-07-30 11:39:41 +0000
committerdeva <deva>2008-07-30 11:39:41 +0000
commit2cfbbf77c85e48bad66288bad4b2122a526c6699 (patch)
tree8ef8cb20b49735b85d8836a2ae8382f70ee8b1c5 /server/src/configuration.h
parentd13c6d619fca78b8c8e0e889757e984c7e537651 (diff)
Added max ttl on pentominos and db lookups.
Diffstat (limited to 'server/src/configuration.h')
-rw-r--r--server/src/configuration.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/server/src/configuration.h b/server/src/configuration.h
index 09d8139..eacac14 100644
--- a/server/src/configuration.h
+++ b/server/src/configuration.h
@@ -28,6 +28,8 @@
#define __ARTEFACT_CONFIGURATION_H__
#include <string>
+
+#include <time.h>
#include <sys/types.h>
typedef uint16_t port_t;
@@ -40,8 +42,8 @@ namespace Conf {
extern std::string journal_commit_addr;
extern port_t journal_commit_port;
- extern unsigned int db_max_ttl;
- extern unsigned int pentominos_max_ttl;
+ extern time_t db_max_ttl;
+ extern time_t pentominos_max_ttl;
extern std::string pentominos_addr;
extern port_t pentominos_port;