aboutsummaryrefslogtreecommitdiffstats
path: root/include/mod_gnutls.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mod_gnutls.h')
-rw-r--r--include/mod_gnutls.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/mod_gnutls.h b/include/mod_gnutls.h
index 0f3433c..743a43f 100644
--- a/include/mod_gnutls.h
+++ b/include/mod_gnutls.h
@@ -29,6 +29,8 @@
29#include "apr_strings.h" 29#include "apr_strings.h"
30#include "apr_tables.h" 30#include "apr_tables.h"
31 31
32#include "apr_memcache.h"
33
32#include <gcrypt.h> 34#include <gcrypt.h>
33#include <gnutls/gnutls.h> 35#include <gnutls/gnutls.h>
34 36
@@ -68,6 +70,7 @@ typedef struct
68 int macs[16]; 70 int macs[16];
69 int protocol[16]; 71 int protocol[16];
70 int compression[16]; 72 int compression[16];
73 const char* cache_config;
71} mod_gnutls_srvconf_rec; 74} mod_gnutls_srvconf_rec;
72 75
73typedef struct { 76typedef struct {
@@ -155,4 +158,13 @@ ssize_t mod_gnutls_transport_write(gnutls_transport_ptr_t ptr,
155 const void *buffer, size_t len); 158 const void *buffer, size_t len);
156 159
157 160
161/**
162 * Init the Cache inside each Process
163 */
164int mod_gnutls_cache_child_init(apr_pool_t *p, server_rec *s,
165 mod_gnutls_srvconf_rec *sc);
166/**
167 * Setup the Session Caching
168 */
169int mod_gnutls_cache_session_init(mod_gnutls_handle_t *ctxt);
158#endif /* __mod_gnutls_h_inc */ 170#endif /* __mod_gnutls_h_inc */