File: probe-api_8h_source.html

package info (click to toggle)
openscap 0.5.12-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 27,052 kB
  • ctags: 21,075
  • sloc: xml: 82,351; ansic: 52,101; sh: 17,802; makefile: 748; perl: 442; cpp: 117; python: 110
file content (205 lines) | stat: -rw-r--r-- 29,074 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
<!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>Open SCAP Library: /home/pvrabec/project/openscap/openscap-0.5.12/src/OVAL/probes/public/probe-api.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.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</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>
    </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>
<h1>/home/pvrabec/project/openscap/openscap-0.5.12/src/OVAL/probes/public/probe-api.h</h1><a href="probe-api_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00035"></a>00035 <span class="comment">/*</span>
<a name="l00036"></a>00036 <span class="comment"> * Copyright 2009 Red Hat Inc., Durham, North Carolina.</span>
<a name="l00037"></a>00037 <span class="comment"> * All Rights Reserved.</span>
<a name="l00038"></a>00038 <span class="comment"> *</span>
<a name="l00039"></a>00039 <span class="comment"> * This library is free software; you can redistribute it and/or</span>
<a name="l00040"></a>00040 <span class="comment"> * modify it under the terms of the GNU Lesser General Public</span>
<a name="l00041"></a>00041 <span class="comment"> * License as published by the Free Software Foundation; either</span>
<a name="l00042"></a>00042 <span class="comment"> * version 2.1 of the License, or (at your option) any later version.</span>
<a name="l00043"></a>00043 <span class="comment"> *</span>
<a name="l00044"></a>00044 <span class="comment"> * This library is distributed in the hope that it will be useful, </span>
<a name="l00045"></a>00045 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00046"></a>00046 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</span>
<a name="l00047"></a>00047 <span class="comment"> * Lesser General Public License for more details.</span>
<a name="l00048"></a>00048 <span class="comment"> *</span>
<a name="l00049"></a>00049 <span class="comment"> * You should have received a copy of the GNU Lesser General Public</span>
<a name="l00050"></a>00050 <span class="comment"> * License along with this library; if not, write to the Free Software </span>
<a name="l00051"></a>00051 <span class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA</span>
<a name="l00052"></a>00052 <span class="comment"> *</span>
<a name="l00053"></a>00053 <span class="comment"> * Authors:</span>
<a name="l00054"></a>00054 <span class="comment"> *      Daniel Kopecek &lt;dkopecek@redhat.com&gt;</span>
<a name="l00055"></a>00055 <span class="comment"> */</span>
<a name="l00056"></a>00056 
<a name="l00057"></a>00057 <span class="preprocessor">#pragma once</span>
<a name="l00058"></a>00058 <span class="preprocessor"></span><span class="preprocessor">#ifndef PROBE_API_H</span>
<a name="l00059"></a>00059 <span class="preprocessor"></span><span class="preprocessor">#define PROBE_API_H</span>
<a name="l00060"></a>00060 <span class="preprocessor"></span>
<a name="l00061"></a>00061 <span class="preprocessor">#include &lt;seap.h&gt;</span>
<a name="l00062"></a>00062 <span class="preprocessor">#include &lt;stdarg.h&gt;</span>
<a name="l00063"></a>00063 <span class="preprocessor">#include &lt;stdint.h&gt;</span>
<a name="l00064"></a>00064 <span class="preprocessor">#include &lt;stdbool.h&gt;</span>
<a name="l00065"></a>00065 <span class="preprocessor">#include &lt;pthread.h&gt;</span>
<a name="l00066"></a>00066 <span class="preprocessor">#include &lt;<a class="code" href="oval__definitions_8h.html">oval_definitions.h</a>&gt;</span>
<a name="l00067"></a>00067 <span class="preprocessor">#include &lt;<a class="code" href="oval__system__characteristics_8h.html">oval_system_characteristics.h</a>&gt;</span>
<a name="l00068"></a>00068 <span class="preprocessor">#include &lt;<a class="code" href="oval__results_8h.html">oval_results.h</a>&gt;</span>
<a name="l00069"></a>00069 
<a name="l00070"></a>00070 <span class="comment">/*</span>
<a name="l00071"></a>00071 <span class="comment"> * items</span>
<a name="l00072"></a>00072 <span class="comment"> */</span>
<a name="l00073"></a>00073 
<a name="l00078"></a>00078 <a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__PROBEAPI.html#ga24a0fe6c46c667ee39d0f765630a52df" title="Build a new item according to the scpecified format.">probe_item_build</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *fmt, ...);
<a name="l00079"></a>00079 
<a name="l00080"></a>00080 <span class="comment">/* SEXP_t *probe_item_creat (const char *name, SEXP_t *attrs, ...); */</span>
<a name="l00092"></a>00092 <a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__PROBEAPI.html#ga281872a3c21765f07bb10c9d01f03100" title="Create a new item consisting of a name, optional attributes argument and an arbitrary...">probe_item_creat</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name, <a class="code" href="structSEXP.html">SEXP_t</a> * attrs, ...);
<a name="l00093"></a>00093 
<a name="l00099"></a>00099 <a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__PROBEAPI.html#ga585f26cf2067dff8dbc56939cd8ea88b" title="Create a new item with just a name and optional attributes argument.">probe_item_new</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name, <a class="code" href="structSEXP.html">SEXP_t</a> * attrs);
<a name="l00100"></a>00100 
<a name="l00108"></a>00108 <a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__PROBEAPI.html#ga7d094b506287a2f0397b3cfb90ba62ae" title="Add a new attribute to an item.">probe_item_attr_add</a>(<a class="code" href="structSEXP.html">SEXP_t</a> * item, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <a class="code" href="structSEXP.html">SEXP_t</a> * val);
<a name="l00109"></a>00109 
<a name="l00118"></a>00118 <a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__PROBEAPI.html#ga2e3bf979b8e884105ebde18c945de292" title="Add a new entity to an item.">probe_item_ent_add</a>(<a class="code" href="structSEXP.html">SEXP_t</a> * item, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <a class="code" href="structSEXP.html">SEXP_t</a> * attrs, <a class="code" href="structSEXP.html">SEXP_t</a> * val);
<a name="l00119"></a>00119 
<a name="l00125"></a>00125 <span class="keywordtype">int</span> <a class="code" href="group__PROBEAPI.html#ga816e3a0f4022b42e80adb37e712217a1" title="Set item&amp;#39;s status.">probe_item_setstatus</a>(<a class="code" href="structSEXP.html">SEXP_t</a> * obj, <a class="code" href="group__OVALSYS.html#gacf14e82865b7254b573e9a98e7fae422" title="System characteristics status.">oval_syschar_status_t</a> status);
<a name="l00126"></a>00126 
<a name="l00134"></a>00134 <span class="keywordtype">int</span> <a class="code" href="group__PROBEAPI.html#gad25f90c27a7f5a76abd4348a2777b138" title="Set status of an item&amp;#39;s entity.">probe_itement_setstatus</a>(<a class="code" href="structSEXP.html">SEXP_t</a> * obj, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, uint32_t n, <a class="code" href="group__OVALSYS.html#gacf14e82865b7254b573e9a98e7fae422" title="System characteristics status.">oval_syschar_status_t</a> status);
<a name="l00135"></a>00135 
<a name="l00139"></a>00139 <span class="keyword">struct </span><a class="code" href="structid__desc__t.html" title="Holds information for item ids generation.">id_desc_t</a>;
<a name="l00140"></a>00140 
<a name="l00146"></a>00146 <a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__PROBEAPI.html#gac5f0e8107e22f78623d25f1ede61e127" title="Get a new unique id (within a probe) for an item.">probe_item_newid</a>(<span class="keyword">struct</span> <a class="code" href="structid__desc__t.html" title="Holds information for item ids generation.">id_desc_t</a> *id_desc);
<a name="l00147"></a>00147 
<a name="l00152"></a>00152 <span class="keywordtype">void</span> <a class="code" href="group__PROBEAPI.html#ga305847888cf828258788bffc475c3c18" title="Reset the item id generator.">probe_item_resetidctr</a>(<span class="keyword">struct</span> <a class="code" href="structid__desc__t.html" title="Holds information for item ids generation.">id_desc_t</a> *id_desc);
<a name="l00153"></a>00153 
<a name="l00154"></a>00154 <span class="preprocessor">#define probe_item_getent(item, name, n) probe_obj_getent (item, name, n)</span>
<a name="l00155"></a>00155 <span class="preprocessor"></span>
<a name="l00156"></a>00156 <span class="comment">/*</span>
<a name="l00157"></a>00157 <span class="comment"> * attributes</span>
<a name="l00158"></a>00158 <span class="comment"> */</span>
<a name="l00159"></a>00159 
<a name="l00167"></a>00167 <a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__PROBEAPI.html#gad5454da7eac743ac23d061df7b020b95" title="Create a new list of attributes.">probe_attr_creat</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keyword">const</span> <a class="code" href="structSEXP.html">SEXP_t</a> * val, ...);
<a name="l00168"></a>00168 
<a name="l00169"></a>00169 <span class="comment">/*</span>
<a name="l00170"></a>00170 <span class="comment"> * objects</span>
<a name="l00171"></a>00171 <span class="comment"> */</span>
<a name="l00172"></a>00172 
<a name="l00177"></a>00177 <a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__PROBEAPI.html#gac6a32ee967031ae45ccb7b29806715ed" title="Build a new object according to the scpecified format.">probe_obj_build</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *fmt, ...);
<a name="l00178"></a>00178 
<a name="l00190"></a>00190 <a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__PROBEAPI.html#ga877e7523a7c07c10b54d048dc49e97e1" title="Create a new object consisting of a name, optional attributes argument and an arbitrary...">probe_obj_creat</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name, <a class="code" href="structSEXP.html">SEXP_t</a> * attrs, ...);
<a name="l00191"></a>00191 
<a name="l00198"></a>00198 <a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__PROBEAPI.html#ga8a935fab2be64f5216f03a875d775b13" title="Create a new object with just a name and optional attributes argument.">probe_obj_new</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name, <a class="code" href="structSEXP.html">SEXP_t</a> * attrs);
<a name="l00199"></a>00199 
<a name="l00206"></a>00206 <a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__PROBEAPI.html#ga0e969f658bbfd5fb8aaf9a4a0d4e781d" title="Get an entity from an object.">probe_obj_getent</a>(<span class="keyword">const</span> <a class="code" href="structSEXP.html">SEXP_t</a> * obj, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, uint32_t n);
<a name="l00207"></a>00207 
<a name="l00215"></a>00215 <a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__PROBEAPI.html#ga5d150dec132971e7c564ce61fab05f3b" title="Get the value of an object&amp;#39;s entity.">probe_obj_getentval</a>(<span class="keyword">const</span> <a class="code" href="structSEXP.html">SEXP_t</a> * obj, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, uint32_t n);
<a name="l00216"></a>00216 
<a name="l00226"></a>00226 <span class="keywordtype">int</span> <a class="code" href="group__PROBEAPI.html#gace27f5edf64bb92b2eac845828fc16a8" title="Get the list of values of an object&amp;#39;s entity.">probe_obj_getentvals</a>(<span class="keyword">const</span> <a class="code" href="structSEXP.html">SEXP_t</a> * obj, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, uint32_t n, <a class="code" href="structSEXP.html">SEXP_t</a> ** res);
<a name="l00227"></a>00227 
<a name="l00233"></a>00233 <a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__PROBEAPI.html#ga0c4b1bdebc81320bd48a3517a8309247" title="Get the value of an object&amp;#39;s attribute.">probe_obj_getattrval</a>(<span class="keyword">const</span> <a class="code" href="structSEXP.html">SEXP_t</a> * obj, <span class="keyword">const</span> <span class="keywordtype">char</span> *name);
<a name="l00234"></a>00234 
<a name="l00240"></a>00240 <span class="keywordtype">bool</span> <a class="code" href="group__PROBEAPI.html#gabdad7653e94bf96bec05941f87257f2e" title="Check whether the specified attribute exists.">probe_obj_attrexists</a>(<span class="keyword">const</span> <a class="code" href="structSEXP.html">SEXP_t</a> * obj, <span class="keyword">const</span> <span class="keywordtype">char</span> *name);
<a name="l00241"></a>00241 
<a name="l00247"></a>00247 <span class="keywordtype">int</span> <a class="code" href="group__PROBEAPI.html#gabc311067d7dc968de8aa5c640632f015" title="Set objects&amp;#39;s status.">probe_obj_setstatus</a>(<a class="code" href="structSEXP.html">SEXP_t</a> * obj, <a class="code" href="group__OVALSYS.html#gacf14e82865b7254b573e9a98e7fae422" title="System characteristics status.">oval_syschar_status_t</a> status);
<a name="l00248"></a>00248 
<a name="l00256"></a>00256 <span class="keywordtype">int</span> <a class="code" href="group__PROBEAPI.html#ga44a9fff23baac451bb3619b619b77690" title="Set status of an object&amp;#39;s entity.">probe_objent_setstatus</a>(<a class="code" href="structSEXP.html">SEXP_t</a> * obj, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, uint32_t n, <a class="code" href="group__OVALSYS.html#gacf14e82865b7254b573e9a98e7fae422" title="System characteristics status.">oval_syschar_status_t</a> status);
<a name="l00257"></a>00257 
<a name="l00262"></a>00262 <span class="keywordtype">char</span> *<a class="code" href="group__PROBEAPI.html#ga3cad77f08bb8e6c8ab00af561d3558fd" title="Get the name of an object.">probe_obj_getname</a>(<span class="keyword">const</span> <a class="code" href="structSEXP.html">SEXP_t</a> * obj);
<a name="l00263"></a>00263 
<a name="l00271"></a>00271 <span class="keywordtype">size_t</span> <a class="code" href="group__PROBEAPI.html#ga99fcdf7398c070fe503c97b31281289e" title="Get the name of an object.">probe_obj_getname_r</a>(<span class="keyword">const</span> <a class="code" href="structSEXP.html">SEXP_t</a> * obj, <span class="keywordtype">char</span> *buffer, <span class="keywordtype">size_t</span> buflen);
<a name="l00272"></a>00272 
<a name="l00273"></a>00273 <span class="comment">/*</span>
<a name="l00274"></a>00274 <span class="comment"> * collected objects</span>
<a name="l00275"></a>00275 <span class="comment"> */</span>
<a name="l00276"></a>00276 
<a name="l00277"></a>00277 <a class="code" href="structSEXP.html">SEXP_t</a> *_probe_cobj_new(<a class="code" href="group__OVALSYS.html#ga6ca9feb1c89087dbae7c7d3074a378c9" title="System characteristics result flag.">oval_syschar_collection_flag_t</a> flag, <span class="keyword">const</span> <a class="code" href="structSEXP.html">SEXP_t</a> *item_list);
<a name="l00278"></a>00278 <a class="code" href="structSEXP.html">SEXP_t</a> *_probe_cobj_get_items(<span class="keyword">const</span> <a class="code" href="structSEXP.html">SEXP_t</a> *cobj);
<a name="l00279"></a>00279 <a class="code" href="group__OVALSYS.html#ga6ca9feb1c89087dbae7c7d3074a378c9" title="System characteristics result flag.">oval_syschar_collection_flag_t</a> _probe_cobj_get_flag(<span class="keyword">const</span> <a class="code" href="structSEXP.html">SEXP_t</a> *cobj);
<a name="l00280"></a>00280 <a class="code" href="group__OVALSYS.html#ga6ca9feb1c89087dbae7c7d3074a378c9" title="System characteristics result flag.">oval_syschar_collection_flag_t</a> _probe_cobj_combine_flags(<a class="code" href="group__OVALSYS.html#ga6ca9feb1c89087dbae7c7d3074a378c9" title="System characteristics result flag.">oval_syschar_collection_flag_t</a> f1,
<a name="l00281"></a>00281                                                          <a class="code" href="group__OVALSYS.html#ga6ca9feb1c89087dbae7c7d3074a378c9" title="System characteristics result flag.">oval_syschar_collection_flag_t</a> f2,
<a name="l00282"></a>00282                                                          <a class="code" href="group__OVALDEF.html#ga695dd73f42848ceb78bc9c9b3794e08c" title="Set operations.">oval_setobject_operation_t</a> op);
<a name="l00283"></a>00283 
<a name="l00284"></a>00284 <span class="comment">/*</span>
<a name="l00285"></a>00285 <span class="comment"> * entities</span>
<a name="l00286"></a>00286 <span class="comment"> */</span>
<a name="l00287"></a>00287 
<a name="l00296"></a>00296 <a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__PROBEAPI.html#ga16e28dc2212c2cb4823270d5b89796e8" title="Create a new list of entities.">probe_ent_creat</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name, <a class="code" href="structSEXP.html">SEXP_t</a> * attrs, <a class="code" href="structSEXP.html">SEXP_t</a> * val, ...);
<a name="l00297"></a>00297 
<a name="l00305"></a>00305 <a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__PROBEAPI.html#gaf25568074f3fd20b740fa1a7772b62e8" title="Create a new entity.">probe_ent_creat1</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name, <a class="code" href="structSEXP.html">SEXP_t</a> * attrs, <a class="code" href="structSEXP.html">SEXP_t</a> * val);
<a name="l00306"></a>00306 
<a name="l00314"></a>00314 <a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__PROBEAPI.html#ga26150d99efb18ef3893f55526048297f" title="Add a new attribute to an entity.">probe_ent_attr_add</a>(<a class="code" href="structSEXP.html">SEXP_t</a> * ent, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <a class="code" href="structSEXP.html">SEXP_t</a> * val);
<a name="l00315"></a>00315 
<a name="l00321"></a>00321 <a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__PROBEAPI.html#ga73598523f63abab6f4229bbd9daa9dba" title="Get the value of an entity.">probe_ent_getval</a>(<span class="keyword">const</span> <a class="code" href="structSEXP.html">SEXP_t</a> * ent);
<a name="l00322"></a>00322 
<a name="l00330"></a>00330 <span class="keywordtype">int</span> <a class="code" href="group__PROBEAPI.html#ga3ff2cd8dba0ce124e8c1557f83ece7e0" title="Get the list of values of an entity.">probe_ent_getvals</a>(<span class="keyword">const</span> <a class="code" href="structSEXP.html">SEXP_t</a> * ent, <a class="code" href="structSEXP.html">SEXP_t</a> ** res);
<a name="l00331"></a>00331 
<a name="l00337"></a>00337 <a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__PROBEAPI.html#gaf2b69d899ddd53c161f162c7d9e4dbbc" title="Get the value of an entity&amp;#39;s attribute.">probe_ent_getattrval</a>(<span class="keyword">const</span> <a class="code" href="structSEXP.html">SEXP_t</a> * ent, <span class="keyword">const</span> <span class="keywordtype">char</span> *name);
<a name="l00338"></a>00338 
<a name="l00344"></a>00344 <span class="keywordtype">bool</span> <a class="code" href="group__PROBEAPI.html#gade2da190db42b69de3a82df73ddf92da" title="Check whether the specified attribute exists.">probe_ent_attrexists</a>(<span class="keyword">const</span> <a class="code" href="structSEXP.html">SEXP_t</a> * ent, <span class="keyword">const</span> <span class="keywordtype">char</span> *name);
<a name="l00345"></a>00345 
<a name="l00351"></a>00351 <span class="keywordtype">int</span> <a class="code" href="group__PROBEAPI.html#gabd1dbeb0c28df011d6a2aceb400bf1cb" title="Set the OVAL data type of an entity.">probe_ent_setdatatype</a>(<a class="code" href="structSEXP.html">SEXP_t</a> * ent, <a class="code" href="group__OVALDEF.html#gaf069fe2fb2a9ae3abe47cab55b89827e" title="Datatypes.">oval_datatype_t</a> type);
<a name="l00352"></a>00352 
<a name="l00357"></a>00357 <a class="code" href="group__OVALDEF.html#gaf069fe2fb2a9ae3abe47cab55b89827e" title="Datatypes.">oval_datatype_t</a> <a class="code" href="group__PROBEAPI.html#ga63df6b0800c386aa946dd79088893f05" title="Get the OVAL data type of an entity.">probe_ent_getdatatype</a>(<span class="keyword">const</span> <a class="code" href="structSEXP.html">SEXP_t</a> * ent);
<a name="l00358"></a>00358 
<a name="l00364"></a>00364 <span class="keywordtype">int</span> <a class="code" href="group__PROBEAPI.html#ga78fa4b2ed51c75dc331f2b30305be587" title="Set entity&amp;#39;s mask.">probe_ent_setmask</a>(<a class="code" href="structSEXP.html">SEXP_t</a> * ent, <span class="keywordtype">bool</span> mask);
<a name="l00365"></a>00365 
<a name="l00370"></a>00370 <span class="keywordtype">bool</span> <a class="code" href="group__PROBEAPI.html#gaa18871c25a66d86317af2998703d3834" title="Get entity&amp;#39;s mask.">probe_ent_getmask</a>(<span class="keyword">const</span> <a class="code" href="structSEXP.html">SEXP_t</a> * ent);
<a name="l00371"></a>00371 
<a name="l00377"></a>00377 <span class="keywordtype">int</span> <a class="code" href="group__PROBEAPI.html#ga19a9b8b09ebcb61389d792eeb4a450ee" title="Set entity&amp;#39;s status.">probe_ent_setstatus</a>(<a class="code" href="structSEXP.html">SEXP_t</a> * ent, <a class="code" href="group__OVALSYS.html#gacf14e82865b7254b573e9a98e7fae422" title="System characteristics status.">oval_syschar_status_t</a> status);
<a name="l00378"></a>00378 
<a name="l00383"></a>00383 <a class="code" href="group__OVALSYS.html#gacf14e82865b7254b573e9a98e7fae422" title="System characteristics status.">oval_syschar_status_t</a> <a class="code" href="group__PROBEAPI.html#gaf6f8c32f4222562df8396b6ce8e8afc0" title="Get entity status.">probe_ent_getstatus</a>(<span class="keyword">const</span> <a class="code" href="structSEXP.html">SEXP_t</a> * ent);
<a name="l00384"></a>00384 
<a name="l00389"></a>00389 <span class="keywordtype">char</span> *<a class="code" href="group__PROBEAPI.html#ga01ea603ba88ab456b6501709311bc3ff" title="Get the name of an entity.">probe_ent_getname</a>(<span class="keyword">const</span> <a class="code" href="structSEXP.html">SEXP_t</a> * ent);
<a name="l00390"></a>00390 
<a name="l00398"></a>00398 <span class="keywordtype">size_t</span> <a class="code" href="group__PROBEAPI.html#ga8327d5fcb919ace33e748995242121d5" title="Get the name of an entity.">probe_ent_getname_r</a>(<span class="keyword">const</span> <a class="code" href="structSEXP.html">SEXP_t</a> * ent, <span class="keywordtype">char</span> *buffer, <span class="keywordtype">size_t</span> buflen);
<a name="l00399"></a>00399 
<a name="l00404"></a>00404 <span class="keywordtype">void</span> <a class="code" href="group__PROBEAPI.html#gaaa9687fb52f3ecba96ea03e71759505c" title="Free the memory allocated by the probe_* functions.">probe_free</a>(<a class="code" href="structSEXP.html">SEXP_t</a> * obj);
<a name="l00405"></a>00405 
<a name="l00406"></a><a class="code" href="group__PROBEAPI.html#gad69bb1533565f81eb97329ad8999a274">00406</a> <span class="preprocessor">#define PROBE_EINVAL     1      </span>
<a name="l00407"></a><a class="code" href="group__PROBEAPI.html#ga665325994bad09304d8200537d93642b">00407</a> <span class="preprocessor">#define PROBE_ENOELM     2      </span>
<a name="l00408"></a><a class="code" href="group__PROBEAPI.html#gac40d965d6387fc705aea7e17dd7680ba">00408</a> <span class="preprocessor">#define PROBE_ENOVAL     3      </span>
<a name="l00409"></a><a class="code" href="group__PROBEAPI.html#ga74bcecc6555100a7238fdc65f0d6148b">00409</a> <span class="preprocessor">#define PROBE_ENOATTR    4      </span>
<a name="l00410"></a><a class="code" href="group__PROBEAPI.html#ga9a5597ef21583fc083506d20a214761a">00410</a> <span class="preprocessor">#define PROBE_EINIT      5      </span>
<a name="l00411"></a><a class="code" href="group__PROBEAPI.html#gaa21674196b5cb001c28278c9514be185">00411</a> <span class="preprocessor">#define PROBE_ENOMEM     6      </span>
<a name="l00412"></a><a class="code" href="group__PROBEAPI.html#gaa6a7dd0ff32488e301fc8b9420acf55c">00412</a> <span class="preprocessor">#define PROBE_EOPNOTSUPP 7      </span>
<a name="l00413"></a><a class="code" href="group__PROBEAPI.html#ga46a7aab37ba4784bd48fd1e5928ce96e">00413</a> <span class="preprocessor">#define PROBE_ERANGE     8      </span>
<a name="l00414"></a><a class="code" href="group__PROBEAPI.html#gaf657b90fcfba95adaae13b5052304c63">00414</a> <span class="preprocessor">#define PROBE_EDOM       9      </span>
<a name="l00415"></a><a class="code" href="group__PROBEAPI.html#ga4f022024f2cd09d1d61896e5c2c38255">00415</a> <span class="preprocessor">#define PROBE_EFAULT    10      </span>
<a name="l00416"></a><a class="code" href="group__PROBEAPI.html#gaf12236c8016b55ab3faf1113b8b2c891">00416</a> <span class="preprocessor">#define PROBE_EACCES    11      </span>
<a name="l00417"></a><a class="code" href="group__PROBEAPI.html#ga17111637d17fa23099a5db55a244d708">00417</a> <span class="preprocessor">#define PROBE_ESETEVAL  12      </span>
<a name="l00418"></a><a class="code" href="group__PROBEAPI.html#ga06b962b819862cec7b8d5db3435d2ca7">00418</a> <span class="preprocessor">#define PROBE_ENOENT    13      </span>
<a name="l00419"></a><a class="code" href="group__PROBEAPI.html#ga851f1cb9529e4ac8d3e4ab659492dac6">00419</a> <span class="preprocessor">#define PROBE_EFATAL   254      </span>
<a name="l00420"></a><a class="code" href="group__PROBEAPI.html#gac7ffdc136441d8e231cdf0907c2dd03f">00420</a> <span class="preprocessor">#define PROBE_EUNKNOWN 255      </span>
<a name="l00422"></a>00422 <span class="preprocessor">#define OVAL_STATUS_UNKNOWN      SYSCHAR_STATUS_UNKNOWN</span>
<a name="l00423"></a>00423 <span class="preprocessor"></span><span class="preprocessor">#define OVAL_STATUS_ERROR        SYSCHAR_STATUS_ERROR</span>
<a name="l00424"></a>00424 <span class="preprocessor"></span><span class="preprocessor">#define OVAL_STATUS_EXISTS       SYSCHAR_STATUS_EXISTS</span>
<a name="l00425"></a>00425 <span class="preprocessor"></span><span class="preprocessor">#define OVAL_STATUS_DOESNOTEXIST SYSCHAR_STATUS_DOES_NOT_EXIST</span>
<a name="l00426"></a>00426 <span class="preprocessor"></span><span class="preprocessor">#define OVAL_STATUS_NOTCOLLECTED SYSCHAR_STATUS_NOT_COLLECTED</span>
<a name="l00427"></a>00427 <span class="preprocessor"></span>
<a name="l00428"></a><a class="code" href="group__PROBEAPI.html#gabf31b82ea668b210dc889e8706674fca">00428</a> <span class="preprocessor">#define PROBECMD_STE_FETCH 1 </span>
<a name="l00429"></a><a class="code" href="group__PROBEAPI.html#ga568b36409fa7ad30440d7b9b339db22d">00429</a> <span class="preprocessor">#define PROBECMD_OBJ_EVAL  2 </span>
<a name="l00430"></a><a class="code" href="group__PROBEAPI.html#gafaa4a590a3406b83092502eb0d05b98e">00430</a> <span class="preprocessor">#define PROBECMD_RESET     3 </span>
<a name="l00432"></a>00432 <span class="preprocessor">void *probe_init(void) __attribute__ ((unused));</span>
<a name="l00433"></a>00433 <span class="preprocessor"></span><span class="keywordtype">void</span> probe_fini(<span class="keywordtype">void</span> *) <a class="code" href="struct____attribute____.html">__attribute__</a> ((unused));
<a name="l00434"></a>00434 <a class="code" href="structSEXP.html">SEXP_t</a> *probe_main(<a class="code" href="structSEXP.html">SEXP_t</a> *, <span class="keywordtype">int</span> *, <span class="keywordtype">void</span> *) <a class="code" href="struct____attribute____.html">__attribute__</a> ((nonnull(1, 2)));
<a name="l00435"></a>00435 
<a name="l00436"></a>00436 <span class="preprocessor">#endif                          </span><span class="comment">/* PROBE_API_H */</span>
</pre></div></div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 30 Jun 2010 for Open SCAP Library by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>