http_s.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef _KLONE_HTTP_S_H_
00012 #define _KLONE_HTTP_S_H_
00013 #include "klone_conf.h"
00014 #include <u/libu.h>
00015 #include <klone/os.h>
00016 #include <klone/broker.h>
00017 #include <klone/ses_prv.h>
00018
00019 #ifdef SSL_ON
00020 #include <openssl/ssl.h>
00021 #include <openssl/err.h>
00022 #endif
00023
00024 struct http_s
00025 {
00026 u_config_t *config;
00027 broker_t *broker;
00028 int ssl;
00029 #ifdef SSL_ON
00030 SSL_CTX* ssl_ctx;
00031 #endif
00032
00033 session_opt_t *sess_opt;
00034 vhost_list_t *vhosts;
00035 };
00036
00037 #endif