~ubuntu-branches/ubuntu/trusty/pam-pkcs11/trusty-proposed

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
<!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>pam_pkcs11: pam_config.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.3 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</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><a href="dirs.html"><span>Directories</span></a></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>
  <div class="navpath"><a class="el" href="dir_55f9682142a78e45196901be32452b47.html">src</a>&nbsp;&raquo;&nbsp;<a class="el" href="dir_b1fb60ec93b2cda3cbf5ea3322ab5bc7.html">pam_pkcs11</a>
  </div>
</div>
<div class="contents">
<h1>pam_config.h</h1><a href="pam__config_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment"> * PKCS #11 PAM Login Module</span>
<a name="l00003"></a>00003 <span class="comment"> * Copyright (C) 2003 Mario Strasser &lt;mast@gmx.net&gt;,</span>
<a name="l00004"></a>00004 <span class="comment"> * config mgmt copyright (c) 2005 Juan Antonio Martinez &lt;jonsito@teleline.es&gt;</span>
<a name="l00005"></a>00005 <span class="comment"> *</span>
<a name="l00006"></a>00006 <span class="comment"> * This library is free software; you can redistribute it and/or</span>
<a name="l00007"></a>00007 <span class="comment"> * modify it under the terms of the GNU Lesser General Public</span>
<a name="l00008"></a>00008 <span class="comment"> * License as published by the Free Software Foundation; either</span>
<a name="l00009"></a>00009 <span class="comment"> * version 2.1 of the License, or (at your option) any later version.</span>
<a name="l00010"></a>00010 <span class="comment"> *</span>
<a name="l00011"></a>00011 <span class="comment"> * This library is distributed in the hope that it will be useful,</span>
<a name="l00012"></a>00012 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00013"></a>00013 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</span>
<a name="l00014"></a>00014 <span class="comment"> * Lesser General Public License for more details.</span>
<a name="l00015"></a>00015 <span class="comment"> *</span>
<a name="l00016"></a>00016 <span class="comment"> * $Id: pam_config.h 414 2010-04-07 14:09:42Z ludovic.rousseau $</span>
<a name="l00017"></a>00017 <span class="comment"> */</span>
<a name="l00018"></a>00018 
<a name="l00019"></a>00019 <span class="comment">/*</span>
<a name="l00020"></a>00020 <span class="comment">* configuration related functions</span>
<a name="l00021"></a>00021 <span class="comment">*/</span>
<a name="l00022"></a>00022 <span class="preprocessor">#ifndef _PAM_CONFIG_H_</span>
<a name="l00023"></a>00023 <span class="preprocessor"></span><span class="preprocessor">#define _PAM_CONFIG_H_</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span>
<a name="l00025"></a>00025 <span class="preprocessor">#include &quot;../scconf/scconf.h&quot;</span>
<a name="l00026"></a>00026 <span class="preprocessor">#include &quot;../common/cert_vfy.h&quot;</span>
<a name="l00027"></a>00027 
<a name="l00028"></a><a class="code" href="structconfiguration__st.html#ae470f89750d29fcf5ee65ee9cc8401b3">00028</a> <span class="keyword">struct </span><a class="code" href="structconfiguration__st.html">configuration_st</a> {
<a name="l00029"></a><a class="code" href="structconfiguration__st.html#af0b2df011c34f8fe634d743277c8b2e9">00029</a>         <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structconfiguration__st.html#ae470f89750d29fcf5ee65ee9cc8401b3">config_file</a>;
<a name="l00030"></a><a class="code" href="structconfiguration__st.html#ac3e1795766a80ec63b157951b4b9a7d4">00030</a>         <a class="code" href="structscconf__context.html">scconf_context</a> *<a class="code" href="structconfiguration__st.html#af0b2df011c34f8fe634d743277c8b2e9">ctx</a>;
<a name="l00031"></a><a class="code" href="structconfiguration__st.html#a4fd99a82f5c18e8d9498a082d5fead20">00031</a>         <span class="keywordtype">int</span> <a class="code" href="structconfiguration__st.html#ac3e1795766a80ec63b157951b4b9a7d4">debug</a>;
<a name="l00032"></a><a class="code" href="structconfiguration__st.html#a01e1623bc1eaa88121961d51ede0edd2">00032</a>         <span class="keywordtype">int</span> <a class="code" href="structconfiguration__st.html#a4fd99a82f5c18e8d9498a082d5fead20">nullok</a>;
<a name="l00033"></a><a class="code" href="structconfiguration__st.html#ad9fda1e7a699ee36eea07f121f32cdbb">00033</a>         <span class="keywordtype">int</span> <a class="code" href="structconfiguration__st.html#a01e1623bc1eaa88121961d51ede0edd2">try_first_pass</a>;
<a name="l00034"></a><a class="code" href="structconfiguration__st.html#aff1484fd9a16ff58d32123fe31e055f2">00034</a>         <span class="keywordtype">int</span> <a class="code" href="structconfiguration__st.html#ad9fda1e7a699ee36eea07f121f32cdbb">use_first_pass</a>;
<a name="l00035"></a><a class="code" href="structconfiguration__st.html#ac8cdcc195e421e824c7e0177c7c7a2ed">00035</a>         <span class="keywordtype">int</span> <a class="code" href="structconfiguration__st.html#aff1484fd9a16ff58d32123fe31e055f2">use_authok</a>;
<a name="l00036"></a><a class="code" href="structconfiguration__st.html#a08abc90f9dbaf52f04727d442d72e464">00036</a>         <span class="keywordtype">int</span> <a class="code" href="structconfiguration__st.html#ac8cdcc195e421e824c7e0177c7c7a2ed">card_only</a>;
<a name="l00037"></a><a class="code" href="structconfiguration__st.html#ac770e8e1af245d2bda3725cde9129cc0">00037</a>         <span class="keywordtype">int</span> <a class="code" href="structconfiguration__st.html#a08abc90f9dbaf52f04727d442d72e464">wait_for_card</a>;
<a name="l00038"></a><a class="code" href="structconfiguration__st.html#a2718dd6f019e3f5c280b033f441b6f33">00038</a>         <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structconfiguration__st.html#ac770e8e1af245d2bda3725cde9129cc0">pkcs11_module</a>;
<a name="l00039"></a><a class="code" href="structconfiguration__st.html#a53b6ccb7bbc6b39331bbe4cbe41785e3">00039</a>         <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structconfiguration__st.html#a2718dd6f019e3f5c280b033f441b6f33">pkcs11_modulepath</a>;
<a name="l00040"></a><a class="code" href="structconfiguration__st.html#aae8f3caa5e9eb3988e930e9c10cd941f">00040</a>         <span class="keyword">const</span> <span class="keywordtype">char</span> **<a class="code" href="structconfiguration__st.html#a53b6ccb7bbc6b39331bbe4cbe41785e3">screen_savers</a>;
<a name="l00041"></a><a class="code" href="structconfiguration__st.html#a0ee901702fdab81fdd8052f7e4d7f39c">00041</a>         <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structconfiguration__st.html#aae8f3caa5e9eb3988e930e9c10cd941f">slot_description</a>;
<a name="l00042"></a><a class="code" href="structconfiguration__st.html#a8bcf65b1c5cbf560082d91ee91403d14">00042</a>         <span class="keywordtype">int</span> <a class="code" href="structconfiguration__st.html#a0ee901702fdab81fdd8052f7e4d7f39c">slot_num</a>;
<a name="l00043"></a><a class="code" href="structconfiguration__st.html#aa8b12fc445dcfa4a31ef8b39578a523d">00043</a>         <span class="keywordtype">int</span> <a class="code" href="structconfiguration__st.html#a8bcf65b1c5cbf560082d91ee91403d14">support_threads</a>;
<a name="l00044"></a><a class="code" href="structconfiguration__st.html#a1c0dd070a6d7b16be08ac0dd431c8d9b">00044</a>         <a class="code" href="structcert__policy__st.html">cert_policy</a> <a class="code" href="structconfiguration__st.html#aa8b12fc445dcfa4a31ef8b39578a523d">policy</a>;
<a name="l00045"></a><a class="code" href="structconfiguration__st.html#aba2dfcdfda80edcb531a5a7115d3e043">00045</a>         <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structconfiguration__st.html#a1c0dd070a6d7b16be08ac0dd431c8d9b">token_type</a>;
<a name="l00046"></a><a class="code" href="structconfiguration__st.html#a55602ca214fb365e8deef9a73c8442e7">00046</a>         <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structconfiguration__st.html#aba2dfcdfda80edcb531a5a7115d3e043">username</a>; <span class="comment">/* provided user name */</span>
<a name="l00047"></a>00047         <span class="keywordtype">int</span> <a class="code" href="structconfiguration__st.html#a55602ca214fb365e8deef9a73c8442e7">quiet</a>;
<a name="l00048"></a>00048 };
<a name="l00049"></a>00049 
<a name="l00050"></a>00050 <span class="keyword">struct </span><a class="code" href="structconfiguration__st.html">configuration_st</a> *<a class="code" href="pam__config_8h.html#ae11cd64c90461c3b086bf913d9ecc5f2">pk_configure</a>( <span class="keywordtype">int</span> argc, <span class="keyword">const</span> <span class="keywordtype">char</span> **argv );
<a name="l00051"></a>00051 
<a name="l00052"></a>00052 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Sat Jun 12 17:28:15 2010 for pam_pkcs11 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>