diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/mod_gnutls.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/mod_gnutls.h b/include/mod_gnutls.h index b1abd52..3ea9b58 100644 --- a/include/mod_gnutls.h +++ b/include/mod_gnutls.h | |||
@@ -69,13 +69,32 @@ typedef struct | |||
69 | int compression[16]; | 69 | int compression[16]; |
70 | } mod_gnutls_srvconf_rec; | 70 | } mod_gnutls_srvconf_rec; |
71 | 71 | ||
72 | typedef struct { | ||
73 | int length; | ||
74 | char *value; | ||
75 | } mod_gnutls_char_buffer_t; | ||
76 | |||
72 | typedef struct | 77 | typedef struct |
73 | { | 78 | { |
74 | mod_gnutls_srvconf_rec *sc; | 79 | mod_gnutls_srvconf_rec *sc; |
80 | conn_rec* c; | ||
75 | gnutls_session_t session; | 81 | gnutls_session_t session; |
82 | |||
83 | apr_status_t input_rc; | ||
76 | ap_filter_t *input_filter; | 84 | ap_filter_t *input_filter; |
77 | apr_bucket_brigade *input_bb; | 85 | apr_bucket_brigade *input_bb; |
78 | apr_read_type_e input_block; | 86 | apr_read_type_e input_block; |
87 | ap_input_mode_t input_mode; | ||
88 | mod_gnutls_char_buffer_t input_cbuf; | ||
89 | char input_buffer[AP_IOBUFSIZE]; | ||
90 | |||
91 | apr_status_t output_rc; | ||
92 | ap_filter_t *output_filter; | ||
93 | apr_bucket_brigade *output_bb; | ||
94 | char output_buffer[AP_IOBUFSIZE]; | ||
95 | apr_size_t output_blen; | ||
96 | apr_size_t output_length; | ||
97 | |||
79 | int status; | 98 | int status; |
80 | int non_https; | 99 | int non_https; |
81 | } mod_gnutls_handle_t; | 100 | } mod_gnutls_handle_t; |