summaryrefslogtreecommitdiffstats
path: root/database/eurephiadb_mapping.c
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2008-12-19 15:48:52 +0100
committerDavid Sommerseth <dazo@users.sourceforge.net>2008-12-19 15:48:52 +0100
commit77c99fe105b074f5b827a159ed4091ced8912f48 (patch)
treea93b101ac590648428eb3b7897060cf470477dbf /database/eurephiadb_mapping.c
parente29713fb05ab8cac0fdbd904277d19bc4b2ec215 (diff)
downloadeurephia-77c99fe105b074f5b827a159ed4091ced8912f48.tar.gz
eurephia-77c99fe105b074f5b827a159ed4091ced8912f48.tar.xz
eurephia-77c99fe105b074f5b827a159ed4091ced8912f48.zip
Changed from numeric session status code to text in eDBadminGetUserInfo(...) - lastlog
Diffstat (limited to 'database/eurephiadb_mapping.c')
-rw-r--r--database/eurephiadb_mapping.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/database/eurephiadb_mapping.c b/database/eurephiadb_mapping.c
index 2103dd1..98a940d 100644
--- a/database/eurephiadb_mapping.c
+++ b/database/eurephiadb_mapping.c
@@ -44,6 +44,17 @@ const char *TABLE_NAME[] = {
"blacklist",
NULL};
+// Simple mapping table for session status
+const char *SESSION_STATUS[] = {
+ "UNKNOWN",
+ "STARTED",
+ "OPEN",
+ "CLOSING",
+ "CLOSED",
+ "CLEANEDUP",
+ NULL};
+
+
// Extra forward declarations to avoid compiler warnings. These functions are inline functions
// in eurephia_xml.h, which would then cause multiple declarations of these functions if that
// include file gets included here.