1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>KLone: http_s.h Source File</title>
<link href="kl.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.9.1 -->
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a></div>
<div class="nav">
<a class="el" href="dir_000000.html">src</a> / <a class="el" href="dir_000005.html">libhttp</a></div>
<h1>http_s.h</h1><a href="http__s_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001 <span class="comment">/*</span>
00002 <span class="comment"> * Copyright (c) 2005, 2006 by KoanLogic s.r.l. <http://www.koanlogic.com></span>
00003 <span class="comment"> * All rights reserved.</span>
00004 <span class="comment"> *</span>
00005 <span class="comment"> * This file is part of KLone, and as such it is subject to the license stated</span>
00006 <span class="comment"> * in the LICENSE file which you have received as part of this distribution.</span>
00007 <span class="comment"> *</span>
00008 <span class="comment"> * $Id: http_s.h,v 1.5 2006/01/09 12:38:38 tat Exp $</span>
00009 <span class="comment"> */</span>
00010
00011 <span class="preprocessor">#ifndef _KLONE_HTTP_S_H_</span>
00012 <span class="preprocessor"></span><span class="preprocessor">#define _KLONE_HTTP_S_H_</span>
00013 <span class="preprocessor"></span><span class="preprocessor">#include <<a class="code" href="klone_8h.html">klone/klone.h</a>></span>
00014 <span class="preprocessor">#include <<a class="code" href="broker_8h.html">klone/broker.h</a>></span>
00015 <span class="preprocessor">#include <<a class="code" href="ses__prv_8h.html">klone/ses_prv.h</a>></span>
00016 <span class="preprocessor">#include <u/libu.h></span>
00017 <span class="preprocessor">#include "klone_conf.h"</span>
00018
00019 <span class="preprocessor">#ifdef HAVE_LIBOPENSSL</span>
00020 <span class="preprocessor"></span><span class="preprocessor">#include <openssl/ssl.h></span>
00021 <span class="preprocessor">#include <openssl/err.h></span>
00022 <span class="preprocessor">#endif </span>
00023 <span class="preprocessor"></span>
<a name="l00024"></a><a class="code" href="structhttp__s.html">00024</a> <span class="keyword">struct </span><a class="code" href="structhttp__s.html">http_s</a>
00025 {
<a name="l00026"></a><a class="code" href="structhttp__s.html#o0">00026</a> u_config_t *config; <span class="comment">/* server config */</span>
<a name="l00027"></a><a class="code" href="structhttp__s.html#o1">00027</a> <a class="code" href="broker_8h.html#a0">broker_t</a> *broker; <span class="comment">/* pages broker */</span>
<a name="l00028"></a><a class="code" href="structhttp__s.html#o2">00028</a> <span class="keywordtype">int</span> ssl; <span class="comment">/* >0 when SSL is enabled */</span>
00029 <span class="preprocessor">#ifdef HAVE_LIBOPENSSL</span>
00030 <span class="preprocessor"></span> SSL_CTX* ssl_ctx; <span class="comment">/* OpenSSL context */</span>
00031 <span class="preprocessor">#endif</span>
00032 <span class="preprocessor"></span> <span class="comment">/* toplevel configuration options */</span>
<a name="l00033"></a><a class="code" href="structhttp__s.html#o3">00033</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *server_sig; <span class="comment">/* server signature */</span>
<a name="l00034"></a><a class="code" href="structhttp__s.html#o4">00034</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *dir_root; <span class="comment">/* base html directory */</span>
<a name="l00035"></a><a class="code" href="structhttp__s.html#o5">00035</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *index; <span class="comment">/* user-provided index page */</span>
<a name="l00036"></a><a class="code" href="structhttp__s.html#o6">00036</a> <span class="keywordtype">int</span> send_enc_deflate; <span class="comment">/* >0 if sending deflated content is not disabled*/</span>
00037 <span class="comment">/* session options struct */</span>
<a name="l00038"></a><a class="code" href="structhttp__s.html#o7">00038</a> <a class="code" href="structsession__opt__s.html">session_opt_t</a> *sess_opt;
00039 };
00040
00041 <span class="preprocessor">#endif</span>
</pre></div><hr>
<div>
<div style="text-align:left">
<a href="http://www.koanlogic.com/kl/cont/gb/html/products.html">←Products</a>
</div>
<div style="text-align:center;">
© 2005-2006 - <a href="http://www.koanlogic.com">KoanLogic S.r.l.</a> - All rights reserved
</div>
</div>
</body>
</html>
|