Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > b293cf61b174f6cb974e48c9096dc9b3 > files > 625

lib64commoncpp-devel-1.8.1-7.mga4.x86_64.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>GNU CommonC++: ssl.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">GNU CommonC++
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_bfccd401955b95cf8c75461437045ac0.html">inc</a></li><li class="navelem"><a class="el" href="dir_6b3e09e31d3da6038137f0238e9fb19b.html">cc++</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">ssl.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="ssl_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">// Copyright (C) 2006-2010 David Sugar, Tycho Softworks</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">// This program is free software; you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">// it under the terms of the GNU General Public License as published by</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">// the Free Software Foundation; either version 2 of the License, or</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">// (at your option) any later version.</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">// This program is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">// GNU General Public License for more details.</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">// You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">// along with this program; if not, write to the Free Software</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">// As a special exception, you may use this file as part of a free software</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment">// library without restriction.  Specifically, if other files instantiate</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment">// templates or use macros or inline functions from this file, or you compile</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment">// this file and link it with other files to produce an executable, this</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment">// file does not by itself cause the resulting executable to be covered by</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment">// the GNU General Public License.  This exception does not however</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment">// invalidate any other reasons why the executable file might be covered by</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment">// the GNU General Public License.</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment">// This exception applies only to the code released under the name GNU</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment">// Common C++.  If you copy code from other releases into a copy of GNU</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment">// Common C++, as the General Public License permits, the exception does</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="comment">// not apply to the code that you add in this way.  To avoid misleading</span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="comment">// anyone as to the status of such modified files, you must delete</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="comment">// this exception notice from them.</span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="comment">// If you write modifications of your own for GNU Common C++, it is your choice</span></div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="comment">// whether to permit this exception to apply to your modifications.</span></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="comment">// If you do not wish that, delete this exception notice.</span></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor">#ifndef CCXX_SSL_H_</span></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CCXX_SSL_H_</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="preprocessor">#ifndef CCXX_CONFIG_H_</span></div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &lt;<a class="code" href="config_8h.html">cc++/config.h</a>&gt;</span></div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="preprocessor">#ifndef CCXX_THREAD_H_</span></div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &lt;<a class="code" href="thread_8h.html">cc++/thread.h</a>&gt;</span></div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="preprocessor">#ifndef CCXX_SOCKET_H_</span></div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &lt;<a class="code" href="socket_8h.html">cc++/socket.h</a>&gt;</span></div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<span class="preprocessor">#ifdef  CCXX_GNUTLS</span></div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &lt;gnutls/gnutls.h&gt;</span></div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    gnutls_session  session;</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    gnutls_certificate_credentials xcred;</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    <span class="keywordtype">int</span> result;</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;}       SSL;</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &lt;openssl/ssl.h&gt;</span></div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;<span class="preprocessor">#ifdef  CCXX_NAMESPACES</span></div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<span class="preprocessor"></span><span class="keyword">namespace </span>ost {</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="classost_1_1_s_s_l_stream.html">   73</a></span>&#160;<span class="keyword">class </span><a class="code" href="classost_1_1_s_s_l_stream.html">SSLStream</a> : <span class="keyword">public</span> <a class="code" href="classost_1_1_t_c_p_stream.html">TCPStream</a></div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;{</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="classost_1_1_s_s_l_stream.html#afe35b0915bbe639991afeb950dfc47f9">   76</a></span>&#160;    SSL *<a class="code" href="classost_1_1_s_s_l_stream.html#afe35b0915bbe639991afeb950dfc47f9">ssl</a>;</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;    <a class="code" href="classost_1_1_s_s_l_stream.html#a560ce0910e41544b34a49201699574a7">SSLStream</a>(<a class="code" href="classost_1_1_socket.html#a36a69681caa020f1abed34ae71d206ef">Family</a> <a class="code" href="classost_1_1_t_c_p_stream.html#aecc5f6b34232ba0fef048f53fdaa51fc">family</a> = <a class="code" href="classost_1_1_socket.html#a36a69681caa020f1abed34ae71d206efa5bd9a46a5c0f46815c98feeb02e5e926">IPV4</a>, <span class="keywordtype">bool</span> throwflag = <span class="keyword">true</span>, <a class="code" href="thread_8h.html#af412159e5cef839836a5e7b19ee75d1c">timeout_t</a> to = 0);</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classost_1_1_s_s_l_stream.html#a005229a64cb18e6c39db5bde8f026eac">disconnect</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    <a class="code" href="classost_1_1_s_s_l_stream.html#a560ce0910e41544b34a49201699574a7">SSLStream</a>(<span class="keyword">const</span> <a class="code" href="classost_1_1_i_p_v4_host.html">IPV4Host</a> &amp;host, <a class="code" href="namespaceost.html#a3c74a1a40c359fd349f3e3e1b96ebfc7">tpport_t</a> port, <span class="keywordtype">unsigned</span> mss = 536, <span class="keywordtype">bool</span> throwflag = <span class="keyword">true</span>, <a class="code" href="thread_8h.html#af412159e5cef839836a5e7b19ee75d1c">timeout_t</a> to = 0);</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;<span class="preprocessor">#ifdef  CCXX_IPV6</span></div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;<span class="preprocessor"></span>    <a class="code" href="classost_1_1_s_s_l_stream.html#a560ce0910e41544b34a49201699574a7">SSLStream</a>(<span class="keyword">const</span> <a class="code" href="classost_1_1_i_p_v6_host.html">IPV6Host</a> &amp;host, <a class="code" href="namespaceost.html#a3c74a1a40c359fd349f3e3e1b96ebfc7">tpport_t</a> port, <span class="keywordtype">unsigned</span> mss = 536, <span class="keywordtype">bool</span> throwflag = <span class="keyword">true</span>, <a class="code" href="thread_8h.html#af412159e5cef839836a5e7b19ee75d1c">timeout_t</a> to = 0);</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;<span class="preprocessor"></span>    <a class="code" href="classost_1_1_s_s_l_stream.html#a560ce0910e41544b34a49201699574a7">SSLStream</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name, <a class="code" href="classost_1_1_socket.html#a36a69681caa020f1abed34ae71d206ef">Family</a> <a class="code" href="classost_1_1_t_c_p_stream.html#aecc5f6b34232ba0fef048f53fdaa51fc">family</a> = <a class="code" href="classost_1_1_socket.html#a36a69681caa020f1abed34ae71d206efa5bd9a46a5c0f46815c98feeb02e5e926">IPV4</a>, <span class="keywordtype">unsigned</span> mss = 536, <span class="keywordtype">bool</span> throwflag = <span class="keyword">false</span>, <a class="code" href="thread_8h.html#af412159e5cef839836a5e7b19ee75d1c">timeout_t</a> to = 0);</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;    <a class="code" href="classost_1_1_s_s_l_stream.html#a560ce0910e41544b34a49201699574a7">SSLStream</a>(<span class="keyword">const</span> <a class="code" href="classost_1_1_s_s_l_stream.html">SSLStream</a> &amp;<a class="code" href="classost_1_1_s_s_l_stream.html#afe35b0915bbe639991afeb950dfc47f9">ssl</a>);</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;</div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="classost_1_1_s_s_l_stream.html#a17661ac0e8e03010854fdf858bc11149">   90</a></span>&#160;    <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classost_1_1_s_s_l_stream.html#a17661ac0e8e03010854fdf858bc11149">isSSL</a>(<span class="keywordtype">void</span>)</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;        {<span class="keywordflow">return</span> (<span class="keywordtype">bool</span>)(<a class="code" href="classost_1_1_s_s_l_stream.html#afe35b0915bbe639991afeb950dfc47f9">ssl</a> != NULL);};</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classost_1_1_s_s_l_stream.html#ac7b0d1477500c14f7320e2e413cf000e">getSession</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classost_1_1_s_s_l_stream.html#aee7eb50ad1e1e9bd9a82e4b1f50a20c3">endStream</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="classost_1_1_s_s_l_stream.html#a15db6db6e7f66a286268ec218bbff4d8">~SSLStream</a>();</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    ssize_t <a class="code" href="classost_1_1_s_s_l_stream.html#a6ea5b146a83b854ab60ed9bfc8a7b2e0">readLine</a>(<span class="keywordtype">char</span> *str, <span class="keywordtype">size_t</span> max, <a class="code" href="thread_8h.html#af412159e5cef839836a5e7b19ee75d1c">timeout_t</a> to = 0);</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    ssize_t <a class="code" href="classost_1_1_s_s_l_stream.html#a2b9f7b71afaf4e23fcdc8f1fa5fea780">readData</a>(<span class="keywordtype">void</span> *buf, <span class="keywordtype">size_t</span> len, <span class="keywordtype">char</span> separator = 0, <a class="code" href="thread_8h.html#af412159e5cef839836a5e7b19ee75d1c">timeout_t</a> to = 0);</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;    ssize_t <a class="code" href="classost_1_1_s_s_l_stream.html#acc94d288d3e945c8a228e4f28f8b2d2b">writeData</a>(<span class="keywordtype">void</span> *buf, <span class="keywordtype">size_t</span> len, <a class="code" href="thread_8h.html#af412159e5cef839836a5e7b19ee75d1c">timeout_t</a> to = 0);</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;};</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;<span class="preprocessor">#ifdef  CCXX_NAMESPACES</span></div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;<span class="preprocessor"></span>}</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;<span class="preprocessor"></span></div>
<div class="ttc" id="classost_1_1_socket_html_a36a69681caa020f1abed34ae71d206efa5bd9a46a5c0f46815c98feeb02e5e926"><div class="ttname"><a href="classost_1_1_socket.html#a36a69681caa020f1abed34ae71d206efa5bd9a46a5c0f46815c98feeb02e5e926">ost::Socket::IPV4</a></div><div class="ttdef"><b>Definition:</b> socket.h:126</div></div>
<div class="ttc" id="classost_1_1_s_s_l_stream_html_a2b9f7b71afaf4e23fcdc8f1fa5fea780"><div class="ttname"><a href="classost_1_1_s_s_l_stream.html#a2b9f7b71afaf4e23fcdc8f1fa5fea780">ost::SSLStream::readData</a></div><div class="ttdeci">ssize_t readData(void *buf, size_t len, char separator=0, timeout_t to=0)</div></div>
<div class="ttc" id="config_8h_html"><div class="ttname"><a href="config_8h.html">config.h</a></div></div>
<div class="ttc" id="classost_1_1_socket_html_a36a69681caa020f1abed34ae71d206ef"><div class="ttname"><a href="classost_1_1_socket.html#a36a69681caa020f1abed34ae71d206ef">ost::Socket::Family</a></div><div class="ttdeci">Family</div><div class="ttdef"><b>Definition:</b> socket.h:122</div></div>
<div class="ttc" id="classost_1_1_s_s_l_stream_html_a6ea5b146a83b854ab60ed9bfc8a7b2e0"><div class="ttname"><a href="classost_1_1_s_s_l_stream.html#a6ea5b146a83b854ab60ed9bfc8a7b2e0">ost::SSLStream::readLine</a></div><div class="ttdeci">ssize_t readLine(char *str, size_t max, timeout_t to=0)</div></div>
<div class="ttc" id="classost_1_1_s_s_l_stream_html_a15db6db6e7f66a286268ec218bbff4d8"><div class="ttname"><a href="classost_1_1_s_s_l_stream.html#a15db6db6e7f66a286268ec218bbff4d8">ost::SSLStream::~SSLStream</a></div><div class="ttdeci">virtual ~SSLStream()</div></div>
<div class="ttc" id="thread_8h_html_af412159e5cef839836a5e7b19ee75d1c"><div class="ttname"><a href="thread_8h.html#af412159e5cef839836a5e7b19ee75d1c">timeout_t</a></div><div class="ttdeci">unsigned long timeout_t</div><div class="ttdef"><b>Definition:</b> thread.h:74</div></div>
<div class="ttc" id="classost_1_1_t_c_p_stream_html_aecc5f6b34232ba0fef048f53fdaa51fc"><div class="ttname"><a href="classost_1_1_t_c_p_stream.html#aecc5f6b34232ba0fef048f53fdaa51fc">ost::TCPStream::family</a></div><div class="ttdeci">Family family</div><div class="ttdef"><b>Definition:</b> socket.h:1644</div></div>
<div class="ttc" id="thread_8h_html"><div class="ttname"><a href="thread_8h.html">thread.h</a></div><div class="ttdoc">Synchronization and threading services. </div></div>
<div class="ttc" id="classost_1_1_s_s_l_stream_html_aee7eb50ad1e1e9bd9a82e4b1f50a20c3"><div class="ttname"><a href="classost_1_1_s_s_l_stream.html#aee7eb50ad1e1e9bd9a82e4b1f50a20c3">ost::SSLStream::endStream</a></div><div class="ttdeci">void endStream(void)</div></div>
<div class="ttc" id="classost_1_1_s_s_l_stream_html_a560ce0910e41544b34a49201699574a7"><div class="ttname"><a href="classost_1_1_s_s_l_stream.html#a560ce0910e41544b34a49201699574a7">ost::SSLStream::SSLStream</a></div><div class="ttdeci">SSLStream(Family family=IPV4, bool throwflag=true, timeout_t to=0)</div></div>
<div class="ttc" id="classost_1_1_s_s_l_stream_html_acc94d288d3e945c8a228e4f28f8b2d2b"><div class="ttname"><a href="classost_1_1_s_s_l_stream.html#acc94d288d3e945c8a228e4f28f8b2d2b">ost::SSLStream::writeData</a></div><div class="ttdeci">ssize_t writeData(void *buf, size_t len, timeout_t to=0)</div></div>
<div class="ttc" id="classost_1_1_t_c_p_stream_html"><div class="ttname"><a href="classost_1_1_t_c_p_stream.html">ost::TCPStream</a></div><div class="ttdoc">TCP streams are used to represent TCP client connections to a server by TCP protocol servers for acce...</div><div class="ttdef"><b>Definition:</b> socket.h:1631</div></div>
<div class="ttc" id="classost_1_1_s_s_l_stream_html_ac7b0d1477500c14f7320e2e413cf000e"><div class="ttname"><a href="classost_1_1_s_s_l_stream.html#ac7b0d1477500c14f7320e2e413cf000e">ost::SSLStream::getSession</a></div><div class="ttdeci">bool getSession(void)</div></div>
<div class="ttc" id="classost_1_1_s_s_l_stream_html_a17661ac0e8e03010854fdf858bc11149"><div class="ttname"><a href="classost_1_1_s_s_l_stream.html#a17661ac0e8e03010854fdf858bc11149">ost::SSLStream::isSSL</a></div><div class="ttdeci">bool isSSL(void)</div><div class="ttdef"><b>Definition:</b> ssl.h:90</div></div>
<div class="ttc" id="classost_1_1_s_s_l_stream_html_a005229a64cb18e6c39db5bde8f026eac"><div class="ttname"><a href="classost_1_1_s_s_l_stream.html#a005229a64cb18e6c39db5bde8f026eac">ost::SSLStream::disconnect</a></div><div class="ttdeci">void disconnect(void)</div></div>
<div class="ttc" id="classost_1_1_s_s_l_stream_html"><div class="ttname"><a href="classost_1_1_s_s_l_stream.html">ost::SSLStream</a></div><div class="ttdef"><b>Definition:</b> ssl.h:73</div></div>
<div class="ttc" id="classost_1_1_i_p_v4_host_html"><div class="ttname"><a href="classost_1_1_i_p_v4_host.html">ost::IPV4Host</a></div><div class="ttdoc">This object is used to hold the actual and valid internet address of a specific host machine that wil...</div><div class="ttdef"><b>Definition:</b> address.h:561</div></div>
<div class="ttc" id="classost_1_1_s_s_l_stream_html_afe35b0915bbe639991afeb950dfc47f9"><div class="ttname"><a href="classost_1_1_s_s_l_stream.html#afe35b0915bbe639991afeb950dfc47f9">ost::SSLStream::ssl</a></div><div class="ttdeci">SSL * ssl</div><div class="ttdef"><b>Definition:</b> ssl.h:76</div></div>
<div class="ttc" id="socket_8h_html"><div class="ttname"><a href="socket_8h.html">socket.h</a></div><div class="ttdoc">Network addresses and sockets related classes. </div></div>
<div class="ttc" id="namespaceost_html_a3c74a1a40c359fd349f3e3e1b96ebfc7"><div class="ttname"><a href="namespaceost.html#a3c74a1a40c359fd349f3e3e1b96ebfc7">ost::tpport_t</a></div><div class="ttdeci">unsigned short tpport_t</div><div class="ttdoc">Transport Protocol Ports. </div><div class="ttdef"><b>Definition:</b> address.h:86</div></div>
<div class="ttc" id="classost_1_1_i_p_v6_host_html"><div class="ttname"><a href="classost_1_1_i_p_v6_host.html">ost::IPV6Host</a></div><div class="ttdoc">This object is used to hold the actual and valid internet address of a specific host machine that wil...</div><div class="ttdef"><b>Definition:</b> address.h:948</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Oct 17 2013 23:24:57 for GNU CommonC++ by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>