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/klone.h>
00014 #include <klone/broker.h>
00015 #include <klone/ses_prv.h>
00016 #include <u/libu.h>
00017 #include "klone_conf.h"
00018
00019 #ifdef HAVE_LIBOPENSSL
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 HAVE_LIBOPENSSL
00030 SSL_CTX* ssl_ctx;
00031 #endif
00032
00033 const char *server_sig;
00034 const char *dir_root;
00035 const char *index;
00036 int send_enc_deflate;
00037
00038 session_opt_t *sess_opt;
00039 };
00040
00041 #endif