summaryrefslogtreecommitdiffstats
path: root/eurephiadm/client_context.h
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2008-12-01 23:10:24 +0100
committerDavid Sommerseth <dazo@users.sourceforge.net>2008-12-01 23:10:24 +0100
commitcfecad2e0e5efc55394b282cbfbb5caa859f5d16 (patch)
tree91b55864b922c4d9a4549ebcb2dc78a76242fae0 /eurephiadm/client_context.h
parent57024bc8f3b7e4fee7521c8de2dca929bdc35e82 (diff)
downloadeurephia-cfecad2e0e5efc55394b282cbfbb5caa859f5d16.tar.gz
eurephia-cfecad2e0e5efc55394b282cbfbb5caa859f5d16.tar.xz
eurephia-cfecad2e0e5efc55394b282cbfbb5caa859f5d16.zip
Receive eurephiaVALUES struct with config instead of char *db interface.
Get the database driver directly from config file. Implemented also log settings via config file as well, which can be overridden by future command line arguments.
Diffstat (limited to 'eurephiadm/client_context.h')
-rw-r--r--eurephiadm/client_context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/eurephiadm/client_context.h b/eurephiadm/client_context.h
index ac0f9a1..8d6475c 100644
--- a/eurephiadm/client_context.h
+++ b/eurephiadm/client_context.h
@@ -21,7 +21,7 @@
#ifndef EUREPHIA_CLIENT_CONTEXT
#define EUREPHIA_CLIENT_CONTEXT
-eurephiaCTX *eurephiaCTX_init(FILE *log, const int loglevel, const char *dbi);
+eurephiaCTX *eurephiaCTX_init(FILE *log, const int loglevel, eurephiaVALUES *cfg);
void eurephiaCTX_destroy(eurephiaCTX *ctx);
#endif