/usr/share/gtk-doc/html/p11-kit/sharing-initialize.html is in libp11-kit-dev 0.12-2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Solution: p11-kit</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="p11-kit">
<link rel="up" href="sharing.html" title="Sharing PKCS#11 modules">
<link rel="prev" href="sharing.html" title="Sharing PKCS#11 modules">
<link rel="next" href="sharing-module.html" title="Solution: proxy module">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
<td><a accesskey="p" href="sharing.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="sharing.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">p11-kit</th>
<td><a accesskey="n" href="sharing-module.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr></table>
<div class="section">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="sharing-initialize"></a>Solution: p11-kit</h2></div></div></div>
<p><code class="literal">p11-kit</code> provides functions to
coordinate initialization and finalization of any PKCS#11
module. A module may be initialized any number of times using
the p11_kit_initialize_module() function. The first time that
p11_kit_initialize_module() is called for a module, that module's
C_Initialize function is used. Later invocations for the same
module cause p11-kit to increment an internal initialization
count, rather than calling C_Initialize again.</p>
<p>The p11_kit_finalize_module() is used to finalize a module.
Each time it is called it decrements the internal initialization
count for that module. When the internal initialization count
reaches zero, the module's C_Finalize function is called.</p>
<p>This is done in a thread-safe manner. These functions can
be used on modules that the consumer loads themselves.</p>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.18</div>
</body>
</html>
|