Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
mod_ssl_openssl.h
Go to the documentation of this file.
1 /* Licensed to the Apache Software Foundation (ASF) under one or more
2  * contributor license agreements. See the NOTICE file distributed with
3  * this work for additional information regarding copyright ownership.
4  * The ASF licenses this file to You under the Apache License, Version 2.0
5  * (the "License"); you may not use this file except in compliance with
6  * the License. You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
26 #ifndef __MOD_SSL_OPENSSL_H__
27 #define __MOD_SSL_OPENSSL_H__
28 
29 #include "mod_ssl.h"
30 
31 /* OpenSSL headers */
32 
33 #ifndef SSL_PRIVATE_H
34 #include <openssl/opensslv.h>
35 #if (OPENSSL_VERSION_NUMBER >= 0x10001000)
36 /* must be defined before including ssl.h */
37 #define OPENSSL_NO_SSL_INTERN
38 #endif
39 #include <openssl/ssl.h>
40 #endif
41 
51 APR_DECLARE_EXTERNAL_HOOK(ssl, SSL, int, init_server,
52  (server_rec *s, apr_pool_t *p, int is_proxy, SSL_CTX *ctx))
53 
54 
60 APR_DECLARE_EXTERNAL_HOOK(ssl, SSL, int, pre_handshake,
61  (conn_rec *c, SSL *ssl, int is_proxy))
62 
63 
69 APR_DECLARE_EXTERNAL_HOOK(ssl, SSL, int, proxy_post_handshake,
70  (conn_rec *c, SSL *ssl))
71 
72 #endif /* __MOD_SSL_OPENSSL_H__ */
73 
Structure to store things which are per connection.
Definition: httpd.h:1110
A structure to store information for each virtual server.
Definition: httpd.h:1302
#define APR_DECLARE_EXTERNAL_HOOK(ns, link, ret, name, args)
Definition: apr_hooks.h:118
apr_pool_t * p
SSL extension module for Apache.
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60