File: sexp-manip_8h_source.html

package info (click to toggle)
openscap 1.0.9-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 129,588 kB
  • ctags: 26,325
  • sloc: xml: 611,156; ansic: 90,367; sh: 26,693; makefile: 2,463; python: 804; perl: 445; cpp: 123
file content (354 lines) | stat: -rw-r--r-- 56,680 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
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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
<!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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3.1"/>
<title>Open SCAP Library: sexp-manip.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Open SCAP Library
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_dec16e0beb5f79ab6b40e328203e2e32.html">OVAL</a></li><li class="navelem"><a class="el" href="dir_d57a52ee0ad0cdc1d71df7a41be84a06.html">probes</a></li><li class="navelem"><a class="el" href="dir_e44ea870b871257418c4b8816dbb35e8.html">SEAP</a></li><li class="navelem"><a class="el" href="dir_7ba0732ac79094b906f6bff374711599.html">public</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">sexp-manip.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="sexp-manip_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * Copyright 2009 Red Hat Inc., Durham, North Carolina.</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> * All Rights Reserved.</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> * This library is free software; you can redistribute it and/or</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> * modify it under the terms of the GNU Lesser General Public</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> * License as published by the Free Software Foundation; either</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> * version 2.1 of the License, or (at your option) any later version.</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> * This library is distributed in the hope that it will be useful, </span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment"> * Lesser General Public License for more details.</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment"> * You should have received a copy of the GNU Lesser General Public</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment"> * License along with this library; if not, write to the Free Software </span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA</span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="comment"> * Authors:</span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="comment"> *      Daniel Kopecek &lt;dkopecek@redhat.com&gt;</span></div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#ifndef SEXP_MANIP_H</span></div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define SEXP_MANIP_H</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">#include &lt;stdarg.h&gt;</span></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#include &lt;stddef.h&gt;</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#include &lt;stdint.h&gt;</span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">#include &lt;stdbool.h&gt;</span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor">#include &lt;sexp-types.h&gt;</span></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">#include &lt;helpers.h&gt;</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="comment"> * number</span></div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__SEXPRESSIONS.html#ga148bf27719895fdacb1afc356d612415" title="Create a new sexp object from a value and a number type.">SEXP_number_new</a> (SEXP_numtype_t t, <span class="keyword">const</span> <span class="keywordtype">void</span> *n) <a class="code" href="struct____attribute____.html">__attribute__</a> ((nonnull (2)));</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__SEXPRESSIONS.html#ga1cdc45fff560a0cf2cf8d08dc3515fb9" title="Create a new sexp object from a boolean value.">SEXP_number_newb</a> (<span class="keywordtype">bool</span> n);</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;<a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__SEXPRESSIONS.html#ga32494d9d9c72055de3fc3d265b9afc63" title="Create a new sexp object from an integer.">SEXP_number_newi_8</a> (int8_t n);</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__SEXPRESSIONS.html#ga461b37826975a6d87f122b8938e019e1" title="Create a new sexp object from an unsigned integer.">SEXP_number_newu_8</a> (uint8_t n);</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;uint8_t <a class="code" href="group__SEXPRESSIONS.html#gad6cbd9f380d3fa8f93ea2a776809edf8" title="Get unsigned integer value from a sexp object.">SEXP_number_getu_8</a> (<span class="keyword">const</span> <a class="code" href="structSEXP.html">SEXP_t</a> *s_exp);</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;<a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__SEXPRESSIONS.html#gadc3f1e24284a5ac20605e13fdd3c71cb" title="Create a new sexp object from an integer.">SEXP_number_newi_16</a> (int16_t n);</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;<a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__SEXPRESSIONS.html#gafe1e8e5b752b57b66009f5b270072ece" title="Create a new sexp object from an unsigned integer.">SEXP_number_newu_16</a> (uint16_t n);</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="code" href="group__SEXPRESSIONS.html#ga88cdd7705eac27040c29a4b174797158">  101</a></span>&#160;<span class="preprocessor">#define SEXP_number_newi SEXP_number_newi_32</span></div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;<a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__SEXPRESSIONS.html#ga62055a9cf6b27ce2b6c9c599c6de008c" title="Create a new sexp object from an integer.">SEXP_number_newi_32</a> (int32_t n);</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;</div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="code" href="group__SEXPRESSIONS.html#ga6c9eaecc1f1f64f65f2eb82048ae424a">  113</a></span>&#160;<span class="preprocessor">#define SEXP_number_geti SEXP_number_geti_32</span></div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;int32_t <a class="code" href="group__SEXPRESSIONS.html#ga75c71219c39bfa492436f2534e915010" title="Get integer value from a sexp object.">SEXP_number_geti_32</a> (<span class="keyword">const</span> <a class="code" href="structSEXP.html">SEXP_t</a> *s_exp);</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="group__SEXPRESSIONS.html#gacb248b380bca2b88445c0e376a5b65c2" title="Get boolean value from a sexp object.">SEXP_number_getb</a> (<span class="keyword">const</span> <a class="code" href="structSEXP.html">SEXP_t</a> *s_exp);</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;</div>
<div class="line"><a name="l00131"></a><span class="lineno"><a class="code" href="group__SEXPRESSIONS.html#ga0ed932bb9217034acb9850bef38111aa">  131</a></span>&#160;<span class="preprocessor">#define SEXP_number_newu SEXP_number_newu_32</span></div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;<a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__SEXPRESSIONS.html#gae129c0296ce1a094de3f77d14b832e31" title="Create a new sexp object from an unsigned integer.">SEXP_number_newu_32</a> (uint32_t n);</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;</div>
<div class="line"><a name="l00143"></a><span class="lineno"><a class="code" href="group__SEXPRESSIONS.html#ga2c94dfa1cb0df428abf39574500479e5">  143</a></span>&#160;<span class="preprocessor">#define  SEXP_number_getu SEXP_number_getu_32</span></div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;uint32_t <a class="code" href="group__SEXPRESSIONS.html#gacab074ed687b15a638609b14b3974ab0" title="Get unsigned integer value from a sexp object.">SEXP_number_getu_32</a> (<span class="keyword">const</span> <a class="code" href="structSEXP.html">SEXP_t</a> *s_exp);</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;<a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__SEXPRESSIONS.html#gae2fc419efc73b6d7522c7a7933025cb2" title="Create a new sexp object from an integer.">SEXP_number_newi_64</a> (int64_t n);</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;int64_t <a class="code" href="group__SEXPRESSIONS.html#gafa22f9fac43ad37dfc09ca359a867a51" title="Get integer value from a sexp object.">SEXP_number_geti_64</a> (<span class="keyword">const</span> <a class="code" href="structSEXP.html">SEXP_t</a> *s_exp);</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;<a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__SEXPRESSIONS.html#gafd72f0967d62cdf63436917dc61b2b22" title="Create a new sexp object from an unsigned integer.">SEXP_number_newu_64</a> (uint64_t n);</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;uint64_t <a class="code" href="group__SEXPRESSIONS.html#ga18fd6599d74564c17376b80dff881ab0" title="Get unsigned integer value from a sexp object.">SEXP_number_getu_64</a> (<span class="keyword">const</span> <a class="code" href="structSEXP.html">SEXP_t</a> *s_exp);</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;<a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__SEXPRESSIONS.html#ga029c8e418f0ac0ccffb80a2d1cc9bddc" title="Create a new sexp object from an floating point value.">SEXP_number_newf</a> (<span class="keywordtype">double</span> n);</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;<span class="keywordtype">double</span>  <a class="code" href="group__SEXPRESSIONS.html#ga1d4b4c86fab5992aa439a47f8af92190" title="Get floating point value from a sexp object.">SEXP_number_getf</a> (<span class="keyword">const</span> <a class="code" href="structSEXP.html">SEXP_t</a> *s_exp);</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__SEXPRESSIONS.html#ga9b392924764145a02ff6c549dfd26d9c" title="Get a value from a sexp object according to a specified type.">SEXP_number_get</a> (<span class="keyword">const</span> <a class="code" href="structSEXP.html">SEXP_t</a> *s_exp, <span class="keywordtype">void</span> *dst, SEXP_numtype_t type);</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;</div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;uint16_t <a class="code" href="group__SEXPRESSIONS.html#ga3c00041f8c7e3a5dfb18bb3b30466e37" title="Get unsigned integer value from a sexp object.">SEXP_number_getu_16</a> (<span class="keyword">const</span> <a class="code" href="structSEXP.html">SEXP_t</a> *s_exp);</div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;<span class="keywordtype">void</span>    <a class="code" href="group__SEXPRESSIONS.html#ga0ef7afdcedb92279a58ce9ee0f224a1d" title="Free the specified sexp object.">SEXP_number_free</a> (<a class="code" href="structSEXP.html">SEXP_t</a> *s_exp);</div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;</div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;<span class="keywordtype">bool</span>    <a class="code" href="group__SEXPRESSIONS.html#ga6e604a242bf6246a03696a3d80f666ee" title="Check whether the provided sexp object is a number.">SEXP_numberp</a> (<span class="keyword">const</span> <a class="code" href="structSEXP.html">SEXP_t</a> *s_exp);</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;</div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;SEXP_numtype_t <a class="code" href="group__SEXPRESSIONS.html#ga4e5c0f3e6a56eec10e7f1165939284c0" title="Get the number type of an object.">SEXP_number_type</a> (<span class="keyword">const</span> <a class="code" href="structSEXP.html">SEXP_t</a> *sexp);</div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;</div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;<span class="comment"> * string</span></div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;</div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;<a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__SEXPRESSIONS.html#gabadfcee9ec83dd290cb0563cdcf5b5d4" title="Create a new sexp object from a string.">SEXP_string_new</a>  (<span class="keyword">const</span> <span class="keywordtype">void</span> *<span class="keywordtype">string</span>, <span class="keywordtype">size_t</span> strlen) <a class="code" href="struct____attribute____.html">__attribute__</a> ((nonnull (1)));</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;</div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;<a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__SEXPRESSIONS.html#ga98cc821b3e0a0be1ca1645bbb4bd00e7" title="Create a new sexp object from a format string.">SEXP_string_newf</a> (<span class="keyword">const</span> <span class="keywordtype">char</span> *format, ...) <a class="code" href="struct____attribute____.html">__attribute__</a> ((format (printf, 1, 2), nonnull (1)));</div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;</div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__SEXPRESSIONS.html#ga421532c375fbb742923c452bc52c27fa" title="Free the specified sexp object.">SEXP_string_free</a> (<a class="code" href="structSEXP.html">SEXP_t</a> *s_exp);</div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;</div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="group__SEXPRESSIONS.html#gaff64360f9c06d07c15295a4631eede9f" title="Check whether the provided sexp object is a string.">SEXP_stringp</a> (const <a class="code" href="structSEXP.html">SEXP_t</a> *s_exp);</div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;</div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;<span class="keywordtype">size_t</span> <a class="code" href="group__SEXPRESSIONS.html#ga105b4f4551faf6114e53fa9701e966d5" title="Get the length of a string in a sexp object.">SEXP_string_length</a> (const <a class="code" href="structSEXP.html">SEXP_t</a> *s_exp);</div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__SEXPRESSIONS.html#ga59353fe1a436c8a3003ff93cfd28a747" title="Compare a string in a sexp object with a C string.">SEXP_strcmp</a> (const <a class="code" href="structSEXP.html">SEXP_t</a> *s_exp, const <span class="keywordtype">char</span> *str) <a class="code" href="struct____attribute____.html">__attribute__</a> ((nonnull (2)));</div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;</div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__SEXPRESSIONS.html#gaf2e92003af59b53145cfc23ea5e8cefa" title="Compare a string in a sexp object with a C string.">SEXP_strncmp</a> (const <a class="code" href="structSEXP.html">SEXP_t</a> *s_exp, const <span class="keywordtype">char</span> *str, <span class="keywordtype">size_t</span> n) <a class="code" href="struct____attribute____.html">__attribute__</a> ((nonnull (2)));</div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;</div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__SEXPRESSIONS.html#gad91eec2b56af04fa7352fbebe4bb6a68" title="Get the n-th byte of a string.">SEXP_string_nth</a> (const <a class="code" href="structSEXP.html">SEXP_t</a> *s_exp, <span class="keywordtype">size_t</span> n);</div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;</div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;<span class="keywordtype">char</span>  *<a class="code" href="group__SEXPRESSIONS.html#ga1ab30f1f6e475e61e4be43ce96753e19" title="Get a C string from a sexp object.">SEXP_string_cstr</a> (const <a class="code" href="structSEXP.html">SEXP_t</a> *s_exp);</div>
<div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;</div>
<div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;<span class="keywordtype">size_t</span> <a class="code" href="group__SEXPRESSIONS.html#gaba4e73db0910e4cdcd05f0954d7c94d8" title="Get a C string from a sexp object.">SEXP_string_cstr_r</a> (const <a class="code" href="structSEXP.html">SEXP_t</a> *s_exp, <span class="keywordtype">char</span> *buf, <span class="keywordtype">size_t</span> len) <a class="code" href="struct____attribute____.html">__attribute__</a> ((nonnull (2)));</div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;</div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;<span class="keywordtype">char</span>  *<a class="code" href="group__SEXPRESSIONS.html#ga9629a5d0a6bb253d020b3cfe50ab7fb3" title="Obsolete function.">SEXP_string_cstrp</a> (const <a class="code" href="structSEXP.html">SEXP_t</a> *s_exp);</div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;</div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;<span class="keywordtype">char</span> *<a class="code" href="group__SEXPRESSIONS.html#ga3ba785dac94b723edd3af8d473584419" title="Get a C substring from a sexp object.">SEXP_string_subcstr</a> (const <a class="code" href="structSEXP.html">SEXP_t</a> *s_exp, <span class="keywordtype">size_t</span> beg, <span class="keywordtype">size_t</span> len);</div>
<div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;</div>
<div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__SEXPRESSIONS.html#ga3e4383dcb6f96558b5643ad747d501b6" title="Compare two sexp strings.">SEXP_string_cmp</a> (const <a class="code" href="structSEXP.html">SEXP_t</a> *str_a, const <a class="code" href="structSEXP.html">SEXP_t</a> *str_b);</div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;</div>
<div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="group__SEXPRESSIONS.html#gae4ef149d9869b6b2f28699d8fce056bb" title="Try to cast the supplied sexp string to a boolean.">SEXP_string_getb</a> (const <a class="code" href="structSEXP.html">SEXP_t</a> *s_exp);</div>
<div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;</div>
<div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;<span class="comment"> * list</span></div>
<div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;</div>
<div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;<a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__SEXPRESSIONS.html#ga36aba9794dc574feeec66ca58d781e02" title="Create a new sexp list, optionally initialized with the provided sexp arguments.">SEXP_list_new</a> (<a class="code" href="structSEXP.html">SEXP_t</a> *memb, ...);</div>
<div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;</div>
<div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;<span class="keywordtype">void</span>    <a class="code" href="group__SEXPRESSIONS.html#ga080ba170147ff68e7c2cbe524d7ef989" title="Free the specified sexp object.">SEXP_list_free</a> (<a class="code" href="structSEXP.html">SEXP_t</a> *s_exp);</div>
<div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;</div>
<div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;<span class="keywordtype">bool</span>    <a class="code" href="group__SEXPRESSIONS.html#ga07e8116610a355783f2c6368759b3227" title="Check whether the provided sexp object is a list.">SEXP_listp</a> (const <a class="code" href="structSEXP.html">SEXP_t</a> *s_exp);</div>
<div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;</div>
<div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;<span class="keywordtype">size_t</span>  <a class="code" href="group__SEXPRESSIONS.html#ga068f5fbd0f5570d282bbdad6167682fc" title="Get the length of the sexp list.">SEXP_list_length</a> (const <a class="code" href="structSEXP.html">SEXP_t</a> *s_exp);</div>
<div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;</div>
<div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;<a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__SEXPRESSIONS.html#ga0c9eae056c648b6063ac7509f4369610" title="Get the first element of a list.">SEXP_list_first</a> (const <a class="code" href="structSEXP.html">SEXP_t</a> *list);</div>
<div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;</div>
<div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;<a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__SEXPRESSIONS.html#gae242e4f24e9e244b40948068a2007ce1" title="Get the rest of a list.">SEXP_list_rest</a>  (const <a class="code" href="structSEXP.html">SEXP_t</a> *list);</div>
<div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;</div>
<div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;<a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__SEXPRESSIONS.html#ga89ad072663a26aa264c84d23f884569d" title="Get the last element of a list.">SEXP_list_last</a> (const <a class="code" href="structSEXP.html">SEXP_t</a> *list);</div>
<div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;</div>
<div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;<a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__SEXPRESSIONS.html#ga4a6ada7c87796c997849528e078e1836" title="Get the n-th element of a list.">SEXP_list_nth</a> (const <a class="code" href="structSEXP.html">SEXP_t</a> *list, uint32_t n);</div>
<div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;</div>
<div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;<a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__SEXPRESSIONS.html#ga8d6b5445b924bb116e0c6f47d3b9a8d9" title="Add an element to a list.">SEXP_list_add</a> (<a class="code" href="structSEXP.html">SEXP_t</a> *list, const <a class="code" href="structSEXP.html">SEXP_t</a> *s_exp);</div>
<div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;</div>
<div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;<a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__SEXPRESSIONS.html#gabe0fa1d2a80c0941ffeb1c4b142e7523" title="Create a new list containing the concatenated contents of two lists.">SEXP_list_join</a> (const <a class="code" href="structSEXP.html">SEXP_t</a> *list_a, const <a class="code" href="structSEXP.html">SEXP_t</a> *list_b);</div>
<div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;</div>
<div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;<a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__SEXPRESSIONS.html#gad52880af4d8ab4724b9de155c1df936b" title="Push an element to the head of a list.">SEXP_list_push</a> (<a class="code" href="structSEXP.html">SEXP_t</a> *list, const <a class="code" href="structSEXP.html">SEXP_t</a> *s_exp);</div>
<div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;</div>
<div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;<a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__SEXPRESSIONS.html#ga9e93b94244c768a11fd686d8c594237d" title="Extract the first element of a list.">SEXP_list_pop</a> (<a class="code" href="structSEXP.html">SEXP_t</a> *list);</div>
<div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;</div>
<div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160;<a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__SEXPRESSIONS.html#ga037116327a4d1cc1e70a520ef7f97ba4" title="Sort a list using `compare&#39; as the comparison function.">SEXP_list_sort</a>(<a class="code" href="structSEXP.html">SEXP_t</a> *list, <span class="keywordtype">int</span>(*compare)(const <a class="code" href="structSEXP.html">SEXP_t</a> *, const SEXP_t *));</div>
<div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;</div>
<div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;SEXP_t *<a class="code" href="group__SEXPRESSIONS.html#gadc1ce5bda22ad83a62ad505c7d443f59" title="Replace the n-th element of a list.">SEXP_list_replace</a> (SEXP_t *list, uint32_t n, const SEXP_t *s_exp);</div>
<div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;</div>
<div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;SEXP_t *<a class="code" href="group__SEXPRESSIONS.html#ga294b609a1d4bd7e521d25437a192fda7" title="Get the first element of a list.">SEXP_listref_first</a> (SEXP_t *list);</div>
<div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;</div>
<div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;SEXP_t *<a class="code" href="group__SEXPRESSIONS.html#gaec63d3a60c2565d4b51e5c483d16cfdf" title="Get the rest of a list.">SEXP_listref_rest</a> (SEXP_t *list);</div>
<div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;</div>
<div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160;SEXP_t *<a class="code" href="group__SEXPRESSIONS.html#gaf3b36d16e120636314aafd4b14d7880d" title="Get the last element of a list.">SEXP_listref_last</a> (SEXP_t *list);</div>
<div class="line"><a name="l00442"></a><span class="lineno">  442</span>&#160;</div>
<div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;SEXP_t *<a class="code" href="group__SEXPRESSIONS.html#ga12caeefc35e578135c608a6370026be5" title="Get the n-th element of a list.">SEXP_listref_nth</a> (SEXP_t *list, uint32_t n);</div>
<div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;</div>
<div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160;typedef struct SEXP_it SEXP_it_t;</div>
<div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160;</div>
<div class="line"><a name="l00453"></a><span class="lineno">  453</span>&#160;<span class="preprocessor">#define SEXP_IT_RECURSIVE 0x01</span></div>
<div class="line"><a name="l00454"></a><span class="lineno">  454</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define SEXP_IT_HARDREF   0x02</span></div>
<div class="line"><a name="l00455"></a><span class="lineno">  455</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00456"></a><span class="lineno">  456</span>&#160;SEXP_it_t *SEXP_listit_new (<span class="keyword">const</span> SEXP_t *list, <span class="keywordtype">int</span> flags);</div>
<div class="line"><a name="l00457"></a><span class="lineno">  457</span>&#160;SEXP_t    *SEXP_listit_next(SEXP_it_t *it);</div>
<div class="line"><a name="l00458"></a><span class="lineno">  458</span>&#160;SEXP_t    *SEXP_listit_prev (SEXP_it_t *it);</div>
<div class="line"><a name="l00459"></a><span class="lineno">  459</span>&#160;SEXP_t    *SEXP_listit_length (SEXP_it_t *it);</div>
<div class="line"><a name="l00460"></a><span class="lineno">  460</span>&#160;SEXP_t    *SEXP_listit_seek (SEXP_it_t *it, uint32_t n);</div>
<div class="line"><a name="l00461"></a><span class="lineno">  461</span>&#160;<span class="keywordtype">void</span>       SEXP_listit_free (SEXP_it_t *it);</div>
<div class="line"><a name="l00462"></a><span class="lineno">  462</span>&#160;</div>
<div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structSEXP__list__it.html">SEXP_list_it</a> <a class="code" href="structSEXP__list__it.html">SEXP_list_it</a>;</div>
<div class="line"><a name="l00464"></a><span class="lineno">  464</span>&#160;</div>
<div class="line"><a name="l00465"></a><span class="lineno">  465</span>&#160;<a class="code" href="structSEXP__list__it.html">SEXP_list_it</a> *SEXP_list_it_new(<span class="keyword">const</span> SEXP_t *list);</div>
<div class="line"><a name="l00466"></a><span class="lineno">  466</span>&#160;SEXP_t *SEXP_list_it_next(<a class="code" href="structSEXP__list__it.html">SEXP_list_it</a> *it);</div>
<div class="line"><a name="l00467"></a><span class="lineno">  467</span>&#160;<span class="keywordtype">void</span> SEXP_list_it_free(<a class="code" href="structSEXP__list__it.html">SEXP_list_it</a> *it);</div>
<div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160;</div>
<div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160;<span class="preprocessor">#if __STDC_VERSION__ &gt;= 199901L</span></div>
<div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160;<span class="preprocessor"></span><span class="preprocessor"># include &lt;common/util.h&gt;</span></div>
<div class="line"><a name="l00471"></a><span class="lineno">  471</span>&#160;</div>
<div class="line"><a name="l00472"></a><span class="lineno">  472</span>&#160;<span class="comment">/* TODO: use alloca &amp; softref_r here */</span></div>
<div class="line"><a name="l00478"></a><span class="lineno">  478</span>&#160;<span class="preprocessor">#define SEXP_list_foreach(var, list)                                    \</span></div>
<div class="line"><a name="l00479"></a><span class="lineno">  479</span>&#160;<span class="preprocessor">        for (uint32_t OSCAP_CONCAT(i,__LINE__) = 1; ((var) = SEXP_list_nth (list, OSCAP_CONCAT(i,__LINE__))) != NULL; ++OSCAP_CONCAT(i,__LINE__), SEXP_free (var), (var) = NULL)</span></div>
<div class="line"><a name="l00480"></a><span class="lineno">  480</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00488"></a><span class="lineno">  488</span>&#160;<span class="preprocessor">#define SEXP_sublist_foreach(var, list, beg, end)                       \</span></div>
<div class="line"><a name="l00489"></a><span class="lineno">  489</span>&#160;<span class="preprocessor">        for (uint32_t OSCAP_CONCAT(i,__LINE__) = (beg); OSCAP_CONCAT(i,__LINE__) &lt;= ((size_t)(end)) &amp;&amp; ((var) = SEXP_list_nth (list, OSCAP_CONCAT(i,__LINE__))) != NULL; ++OSCAP_CONCAT(i,__LINE__), SEXP_free (var), (var) = NULL)</span></div>
<div class="line"><a name="l00490"></a><span class="lineno">  490</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00491"></a><span class="lineno">  491</span>&#160;<span class="preprocessor">#define SEXP_LIST_END (UINT32_MAX - 1)</span></div>
<div class="line"><a name="l00492"></a><span class="lineno">  492</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00493"></a><span class="lineno">  493</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* __STDC_VERSION__ &gt;= 199901L */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00494"></a><span class="lineno">  494</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00495"></a><span class="lineno">  495</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00496"></a><span class="lineno">  496</span>&#160;<span class="comment"> * generic</span></div>
<div class="line"><a name="l00497"></a><span class="lineno">  497</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00498"></a><span class="lineno">  498</span>&#160;SEXP_t *SEXP_new (<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00499"></a><span class="lineno">  499</span>&#160;</div>
<div class="line"><a name="l00500"></a><span class="lineno">  500</span>&#160;<span class="keywordtype">bool</span> SEXP_emptyp(SEXP_t *sexp);</div>
<div class="line"><a name="l00501"></a><span class="lineno">  501</span>&#160;</div>
<div class="line"><a name="l00506"></a><span class="lineno">  506</span>&#160;SEXP_t *<a class="code" href="group__SEXPRESSIONS.html#ga476a72113eb75b3f4d1497ecd712c764" title="Create a new reference to a sexp object.">SEXP_ref</a> (<span class="keyword">const</span> SEXP_t *s_exp);</div>
<div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160;</div>
<div class="line"><a name="l00508"></a><span class="lineno">  508</span>&#160;SEXP_t *SEXP_unref (SEXP_t *s_exp_o);</div>
<div class="line"><a name="l00509"></a><span class="lineno">  509</span>&#160;</div>
<div class="line"><a name="l00514"></a><span class="lineno">  514</span>&#160;SEXP_t *<a class="code" href="group__SEXPRESSIONS.html#ga11637915846d57e9c1d14095817efe26" title="Create a new soft reference to a sexp object.">SEXP_softref</a> (SEXP_t *s_exp);</div>
<div class="line"><a name="l00515"></a><span class="lineno">  515</span>&#160;</div>
<div class="line"><a name="l00520"></a><span class="lineno">  520</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="group__SEXPRESSIONS.html#gacabc0099ec23c4b1d6cbfba655097947" title="Check whether an S-exp reference is a &quot;soft&quot; reference.">SEXP_softrefp</a>(<span class="keyword">const</span> SEXP_t *s_exp);</div>
<div class="line"><a name="l00521"></a><span class="lineno">  521</span>&#160;</div>
<div class="line"><a name="l00526"></a><span class="lineno">  526</span>&#160;uint32_t <a class="code" href="group__SEXPRESSIONS.html#ga429383918cf56ab5954393d503ee8047" title="Return the value of the reference counter.">SEXP_refs</a> (<span class="keyword">const</span> SEXP_t *ref);</div>
<div class="line"><a name="l00527"></a><span class="lineno">  527</span>&#160;</div>
<div class="line"><a name="l00528"></a><span class="lineno">  528</span>&#160;<span class="keywordtype">bool</span> SEXP_eq (<span class="keyword">const</span> SEXP_t *a, <span class="keyword">const</span> SEXP_t *b);</div>
<div class="line"><a name="l00529"></a><span class="lineno">  529</span>&#160;</div>
<div class="line"><a name="l00533"></a><span class="lineno">  533</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__SEXPRESSIONS.html#ga2578ba953964a634b14722b5546da32f" title="Compare reference pointers.">SEXP_refcmp</a>(<span class="keyword">const</span> SEXP_t *a, <span class="keyword">const</span> SEXP_t *b);</div>
<div class="line"><a name="l00534"></a><span class="lineno">  534</span>&#160;</div>
<div class="line"><a name="l00535"></a><span class="lineno">  535</span>&#160;<span class="keywordtype">bool</span> SEXP_deepcmp(<span class="keyword">const</span> SEXP_t *a, <span class="keyword">const</span> SEXP_t *b);</div>
<div class="line"><a name="l00536"></a><span class="lineno">  536</span>&#160;</div>
<div class="line"><a name="l00537"></a><span class="lineno">  537</span>&#160;<span class="preprocessor">#ifdef __COVERITY__</span></div>
<div class="line"><a name="l00538"></a><span class="lineno">  538</span>&#160;<span class="preprocessor"></span><span class="comment">/*</span></div>
<div class="line"><a name="l00539"></a><span class="lineno">  539</span>&#160;<span class="comment"> * An alternative implementation for Coverity, which reports</span></div>
<div class="line"><a name="l00540"></a><span class="lineno">  540</span>&#160;<span class="comment"> * a lot of false positives because it is not be able to</span></div>
<div class="line"><a name="l00541"></a><span class="lineno">  541</span>&#160;<span class="comment"> * handle functions with variable number of arguments</span></div>
<div class="line"><a name="l00542"></a><span class="lineno">  542</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00543"></a><span class="lineno">  543</span>&#160;<span class="preprocessor"># define SEXP_vfree_coverity(...) \</span></div>
<div class="line"><a name="l00544"></a><span class="lineno">  544</span>&#160;<span class="preprocessor">        do { \</span></div>
<div class="line"><a name="l00545"></a><span class="lineno">  545</span>&#160;<span class="preprocessor">                SEXP_t *__svf##__LINE__[] = { __VA_ARGS__ }; \</span></div>
<div class="line"><a name="l00546"></a><span class="lineno">  546</span>&#160;<span class="preprocessor">                size_t __svfc##__LINE__ = sizeof (__svf##__LINE__)/sizeof(SEXP_t *); \</span></div>
<div class="line"><a name="l00547"></a><span class="lineno">  547</span>&#160;<span class="preprocessor">                for (; __svfc##__LINE__ &gt; 0; --__svfc##__LINE__) \</span></div>
<div class="line"><a name="l00548"></a><span class="lineno">  548</span>&#160;<span class="preprocessor">                        if (__svf##__LINE__[__svfc##__LINE__ - 1]) \</span></div>
<div class="line"><a name="l00549"></a><span class="lineno">  549</span>&#160;<span class="preprocessor">                                SEXP_free(__svf##__LINE__[__svfc##__LINE__ - 1]); \</span></div>
<div class="line"><a name="l00550"></a><span class="lineno">  550</span>&#160;<span class="preprocessor">        } while(0)</span></div>
<div class="line"><a name="l00551"></a><span class="lineno">  551</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#endif </span><span class="comment">/* __COVERITY__ */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00552"></a><span class="lineno">  552</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00553"></a><span class="lineno">  553</span>&#160;<span class="preprocessor">#if defined(NDEBUG)</span></div>
<div class="line"><a name="l00554"></a><span class="lineno">  554</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00558"></a><span class="lineno">  558</span>&#160;<span class="keywordtype">void</span>     SEXP_free (SEXP_t *s_exp);</div>
<div class="line"><a name="l00559"></a><span class="lineno">  559</span>&#160;</div>
<div class="line"><a name="l00566"></a><span class="lineno">  566</span>&#160;<span class="keywordtype">void</span>     __SEXP_vfree (<span class="keywordtype">int</span> n, SEXP_t *s_exp, ...);</div>
<div class="line"><a name="l00567"></a><span class="lineno">  567</span>&#160;<span class="preprocessor">#ifdef __COVERITY__</span></div>
<div class="line"><a name="l00568"></a><span class="lineno">  568</span>&#160;<span class="preprocessor"></span><span class="preprocessor"># define SEXP_vfree(...) SEXP_vfree_coverity(__VA_ARGS__)</span></div>
<div class="line"><a name="l00569"></a><span class="lineno">  569</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#else</span></div>
<div class="line"><a name="l00570"></a><span class="lineno">  570</span>&#160;<span class="preprocessor"></span><span class="preprocessor"># define SEXP_vfree(...) __SEXP_vfree(PP_NARG(__VA_ARGS__), __VA_ARGS__)</span></div>
<div class="line"><a name="l00571"></a><span class="lineno">  571</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00572"></a><span class="lineno">  572</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#else</span></div>
<div class="line"><a name="l00573"></a><span class="lineno">  573</span>&#160;<span class="preprocessor"></span><span class="preprocessor"># define SEXP_free(ptr) __SEXP_free (ptr, __FILE__, __LINE__, __PRETTY_FUNCTION__)</span></div>
<div class="line"><a name="l00574"></a><span class="lineno">  574</span>&#160;<span class="preprocessor"></span><span class="keywordtype">void</span>     __SEXP_free (SEXP_t *s_exp, <span class="keyword">const</span> <span class="keywordtype">char</span> *file, uint32_t line, <span class="keyword">const</span> <span class="keywordtype">char</span> *func);</div>
<div class="line"><a name="l00575"></a><span class="lineno">  575</span>&#160;<span class="preprocessor">#ifdef __COVERITY__</span></div>
<div class="line"><a name="l00576"></a><span class="lineno">  576</span>&#160;<span class="preprocessor"></span><span class="preprocessor"># define SEXP_vfree(...) SEXP_vfree_coverity(__VA_ARGS__)</span></div>
<div class="line"><a name="l00577"></a><span class="lineno">  577</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#else</span></div>
<div class="line"><a name="l00578"></a><span class="lineno">  578</span>&#160;<span class="preprocessor"></span><span class="preprocessor"># define SEXP_vfree(...) __SEXP_vfree (__FILE__, __LINE__, __PRETTY_FUNCTION__, PP_NARG(__VA_ARGS__), __VA_ARGS__)</span></div>
<div class="line"><a name="l00579"></a><span class="lineno">  579</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00580"></a><span class="lineno">  580</span>&#160;<span class="preprocessor"></span><span class="keywordtype">void</span>     __SEXP_vfree (<span class="keyword">const</span> <span class="keywordtype">char</span> *file, uint32_t line, <span class="keyword">const</span> <span class="keywordtype">char</span> *func, <span class="keywordtype">int</span> n, SEXP_t *s_exp, ...);</div>
<div class="line"><a name="l00581"></a><span class="lineno">  581</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00582"></a><span class="lineno">  582</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00587"></a><span class="lineno">  587</span>&#160;<span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="group__SEXPRESSIONS.html#ga6d085d9c44f5b736646ffb8693fa6653" title="Get the user data type of a sexp object.">SEXP_datatype</a> (<span class="keyword">const</span> SEXP_t *s_exp);</div>
<div class="line"><a name="l00588"></a><span class="lineno">  588</span>&#160;</div>
<div class="line"><a name="l00593"></a><span class="lineno">  593</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__SEXPRESSIONS.html#gaa4bde669d7e595ea9059b4b6387a15b2" title="Set the user data type of a sexp object.">SEXP_datatype_set</a> (SEXP_t *s_exp, <span class="keyword">const</span> <span class="keywordtype">char</span> *name) <a class="code" href="struct____attribute____.html">__attribute__</a> ((nonnull (2)));</div>
<div class="line"><a name="l00594"></a><span class="lineno">  594</span>&#160;</div>
<div class="line"><a name="l00601"></a><span class="lineno">  601</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__SEXPRESSIONS.html#ga722eb1e7c93e22d2b2412983ccb88195" title="Set the user data type of the nth sexp object in a list.">SEXP_datatype_set_nth</a> (SEXP_t *list, uint32_t n, <span class="keyword">const</span> <span class="keywordtype">char</span> *name) <a class="code" href="struct____attribute____.html">__attribute__</a> ((nonnull (3)));</div>
<div class="line"><a name="l00602"></a><span class="lineno">  602</span>&#160;</div>
<div class="line"><a name="l00607"></a><span class="lineno">  607</span>&#160;SEXP_type_t <a class="code" href="group__SEXPRESSIONS.html#gac20aeb60da4207f9fa0b6bf056864eec" title="Get the type of a sexp object.">SEXP_typeof</a> (<span class="keyword">const</span> SEXP_t *s_exp);</div>
<div class="line"><a name="l00608"></a><span class="lineno">  608</span>&#160;</div>
<div class="line"><a name="l00613"></a><span class="lineno">  613</span>&#160;<span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="group__SEXPRESSIONS.html#ga80b8234d9e6c1eb59443e78147845166" title="Get a text description of the sexp object&#39;s type.">SEXP_strtype</a> (<span class="keyword">const</span> SEXP_t *s_exp);</div>
<div class="line"><a name="l00614"></a><span class="lineno">  614</span>&#160;</div>
<div class="line"><a name="l00615"></a><span class="lineno">  615</span>&#160;SEXP_t *SEXP_build (<span class="keyword">const</span> <span class="keywordtype">char</span> *s_str, ...);</div>
<div class="line"><a name="l00616"></a><span class="lineno">  616</span>&#160;</div>
<div class="line"><a name="l00617"></a><span class="lineno">  617</span>&#160;<span class="keywordtype">size_t</span> SEXP_sizeof (<span class="keyword">const</span> SEXP_t *s_exp);</div>
<div class="line"><a name="l00618"></a><span class="lineno">  618</span>&#160;</div>
<div class="line"><a name="l00619"></a><span class="lineno">  619</span>&#160;<span class="preprocessor">#if !defined(NDEBUG)</span></div>
<div class="line"><a name="l00620"></a><span class="lineno">  620</span>&#160;<span class="preprocessor"></span><span class="preprocessor"># define SEXP_VALIDATE(s) __SEXP_VALIDATE(s, __FILE__, __LINE__, __PRETTY_FUNCTION__)</span></div>
<div class="line"><a name="l00621"></a><span class="lineno">  621</span>&#160;<span class="preprocessor"></span><span class="preprocessor"># include &lt;stdlib.h&gt;</span></div>
<div class="line"><a name="l00622"></a><span class="lineno">  622</span>&#160;</div>
<div class="line"><a name="l00623"></a><span class="lineno">  623</span>&#160;<span class="keywordtype">void</span> __SEXP_VALIDATE(<span class="keyword">const</span> SEXP_t *s_exp, <span class="keyword">const</span> <span class="keywordtype">char</span> *file, uint32_t line, <span class="keyword">const</span> <span class="keywordtype">char</span> *func);</div>
<div class="line"><a name="l00624"></a><span class="lineno">  624</span>&#160;</div>
<div class="line"><a name="l00625"></a><span class="lineno">  625</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00626"></a><span class="lineno">  626</span>&#160;<span class="preprocessor"></span><span class="preprocessor"># define SEXP_VALIDATE(s)</span></div>
<div class="line"><a name="l00627"></a><span class="lineno">  627</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00628"></a><span class="lineno">  628</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00629"></a><span class="lineno">  629</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00630"></a><span class="lineno">  630</span>&#160;<span class="preprocessor"></span>}</div>
<div class="line"><a name="l00631"></a><span class="lineno">  631</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00632"></a><span class="lineno">  632</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00633"></a><span class="lineno">  633</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* SEXP_MANIP_H */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00634"></a><span class="lineno">  634</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00635"></a><span class="lineno">  635</span>&#160;</div>
<div class="line"><a name="l00636"></a><span class="lineno">  636</span>&#160;</div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.3.1
</small></address>
</body>
</html>