Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00031 #ifndef EUREPHIA_CONTEXT_H_
00032 #define EUREPHIA_CONTEXT_H_
00033
00034 #include <stdio.h>
00035 #include <eurephiadb_struct.h>
00036 #include <eurephia_log_struct.h>
00040 #define ECTX_NO_PRIVILEGES 0x1000
00041 #define ECTX_PLUGIN_AUTH 0x1001
00042 #define ECTX_ADMIN_CONSOLE 0x2001
00043 #define ECTX_ADMIN_WEB 0x2002
00045 #define SIZE_PWDCACHE_SALT 2048
00051 typedef struct {
00052 void *eurephia_driver;
00053 void *eurephia_fw_intf;
00054 eDBconn *dbc;
00055 #ifdef EUREPHIA_FWINTF
00056 eurephiaFWINTF *fwcfg;
00057 #else
00058 void *fwcfg;
00059 #endif
00060 char *server_salt;
00061 eurephiaLOG *log;
00062 int fatal_error;
00063 int context_type;
00064 } eurephiaCTX;
00065
00066 #endif