blob: 1123743714e080688ec9c0f0f89fbcd8a36a135f (
plain)
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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>C-Layman: /home/detlev/src/c-layman/src/dict.c File Reference</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.5.8 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>/home/detlev/src/c-layman/src/dict.c File Reference</h1><code>#include <stdio.h></code><br>
<code>#include <stdlib.h></code><br>
<code>#include <string.h></code><br>
<code>#include "<a class="el" href="internal_8h-source.html">internal.h</a>"</code><br>
<code>#include "<a class="el" href="dict_8h-source.html">dict.h</a>"</code><br>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Data Structures</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_dict_elem.html">DictElem</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_dict.html">Dict</a></td></tr>
<tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef struct <a class="el" href="struct_dict_elem.html">DictElem</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="dict_8c.html#6b30173c101c5f88e997d3c8fd874fcf">DictElem</a></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="struct_dict.html">Dict</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="dict_8c.html#939c34510e169bfa12625b1033458e8f">dictCreate</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dict_8c.html#be3f9a3a539fed1dae971ee782809106">dictInsert</a> (<a class="el" href="struct_dict.html">Dict</a> *list, const char *key, const char *value)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="dict_8c.html#a0daa5965a875a1651be67a05fa444b0">dictCount</a> (<a class="el" href="struct_dict.html">Dict</a> *list)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dict_8c.html#c03cdcb80f33dd29f23c554887a7bf82">dictFree</a> (<a class="el" href="struct_dict.html">Dict</a> *list)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">PyObject * </td><td class="memItemRight" valign="bottom"><a class="el" href="dict_8c.html#36485c70c155d31dd0fca6a36f4ab324">dictToPyDict</a> (<a class="el" href="struct_dict.html">Dict</a> *dict)</td></tr>
</table>
<hr><h2>Typedef Documentation</h2>
<a class="anchor" name="6b30173c101c5f88e997d3c8fd874fcf"></a><!-- doxytag: member="dict.c::DictElem" ref="6b30173c101c5f88e997d3c8fd874fcf" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="struct_dict_elem.html">DictElem</a> <a class="el" href="struct_dict_elem.html">DictElem</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="a0daa5965a875a1651be67a05fa444b0"></a><!-- doxytag: member="dict.c::dictCount" ref="a0daa5965a875a1651be67a05fa444b0" args="(Dict *list)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned int dictCount </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_dict.html">Dict</a> * </td>
<td class="paramname"> <em>list</em> </td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="939c34510e169bfa12625b1033458e8f"></a><!-- doxytag: member="dict.c::dictCreate" ref="939c34510e169bfa12625b1033458e8f" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_dict.html">Dict</a>* dictCreate </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="c03cdcb80f33dd29f23c554887a7bf82"></a><!-- doxytag: member="dict.c::dictFree" ref="c03cdcb80f33dd29f23c554887a7bf82" args="(Dict *list)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void dictFree </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_dict.html">Dict</a> * </td>
<td class="paramname"> <em>list</em> </td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="be3f9a3a539fed1dae971ee782809106"></a><!-- doxytag: member="dict.c::dictInsert" ref="be3f9a3a539fed1dae971ee782809106" args="(Dict *list, const char *key, const char *value)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void dictInsert </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_dict.html">Dict</a> * </td>
<td class="paramname"> <em>list</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"> <em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"> <em>value</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="36485c70c155d31dd0fca6a36f4ab324"></a><!-- doxytag: member="dict.c::dictToPyDict" ref="36485c70c155d31dd0fca6a36f4ab324" args="(Dict *dict)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">PyObject* dictToPyDict </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_dict.html">Dict</a> * </td>
<td class="paramname"> <em>dict</em> </td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Aug 6 20:00:53 2010 for C-Layman by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
</body>
</html>
|