diff options
| author | 2004-12-10 06:08:52 +0000 | |
|---|---|---|
| committer | 2004-12-10 06:08:52 +0000 | |
| commit | a66e1478c77fc8c8a7ab831916ab3d1c3aacb539 (patch) | |
| tree | 328f6b0d0ef4303719cab9f2949c5a7a2c65681e /include/mod_gnutls.h | |
| parent | 76bd3bfed0fda6fb670cb14c16bcdfd47453dfe5 (diff) | |
working support for a ssl session cache via memcached.
Diffstat (limited to 'include/mod_gnutls.h')
| -rw-r--r-- | include/mod_gnutls.h | 12 |
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 | ||
| 73 | typedef struct { | 76 | typedef 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 | */ | ||
| 164 | int 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 | */ | ||
| 169 | int mod_gnutls_cache_session_init(mod_gnutls_handle_t *ctxt); | ||
| 158 | #endif /* __mod_gnutls_h_inc */ | 170 | #endif /* __mod_gnutls_h_inc */ |
