From 84cb5b2ad2abada1069659895d16dcb64f669008 Mon Sep 17 00:00:00 2001 From: Paul Querna Date: Tue, 17 May 2005 21:00:53 +0000 Subject: - add lua to do client verification - only use gcrypt locking when required to --- include/mod_gnutls.h.in | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/mod_gnutls.h.in b/include/mod_gnutls.h.in index e787beb..3473bf1 100644 --- a/include/mod_gnutls.h.in +++ b/include/mod_gnutls.h.in @@ -72,6 +72,8 @@ typedef enum typedef struct { int client_verify_mode; + const char* lua_bytecode; + apr_size_t lua_bytecode_len; } mgs_dirconf_rec; typedef struct @@ -235,11 +237,18 @@ const char *mgs_set_client_ca_file(cmd_parms * parms, void *dummy, const char *mgs_set_enabled(cmd_parms * parms, void *dummy, const char *arg); - + +const char *mgs_set_require_section(cmd_parms *cmd, + void *mconfig, const char *arg); void *mgs_config_server_create(apr_pool_t * p, server_rec * s); +void *mgs_config_dir_merge(apr_pool_t *p, void *basev, void *addv); + void *mgs_config_dir_create(apr_pool_t *p, char *dir); +const char *mgs_set_require_bytecode(cmd_parms *cmd, + void *mconfig, const char *arg); + mgs_srvconf_rec* mgs_find_sni_server(gnutls_session_t session); /* mod_gnutls Hooks. */ @@ -263,4 +272,6 @@ int mgs_hook_fixups(request_rec *r); int mgs_hook_authz(request_rec *r); +int mgs_authz_lua(request_rec* r); + #endif /* __mod_gnutls_h_inc */ -- cgit