xref: /freebsd/crypto/heimdal/doc/doxyout/hx509/html/group__hx509.html (revision 02e9120893770924227138ba49df1edb3896112a)
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3<title>Heimdalx509library: hx509 library</title>
4<link href="doxygen.css" rel="stylesheet" type="text/css">
5<link href="tabs.css" rel="stylesheet" type="text/css">
6</head><body>
7<p>
8<a href="http://www.h5l.org/"><img src="http://www.h5l.org/keyhole-heimdal.png" alt="keyhole logo"/></a>
9</p>
10<!-- end of header marker -->
11<!-- Generated by Doxygen 1.5.6 -->
12<div class="navigation" id="top">
13  <div class="tabs">
14    <ul>
15      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
16      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
17      <li><a href="modules.html"><span>Modules</span></a></li>
18    </ul>
19  </div>
20</div>
21<div class="contents">
22<h1>hx509 library</h1><table border="0" cellpadding="0" cellspacing="0">
23<tr><td></td></tr>
24<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
25<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509.html#g96fe3d8ccb6f810238cb9046123c24c3">hx509_context_init</a> (hx509_context *context)</td></tr>
26
27<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509.html#gedbcd7cf7d922d0c348d318cbdc46b2f">hx509_context_free</a> (hx509_context *context)</td></tr>
28
29</table>
30<hr><a name="_details"></a><h2>Detailed Description</h2>
31<hr><h2>Function Documentation</h2>
32<a class="anchor" name="gedbcd7cf7d922d0c348d318cbdc46b2f"></a><!-- doxytag: member="cert.c::hx509_context_free" ref="gedbcd7cf7d922d0c348d318cbdc46b2f" args="(hx509_context *context)" -->
33<div class="memitem">
34<div class="memproto">
35      <table class="memname">
36        <tr>
37          <td class="memname">void hx509_context_free           </td>
38          <td>(</td>
39          <td class="paramtype">hx509_context *&nbsp;</td>
40          <td class="paramname"> <em>context</em>          </td>
41          <td>&nbsp;)&nbsp;</td>
42          <td></td>
43        </tr>
44      </table>
45</div>
46<div class="memdoc">
47
48<p>
49Free the context allocated by <a class="el" href="group__hx509.html#g96fe3d8ccb6f810238cb9046123c24c3">hx509_context_init()</a>.<p>
50<dl compact><dt><b>Parameters:</b></dt><dd>
51  <table border="0" cellspacing="2" cellpadding="0">
52    <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>context to be freed. </td></tr>
53  </table>
54</dl>
55
56</div>
57</div><p>
58<a class="anchor" name="g96fe3d8ccb6f810238cb9046123c24c3"></a><!-- doxytag: member="cert.c::hx509_context_init" ref="g96fe3d8ccb6f810238cb9046123c24c3" args="(hx509_context *context)" -->
59<div class="memitem">
60<div class="memproto">
61      <table class="memname">
62        <tr>
63          <td class="memname">int hx509_context_init           </td>
64          <td>(</td>
65          <td class="paramtype">hx509_context *&nbsp;</td>
66          <td class="paramname"> <em>context</em>          </td>
67          <td>&nbsp;)&nbsp;</td>
68          <td></td>
69        </tr>
70      </table>
71</div>
72<div class="memdoc">
73
74<p>
75Creates a hx509 context that most functions in the library uses. The context is only allowed to be used by one thread at each moment. Free the context with <a class="el" href="group__hx509.html#gedbcd7cf7d922d0c348d318cbdc46b2f">hx509_context_free()</a>.<p>
76<dl compact><dt><b>Parameters:</b></dt><dd>
77  <table border="0" cellspacing="2" cellpadding="0">
78    <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>Returns a pointer to new hx509 context.</td></tr>
79  </table>
80</dl>
81<dl class="return" compact><dt><b>Returns:</b></dt><dd>Returns an hx509 error code. </dd></dl>
82
83</div>
84</div><p>
85</div>
86<hr size="1"><address style="text-align: right;"><small>
87Generated on Wed Jan 11 14:07:40 2012 for Heimdalx509library by&nbsp;<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6</small></address>
88</body>
89</html>
90