From 77c99fe105b074f5b827a159ed4091ced8912f48 Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Fri, 19 Dec 2008 15:48:52 +0100 Subject: Changed from numeric session status code to text in eDBadminGetUserInfo(...) - lastlog --- database/eurephiadb_mapping.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'database/eurephiadb_mapping.c') 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. -- cgit