File: internal_8h_source.html

package info (click to toggle)
pam-pkcs11 0.6.4-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 7,512 kB
  • ctags: 7,477
  • sloc: ansic: 12,651; sh: 10,824; xml: 2,756; makefile: 231; lex: 92
file content (95 lines) | stat: -rw-r--r-- 10,332 bytes parent folder | download
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
<!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: internal.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_cc481a42a914fe65d2d9fe5e9954ddb4.html">scconf</a>
  </div>
</div>
<div class="contents">
<h1>internal.h</h1><a href="internal_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"> * $Id: internal.h 233 2007-04-04 09:52:54Z ludovic.rousseau $</span>
<a name="l00003"></a>00003 <span class="comment"> *</span>
<a name="l00004"></a>00004 <span class="comment"> * Copyright (C) 2002</span>
<a name="l00005"></a>00005 <span class="comment"> *  Antti Tapaninen &lt;aet@cc.hut.fi&gt;</span>
<a name="l00006"></a>00006 <span class="comment"> *</span>
<a name="l00007"></a>00007 <span class="comment"> * This library is free software; you can redistribute it and/or</span>
<a name="l00008"></a>00008 <span class="comment"> * modify it under the terms of the GNU Lesser General Public</span>
<a name="l00009"></a>00009 <span class="comment"> * License as published by the Free Software Foundation; either</span>
<a name="l00010"></a>00010 <span class="comment"> * version 2.1 of the License, or (at your option) any later version.</span>
<a name="l00011"></a>00011 <span class="comment"> *</span>
<a name="l00012"></a>00012 <span class="comment"> * This library is distributed in the hope that it will be useful,</span>
<a name="l00013"></a>00013 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00014"></a>00014 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</span>
<a name="l00015"></a>00015 <span class="comment"> * Lesser General Public License for more details.</span>
<a name="l00016"></a>00016 <span class="comment"> *</span>
<a name="l00017"></a>00017 <span class="comment"> * You should have received a copy of the GNU Lesser General Public</span>
<a name="l00018"></a>00018 <span class="comment"> * License along with this library; if not, write to the Free Software</span>
<a name="l00019"></a>00019 <span class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA</span>
<a name="l00020"></a>00020 <span class="comment"> */</span>
<a name="l00021"></a>00021 
<a name="l00022"></a>00022 <span class="preprocessor">#ifndef _SCCONF_INTERNAL_H</span>
<a name="l00023"></a>00023 <span class="preprocessor"></span><span class="preprocessor">#define _SCCONF_INTERNAL_H</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span>
<a name="l00025"></a>00025 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00026"></a>00026 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {
<a name="l00027"></a>00027 <span class="preprocessor">#endif</span>
<a name="l00028"></a>00028 <span class="preprocessor"></span>
<a name="l00029"></a><a class="code" href="internal_8h.html#a8acd3ede2668d83e517746109c138b4d">00029</a> <span class="preprocessor">#define TOKEN_TYPE_COMMENT      0</span>
<a name="l00030"></a><a class="code" href="internal_8h.html#a7122c983155f57f5b646c3218427974b">00030</a> <span class="preprocessor"></span><span class="preprocessor">#define TOKEN_TYPE_NEWLINE      1</span>
<a name="l00031"></a><a class="code" href="internal_8h.html#af6e21f6eb6cf1982ac1e3ee5462b917f">00031</a> <span class="preprocessor"></span><span class="preprocessor">#define TOKEN_TYPE_STRING       2</span>
<a name="l00032"></a><a class="code" href="internal_8h.html#a5179891e928f9636efa0d14e75e1a261">00032</a> <span class="preprocessor"></span><span class="preprocessor">#define TOKEN_TYPE_PUNCT        3</span>
<a name="l00033"></a>00033 <span class="preprocessor"></span>
<a name="l00034"></a><a class="code" href="struct__scconf__parser.html">00034</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct__scconf__parser.html">_scconf_parser</a> {
<a name="l00035"></a><a class="code" href="struct__scconf__parser.html#acfd270beac6237ae62da91e9488adc55">00035</a>         <a class="code" href="structscconf__context.html">scconf_context</a> *<a class="code" href="struct__scconf__parser.html#acfd270beac6237ae62da91e9488adc55">config</a>;
<a name="l00036"></a>00036 
<a name="l00037"></a><a class="code" href="struct__scconf__parser.html#abba81c977d8901de66b169a60d8481e1">00037</a>         <a class="code" href="struct__scconf__block.html">scconf_block</a> *<a class="code" href="struct__scconf__parser.html#abba81c977d8901de66b169a60d8481e1">block</a>;
<a name="l00038"></a><a class="code" href="struct__scconf__parser.html#a7c9f5b49f0bf712754fe84f3cc2ea29a">00038</a>         <a class="code" href="struct__scconf__item.html">scconf_item</a> *<a class="code" href="struct__scconf__parser.html#a7c9f5b49f0bf712754fe84f3cc2ea29a">last_item</a>, *<a class="code" href="struct__scconf__parser.html#a5f21cf63183c24d91d17fafc92da4e6d">current_item</a>;
<a name="l00039"></a>00039 
<a name="l00040"></a><a class="code" href="struct__scconf__parser.html#a5892a9181e6a332f84d27aecd41dcd12">00040</a>         <span class="keywordtype">char</span> *<a class="code" href="struct__scconf__parser.html#a5892a9181e6a332f84d27aecd41dcd12">key</a>;
<a name="l00041"></a><a class="code" href="struct__scconf__parser.html#a0c0f0d9b82294b198e07f8385904e1c2">00041</a>         <a class="code" href="struct__scconf__list.html">scconf_list</a> *<a class="code" href="struct__scconf__parser.html#a0c0f0d9b82294b198e07f8385904e1c2">name</a>;
<a name="l00042"></a>00042 
<a name="l00043"></a><a class="code" href="struct__scconf__parser.html#a89f234133d3efe315836311cbf21c64b">00043</a>         <span class="keywordtype">int</span> <a class="code" href="struct__scconf__parser.html#a89f234133d3efe315836311cbf21c64b">state</a>;
<a name="l00044"></a><a class="code" href="struct__scconf__parser.html#adb4f3c47fbd778c25e7a01c1620be16d">00044</a>         <span class="keywordtype">int</span> <a class="code" href="struct__scconf__parser.html#adb4f3c47fbd778c25e7a01c1620be16d">last_token_type</a>;
<a name="l00045"></a><a class="code" href="struct__scconf__parser.html#a41ebd28ef1d7c6ade45642cb6acc1039">00045</a>         <span class="keywordtype">int</span> <a class="code" href="struct__scconf__parser.html#a41ebd28ef1d7c6ade45642cb6acc1039">line</a>;
<a name="l00046"></a>00046 
<a name="l00047"></a><a class="code" href="struct__scconf__parser.html#a0e9d9d47133fce0cb42e2b8c009f0a33">00047</a>         <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="struct__scconf__parser.html#a0e9d9d47133fce0cb42e2b8c009f0a33">error</a>:1;
<a name="l00048"></a><a class="code" href="struct__scconf__parser.html#a1692abafd011506c458c0bda2b9459ea">00048</a>         <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="struct__scconf__parser.html#a1692abafd011506c458c0bda2b9459ea">warnings</a>:1;
<a name="l00049"></a><a class="code" href="struct__scconf__parser.html#a3cce0da3228d21258aa9ea44fcd0df60">00049</a>         <span class="keywordtype">char</span> <a class="code" href="struct__scconf__parser.html#a3cce0da3228d21258aa9ea44fcd0df60">emesg</a>[256];
<a name="l00050"></a>00050 } <a class="code" href="struct__scconf__parser.html">scconf_parser</a>;
<a name="l00051"></a>00051 
<a name="l00052"></a>00052 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="internal_8h.html#a20cbbb1558b7af36dbb2cf560afff134">scconf_lex_parse</a>(<a class="code" href="struct__scconf__parser.html">scconf_parser</a> * parser, <span class="keyword">const</span> <span class="keywordtype">char</span> *filename);
<a name="l00053"></a>00053 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="internal_8h.html#a0651057f2c200095e0740d4f60e1603e">scconf_lex_parse_string</a>(<a class="code" href="struct__scconf__parser.html">scconf_parser</a> * parser,
<a name="l00054"></a>00054                                    <span class="keyword">const</span> <span class="keywordtype">char</span> *config_string);
<a name="l00055"></a>00055 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="internal_8h.html#a86157afce36ee98908a9da56ec6cbd23">scconf_parse_token</a>(<a class="code" href="struct__scconf__parser.html">scconf_parser</a> * parser, <span class="keywordtype">int</span> token_type, <span class="keyword">const</span> <span class="keywordtype">char</span> *token);
<a name="l00056"></a>00056 
<a name="l00057"></a>00057 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00058"></a>00058 <span class="preprocessor"></span>}
<a name="l00059"></a>00059 <span class="preprocessor">#endif</span>
<a name="l00060"></a>00060 <span class="preprocessor"></span><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>