Sophie

Sophie

distrib > Mandriva > current > i586 > media > main-updates > by-pkgid > 7c859c6f61469ed11e2ab179848b0178 > files > 87

libapr-util-devel-1.4.1-0.1mdv2010.2.i586.rpm

<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!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"/>
<title>Apache Portable Runtime Utility Library: include/apr_ldap_option.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.6.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Search" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<h1>include/apr_ldap_option.h</h1><a href="apr__ldap__option_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* Licensed to the Apache Software Foundation (ASF) under one or more</span>
<a name="l00002"></a>00002 <span class="comment"> * contributor license agreements.  See the NOTICE file distributed with</span>
<a name="l00003"></a>00003 <span class="comment"> * this work for additional information regarding copyright ownership.</span>
<a name="l00004"></a>00004 <span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span>
<a name="l00005"></a>00005 <span class="comment"> * (the &quot;License&quot;); you may not use this file except in compliance with</span>
<a name="l00006"></a>00006 <span class="comment"> * the License.  You may obtain a copy of the License at</span>
<a name="l00007"></a>00007 <span class="comment"> *</span>
<a name="l00008"></a>00008 <span class="comment"> *     http://www.apache.org/licenses/LICENSE-2.0</span>
<a name="l00009"></a>00009 <span class="comment"> *</span>
<a name="l00010"></a>00010 <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span>
<a name="l00011"></a>00011 <span class="comment"> * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span>
<a name="l00012"></a>00012 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
<a name="l00013"></a>00013 <span class="comment"> * See the License for the specific language governing permissions and</span>
<a name="l00014"></a>00014 <span class="comment"> * limitations under the License.</span>
<a name="l00015"></a>00015 <span class="comment"> */</span>
<a name="l00016"></a>00016 
<a name="l00021"></a>00021 <span class="preprocessor">#ifndef APR_LDAP_OPTION_H</span>
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor">#define APR_LDAP_OPTION_H</span>
<a name="l00023"></a>00023 <span class="preprocessor"></span>
<a name="l00029"></a>00029 <span class="preprocessor">#include &quot;<a class="code" href="apr__ldap_8h.html" title="APR-UTIL LDAP.">apr_ldap.h</a>&quot;</span>
<a name="l00030"></a>00030 
<a name="l00031"></a>00031 <span class="preprocessor">#if APR_HAS_LDAP</span>
<a name="l00032"></a>00032 <span class="preprocessor"></span>
<a name="l00033"></a>00033 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00034"></a>00034 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {
<a name="l00035"></a>00035 <span class="preprocessor">#endif </span><span class="comment">/* __cplusplus */</span>
<a name="l00036"></a>00036 
<a name="l00037"></a>00037 <span class="comment">/*</span>
<a name="l00038"></a>00038 <span class="comment"> * The following defines handle the different TLS certificate</span>
<a name="l00039"></a>00039 <span class="comment"> * options available. If these options are missing, APR will try and</span>
<a name="l00040"></a>00040 <span class="comment"> * emulate support for this using the deprecated ldap_start_tls_s()</span>
<a name="l00041"></a>00041 <span class="comment"> * function.</span>
<a name="l00042"></a>00042 <span class="comment"> */</span>
<a name="l00047"></a><a class="code" href="group___a_p_r___util___l_d_a_p.html#gae3eda4797aebb6dadeb5876c0f7f4b0b">00047</a> <span class="preprocessor">#define APR_LDAP_OPT_TLS 0x6fff</span>
<a name="l00048"></a>00048 <span class="preprocessor"></span>
<a name="l00052"></a><a class="code" href="group___a_p_r___util___l_d_a_p.html#gaa36993968e0225cb175eb17039337433">00052</a> <span class="preprocessor">#define APR_LDAP_OPT_TLS_CERT 0x6ffe</span>
<a name="l00053"></a>00053 <span class="preprocessor"></span>
<a name="l00057"></a><a class="code" href="group___a_p_r___util___l_d_a_p.html#ga30949c4b417283ea02049267a5b7b1b1">00057</a> <span class="preprocessor">#define APR_LDAP_OPT_VERIFY_CERT 0x6ffd</span>
<a name="l00058"></a>00058 <span class="preprocessor"></span>
<a name="l00062"></a><a class="code" href="group___a_p_r___util___l_d_a_p.html#gaaa1fbd408f4d18c39ef5332f8d0f4745">00062</a> <span class="preprocessor">#define APR_LDAP_OPT_REFERRALS 0x6ffc</span>
<a name="l00063"></a>00063 <span class="preprocessor"></span>
<a name="l00067"></a><a class="code" href="group___a_p_r___util___l_d_a_p.html#ga3dcf151b8758dae4ccf86d1cf26f4bfc">00067</a> <span class="preprocessor">#define APR_LDAP_OPT_REFHOPLIMIT 0x6ffb</span>
<a name="l00068"></a>00068 <span class="preprocessor"></span>
<a name="l00120"></a><a class="code" href="group___a_p_r___util___l_d_a_p.html#ga90551ccd55675410d148e1396d708585">00120</a> <span class="preprocessor">#define APR_LDAP_CA_TYPE_UNKNOWN    0</span>
<a name="l00121"></a>00121 <span class="preprocessor"></span>
<a name="l00122"></a><a class="code" href="group___a_p_r___util___l_d_a_p.html#gab5336a116c3881aa68ea5fe81c6cebce">00122</a> <span class="preprocessor">#define APR_LDAP_CA_TYPE_DER        1</span>
<a name="l00123"></a>00123 <span class="preprocessor"></span>
<a name="l00124"></a><a class="code" href="group___a_p_r___util___l_d_a_p.html#ga873a9f3a55f8345e79314bcff4d2da63">00124</a> <span class="preprocessor">#define APR_LDAP_CA_TYPE_BASE64     2</span>
<a name="l00125"></a>00125 <span class="preprocessor"></span>
<a name="l00126"></a><a class="code" href="group___a_p_r___util___l_d_a_p.html#gab52397cf2a484bf259c8057292baf277">00126</a> <span class="preprocessor">#define APR_LDAP_CA_TYPE_CERT7_DB   3</span>
<a name="l00127"></a>00127 <span class="preprocessor"></span>
<a name="l00128"></a><a class="code" href="group___a_p_r___util___l_d_a_p.html#gae31e900be314a4a41d6b4a80c77fc0a5">00128</a> <span class="preprocessor">#define APR_LDAP_CA_TYPE_SECMOD     4</span>
<a name="l00129"></a>00129 <span class="preprocessor"></span>
<a name="l00130"></a><a class="code" href="group___a_p_r___util___l_d_a_p.html#ga330f63f481bdd6d1a2cd11b2f00931f9">00130</a> <span class="preprocessor">#define APR_LDAP_CERT_TYPE_UNKNOWN  5</span>
<a name="l00131"></a>00131 <span class="preprocessor"></span>
<a name="l00132"></a><a class="code" href="group___a_p_r___util___l_d_a_p.html#ga83bb061671b300a894b9da953389ce5d">00132</a> <span class="preprocessor">#define APR_LDAP_CERT_TYPE_DER      6</span>
<a name="l00133"></a>00133 <span class="preprocessor"></span>
<a name="l00134"></a><a class="code" href="group___a_p_r___util___l_d_a_p.html#ga4e1047465f7938aa4f18602289dbdb75">00134</a> <span class="preprocessor">#define APR_LDAP_CERT_TYPE_BASE64   7</span>
<a name="l00135"></a>00135 <span class="preprocessor"></span>
<a name="l00136"></a><a class="code" href="group___a_p_r___util___l_d_a_p.html#gaabac1737dbe1c96cb71087cf3225cf33">00136</a> <span class="preprocessor">#define APR_LDAP_CERT_TYPE_KEY3_DB  8</span>
<a name="l00137"></a>00137 <span class="preprocessor"></span>
<a name="l00138"></a><a class="code" href="group___a_p_r___util___l_d_a_p.html#ga126182df3d24a1144e661fd1c076de62">00138</a> <span class="preprocessor">#define APR_LDAP_CERT_TYPE_NICKNAME 9</span>
<a name="l00139"></a>00139 <span class="preprocessor"></span>
<a name="l00140"></a><a class="code" href="group___a_p_r___util___l_d_a_p.html#ga4ec017388c41432a6a255ecb28e0ae2d">00140</a> <span class="preprocessor">#define APR_LDAP_KEY_TYPE_UNKNOWN   10</span>
<a name="l00141"></a>00141 <span class="preprocessor"></span>
<a name="l00142"></a><a class="code" href="group___a_p_r___util___l_d_a_p.html#ga028ac0e4cb1e00fc43509d7d568b5495">00142</a> <span class="preprocessor">#define APR_LDAP_KEY_TYPE_DER       11</span>
<a name="l00143"></a>00143 <span class="preprocessor"></span>
<a name="l00144"></a><a class="code" href="group___a_p_r___util___l_d_a_p.html#ga13aa9e6dbfe8aa898d139bfc7ae606d1">00144</a> <span class="preprocessor">#define APR_LDAP_KEY_TYPE_BASE64    12</span>
<a name="l00145"></a>00145 <span class="preprocessor"></span>
<a name="l00146"></a><a class="code" href="group___a_p_r___util___l_d_a_p.html#ga6dda2a079c113e3d73b3dcae58b98357">00146</a> <span class="preprocessor">#define APR_LDAP_CERT_TYPE_PFX      13</span>
<a name="l00147"></a>00147 <span class="preprocessor"></span>
<a name="l00148"></a><a class="code" href="group___a_p_r___util___l_d_a_p.html#ga643e937d04527c8d0001cd4ee92102e5">00148</a> <span class="preprocessor">#define APR_LDAP_KEY_TYPE_PFX       14</span>
<a name="l00149"></a>00149 <span class="preprocessor"></span>
<a name="l00152"></a><a class="code" href="group___a_p_r___util___l_d_a_p.html#ga70f4f4bff0ed16ad8eae0f3362f34196">00152</a> <span class="preprocessor">#define APR_LDAP_CA_TYPE_CACERTDIR_BASE64 15</span>
<a name="l00153"></a>00153 <span class="preprocessor"></span>
<a name="l00154"></a>00154 
<a name="l00165"></a><a class="code" href="group___a_p_r___util___l_d_a_p.html#gaf933e3d717b8cf88b72bf45ff3906e24">00165</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structapr__ldap__opt__tls__cert__t.html">apr_ldap_opt_tls_cert_t</a> <a class="code" href="structapr__ldap__opt__tls__cert__t.html">apr_ldap_opt_tls_cert_t</a>;
<a name="l00166"></a><a class="code" href="structapr__ldap__opt__tls__cert__t.html">00166</a> <span class="keyword">struct </span><a class="code" href="structapr__ldap__opt__tls__cert__t.html">apr_ldap_opt_tls_cert_t</a> {
<a name="l00167"></a>00167     <span class="keywordtype">int</span> type;
<a name="l00168"></a>00168     <span class="keyword">const</span> <span class="keywordtype">char</span> *path;
<a name="l00169"></a>00169     <span class="keyword">const</span> <span class="keywordtype">char</span> *password;
<a name="l00170"></a>00170 };
<a name="l00171"></a>00171 
<a name="l00197"></a><a class="code" href="group___a_p_r___util___l_d_a_p.html#ga005b3c879760af5d38f9dbd2e910c695">00197</a> <span class="preprocessor">#define APR_LDAP_NONE 0</span>
<a name="l00198"></a>00198 <span class="preprocessor"></span>
<a name="l00199"></a><a class="code" href="group___a_p_r___util___l_d_a_p.html#ga5e7057df19b0271f8776db8d9a5be863">00199</a> <span class="preprocessor">#define APR_LDAP_SSL 1</span>
<a name="l00200"></a>00200 <span class="preprocessor"></span>
<a name="l00201"></a><a class="code" href="group___a_p_r___util___l_d_a_p.html#gae3b6991b3392ca2061bad18a13a2802f">00201</a> <span class="preprocessor">#define APR_LDAP_STARTTLS 2</span>
<a name="l00202"></a>00202 <span class="preprocessor"></span>
<a name="l00203"></a><a class="code" href="group___a_p_r___util___l_d_a_p.html#gaf3b98ab3a6da25e4f3d1a4ed17106960">00203</a> <span class="preprocessor">#define APR_LDAP_STOPTLS 3</span>
<a name="l00204"></a>00204 <span class="preprocessor"></span>
<a name="l00217"></a>00217 APU_DECLARE_LDAP(<span class="keywordtype">int</span>) <a class="code" href="group___a_p_r___util___l_d_a_p.html#gaaeff4c9127a45e467490f8fb7648e946">apr_ldap_get_option</a>(apr_pool_t *pool,
<a name="l00218"></a>00218                                           LDAP *ldap,
<a name="l00219"></a>00219                                           <span class="keywordtype">int</span> option,
<a name="l00220"></a>00220                                           <span class="keywordtype">void</span> *outvalue,
<a name="l00221"></a>00221                                           <a class="code" href="structapr__ldap__err__t.html">apr_ldap_err_t</a> **result_err);
<a name="l00222"></a>00222 
<a name="l00239"></a>00239 APU_DECLARE_LDAP(<span class="keywordtype">int</span>) <a class="code" href="group___a_p_r___util___l_d_a_p.html#gada266c693bc5ad7a336bd3965a09b7ba">apr_ldap_set_option</a>(apr_pool_t *pool,
<a name="l00240"></a>00240                                           LDAP *ldap,
<a name="l00241"></a>00241                                           <span class="keywordtype">int</span> option,
<a name="l00242"></a>00242                                           const <span class="keywordtype">void</span> *invalue,
<a name="l00243"></a>00243                                           <a class="code" href="structapr__ldap__err__t.html">apr_ldap_err_t</a> **result_err);
<a name="l00244"></a>00244 
<a name="l00245"></a>00245 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00246"></a>00246 <span class="preprocessor"></span>}
<a name="l00247"></a>00247 <span class="preprocessor">#endif</span>
<a name="l00248"></a>00248 <span class="preprocessor"></span>
<a name="l00249"></a>00249 <span class="preprocessor">#endif </span><span class="comment">/* APR_HAS_LDAP */</span>
<a name="l00250"></a>00250 
<a name="l00253"></a>00253 <span class="preprocessor">#endif </span><span class="comment">/* APR_LDAP_OPTION_H */</span>
<a name="l00254"></a>00254 
</pre></div></div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&nbsp;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&nbsp;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&nbsp;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address style="text-align: right;"><small>Generated on Wed Feb 1 12:19:48 2012 for Apache Portable Runtime Utility Library by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>