aboutsummaryrefslogtreecommitdiffstats
path: root/doc/doxyout/hx509/html/group__hx509__env.html
blob: 15695270624162dd1c88c5cb364794339960f59c (plain) (blame)
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>hx509 environment functions</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<p>
<a href="http://www.h5l.org/"><img src="http://www.h5l.org/keyhole-heimdal.png" alt="keyhole logo"/></a>
</p>
<!-- end of header marker -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">hx509 environment functions</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gad60c343e1400c16df1e2f00d2bdff9e9"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__env.html#gad60c343e1400c16df1e2f00d2bdff9e9">hx509_env_add</a> (hx509_context context, hx509_env *env, const char *key, const char *value)</td></tr>
<tr class="separator:gad60c343e1400c16df1e2f00d2bdff9e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf08b9d284b8845a7ce14ef1b21ec1adf"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__env.html#gaf08b9d284b8845a7ce14ef1b21ec1adf">hx509_env_add_binding</a> (hx509_context context, hx509_env *env, const char *key, hx509_env list)</td></tr>
<tr class="separator:gaf08b9d284b8845a7ce14ef1b21ec1adf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa4be057dabba9197ad9ada2594ad36e8"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__env.html#gaa4be057dabba9197ad9ada2594ad36e8">hx509_env_lfind</a> (hx509_context context, hx509_env env, const char *key, size_t len)</td></tr>
<tr class="separator:gaa4be057dabba9197ad9ada2594ad36e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7e481b337974e7474f8bc7bd9199af13"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__env.html#ga7e481b337974e7474f8bc7bd9199af13">hx509_env_find</a> (hx509_context context, hx509_env env, const char *key)</td></tr>
<tr class="separator:ga7e481b337974e7474f8bc7bd9199af13"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9f2ea48c27a58b690a218c44fd4c90a6"><td class="memItemLeft" align="right" valign="top">hx509_env&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__env.html#ga9f2ea48c27a58b690a218c44fd4c90a6">hx509_env_find_binding</a> (hx509_context context, hx509_env env, const char *key)</td></tr>
<tr class="separator:ga9f2ea48c27a58b690a218c44fd4c90a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf5587becc945154ca8c6f1795db5c8da"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__env.html#gaf5587becc945154ca8c6f1795db5c8da">hx509_env_free</a> (hx509_env *env)</td></tr>
<tr class="separator:gaf5587becc945154ca8c6f1795db5c8da"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Function Documentation</h2>
<a id="gad60c343e1400c16df1e2f00d2bdff9e9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad60c343e1400c16df1e2f00d2bdff9e9">&#9670;&nbsp;</a></span>hx509_env_add()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int hx509_env_add </td>
          <td>(</td>
          <td class="paramtype">hx509_context&#160;</td>
          <td class="paramname"><em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">hx509_env *&#160;</td>
          <td class="paramname"><em>env</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Add a new key/value pair to the hx509_env.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">context</td><td>A hx509 context. </td></tr>
    <tr><td class="paramname">env</td><td>environment to add the environment variable too. </td></tr>
    <tr><td class="paramname">key</td><td>key to add </td></tr>
    <tr><td class="paramname">value</td><td>value to add</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#ga15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. </dd></dl>

</div>
</div>
<a id="gaf08b9d284b8845a7ce14ef1b21ec1adf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf08b9d284b8845a7ce14ef1b21ec1adf">&#9670;&nbsp;</a></span>hx509_env_add_binding()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int hx509_env_add_binding </td>
          <td>(</td>
          <td class="paramtype">hx509_context&#160;</td>
          <td class="paramname"><em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">hx509_env *&#160;</td>
          <td class="paramname"><em>env</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">hx509_env&#160;</td>
          <td class="paramname"><em>list</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Add a new key/binding pair to the hx509_env.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">context</td><td>A hx509 context. </td></tr>
    <tr><td class="paramname">env</td><td>environment to add the environment variable too. </td></tr>
    <tr><td class="paramname">key</td><td>key to add </td></tr>
    <tr><td class="paramname">list</td><td>binding list to add</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#ga15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. </dd></dl>

</div>
</div>
<a id="ga7e481b337974e7474f8bc7bd9199af13"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7e481b337974e7474f8bc7bd9199af13">&#9670;&nbsp;</a></span>hx509_env_find()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* hx509_env_find </td>
          <td>(</td>
          <td class="paramtype">hx509_context&#160;</td>
          <td class="paramname"><em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">hx509_env&#160;</td>
          <td class="paramname"><em>env</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>key</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Search the hx509_env for a key.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">context</td><td>A hx509 context. </td></tr>
    <tr><td class="paramname">env</td><td>environment to add the environment variable too. </td></tr>
    <tr><td class="paramname">key</td><td>key to search for.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the value if the key is found, NULL otherwise. </dd></dl>

</div>
</div>
<a id="ga9f2ea48c27a58b690a218c44fd4c90a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9f2ea48c27a58b690a218c44fd4c90a6">&#9670;&nbsp;</a></span>hx509_env_find_binding()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">hx509_env hx509_env_find_binding </td>
          <td>(</td>
          <td class="paramtype">hx509_context&#160;</td>
          <td class="paramname"><em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">hx509_env&#160;</td>
          <td class="paramname"><em>env</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>key</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Search the hx509_env for a binding.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">context</td><td>A hx509 context. </td></tr>
    <tr><td class="paramname">env</td><td>environment to add the environment variable too. </td></tr>
    <tr><td class="paramname">key</td><td>key to search for.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the binding if the key is found, NULL if not found. </dd></dl>

</div>
</div>
<a id="gaf5587becc945154ca8c6f1795db5c8da"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf5587becc945154ca8c6f1795db5c8da">&#9670;&nbsp;</a></span>hx509_env_free()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void hx509_env_free </td>
          <td>(</td>
          <td class="paramtype">hx509_env *&#160;</td>
          <td class="paramname"><em>env</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Free an hx509_env environment context.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">env</td><td>the environment to free. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gaa4be057dabba9197ad9ada2594ad36e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa4be057dabba9197ad9ada2594ad36e8">&#9670;&nbsp;</a></span>hx509_env_lfind()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* hx509_env_lfind </td>
          <td>(</td>
          <td class="paramtype">hx509_context&#160;</td>
          <td class="paramname"><em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">hx509_env&#160;</td>
          <td class="paramname"><em>env</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>len</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Search the hx509_env for a length based key.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">context</td><td>A hx509 context. </td></tr>
    <tr><td class="paramname">env</td><td>environment to add the environment variable too. </td></tr>
    <tr><td class="paramname">key</td><td>key to search for. </td></tr>
    <tr><td class="paramname">len</td><td>length of key.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the value if the key is found, NULL otherwise. </dd></dl>

</div>
</div>
</div><!-- contents -->
<hr size="1"><address style="text-align: right;"><small>
Generated on Fri Dec 8 2017 03:48:58 for Heimdalx509library by&nbsp;<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.8.13</small></address>
</body>
</html>