diff options
Diffstat (limited to 'common/eurephia_context.h')
-rw-r--r-- | common/eurephia_context.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/common/eurephia_context.h b/common/eurephia_context.h index 877632c..e825c28 100644 --- a/common/eurephia_context.h +++ b/common/eurephia_context.h @@ -32,8 +32,8 @@ #define EUREPHIASTRUCT_H_ #include <stdio.h> -#include "eurephiadb_struct.h" - +#include <eurephiadb_struct.h> +#include <eurephia_log_struct.h> /** * eurephia context types */ @@ -58,8 +58,7 @@ typedef struct { void *fwcfg; /**< Dummy pointer, if the firewall API is not enabled */ #endif char *server_salt; /**< The in-memory password salt, used for the password cache */ - FILE *log; /**< FILE pointer to the log file */ - int loglevel; /**< Defines the log verbosity, higher number increases log verbosity */ + eurephiaLOG *log; /**< Log context, used by eurephia_log() */ int fatal_error; /**< If this flag is set, the execution should stop immediately */ int context_type; /**< Defines the context type */ } eurephiaCTX; |