summaryrefslogtreecommitdiffstats
path: root/common/eurephia_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/eurephia_context.h')
-rw-r--r--common/eurephia_context.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/eurephia_context.h b/common/eurephia_context.h
index 845850b..f8cf4ba 100644
--- a/common/eurephia_context.h
+++ b/common/eurephia_context.h
@@ -34,6 +34,8 @@
#include <stdio.h>
#include <eurephiadb_struct.h>
#include <eurephia_log_struct.h>
+#include <eurephia_authplugin_context.h>
+
/**
* eurephia context types
*/
@@ -52,6 +54,7 @@ typedef enum OVPN_tunnelType_e { tuntype_UNKN, /**< Unknwown */
tuntype_TUN /**< OpenVPN is used with --dev tun */
} OVPN_tunnelType;
+
/**
* main structure for the eurephia module context
* - the same context structure is used for all OpenVPN sessions
@@ -66,6 +69,7 @@ typedef struct {
#else
void *fwcfg; /**< Dummy pointer, if the firewall API is not enabled */
#endif
+ eAuthPluginCTX *authplugs; /**< Authentication plug-in contexts. May be NULL */
char *server_salt; /**< The in-memory password salt, used for the password cache */
eurephiaLOG *log; /**< Log context, used by eurephia_log() */
int fatal_error; /**< If this flag is set, the execution should stop immediately */