Sophie

Sophie

distrib > Mandriva > current > x86_64 > by-pkgid > 3736f276bb1ccfbcee6cb2d27b25d981 > files > 241

openscap-devel-0.5.7-1mdv2010.1.x86_64.rpm

<!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/openscap/openscap-0.5.7/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/openscap/openscap-0.5.7/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="l00018"></a>00018 <span class="comment">/*</span>
<a name="l00019"></a>00019 <span class="comment"> * Copyright 2008 Red Hat Inc., Durham, North Carolina.</span>
<a name="l00020"></a>00020 <span class="comment"> * All Rights Reserved.</span>
<a name="l00021"></a>00021 <span class="comment"> *</span>
<a name="l00022"></a>00022 <span class="comment"> * This library is free software; you can redistribute it and/or</span>
<a name="l00023"></a>00023 <span class="comment"> * modify it under the terms of the GNU Lesser General Public</span>
<a name="l00024"></a>00024 <span class="comment"> * License as published by the Free Software Foundation; either</span>
<a name="l00025"></a>00025 <span class="comment"> * version 2.1 of the License, or (at your option) any later version.</span>
<a name="l00026"></a>00026 <span class="comment"> *</span>
<a name="l00027"></a>00027 <span class="comment"> * This library is distributed in the hope that it will be useful, </span>
<a name="l00028"></a>00028 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00029"></a>00029 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</span>
<a name="l00030"></a>00030 <span class="comment"> * Lesser General Public License for more details.</span>
<a name="l00031"></a>00031 <span class="comment"> *</span>
<a name="l00032"></a>00032 <span class="comment"> * You should have received a copy of the GNU Lesser General Public</span>
<a name="l00033"></a>00033 <span class="comment"> * License along with this library; if not, write to the Free Software </span>
<a name="l00034"></a>00034 <span class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA</span>
<a name="l00035"></a>00035 <span class="comment"> *</span>
<a name="l00036"></a>00036 <span class="comment"> * Authors:</span>
<a name="l00037"></a>00037 <span class="comment"> *      Daniel Kopecek &lt;dkopecek@redhat.com&gt;</span>
<a name="l00038"></a>00038 <span class="comment"> */</span>
<a name="l00039"></a>00039 
<a name="l00040"></a>00040 <span class="preprocessor">#pragma once</span>
<a name="l00041"></a>00041 <span class="preprocessor"></span><span class="preprocessor">#ifndef PROBE_API_H</span>
<a name="l00042"></a>00042 <span class="preprocessor"></span><span class="preprocessor">#define PROBE_API_H</span>
<a name="l00043"></a>00043 <span class="preprocessor"></span>
<a name="l00044"></a>00044 <span class="preprocessor">#include &lt;seap.h&gt;</span>
<a name="l00045"></a>00045 <span class="preprocessor">#include &lt;stdarg.h&gt;</span>
<a name="l00046"></a>00046 <span class="preprocessor">#include &lt;stdint.h&gt;</span>
<a name="l00047"></a>00047 <span class="preprocessor">#include &lt;stdbool.h&gt;</span>
<a name="l00048"></a>00048 <span class="preprocessor">#include &lt;pthread.h&gt;</span>
<a name="l00049"></a>00049 <span class="preprocessor">#include &lt;<a class="code" href="oval__definitions_8h.html">oval_definitions.h</a>&gt;</span>
<a name="l00050"></a>00050 <span class="preprocessor">#include &lt;<a class="code" href="oval__system__characteristics_8h.html">oval_system_characteristics.h</a>&gt;</span>
<a name="l00051"></a>00051 <span class="preprocessor">#include &lt;<a class="code" href="oval__results_8h.html">oval_results.h</a>&gt;</span>
<a name="l00052"></a>00052 
<a name="l00053"></a>00053 <span class="comment">/*</span>
<a name="l00054"></a>00054 <span class="comment"> * items</span>
<a name="l00055"></a>00055 <span class="comment"> */</span>
<a name="l00056"></a>00056 
<a name="l00061"></a>00061 <a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__PROBESAPI.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="l00062"></a>00062 
<a name="l00063"></a>00063 <span class="comment">/* SEXP_t *probe_item_creat (const char *name, SEXP_t *attrs, ...); */</span>
<a name="l00075"></a><a class="code" href="group__PROBESAPI.html#ga60d3eaa56be311e42ca265e1610ba357">00075</a> <span class="preprocessor">#define probe_item_creat(name, attrs, ...) probe_obj_creat (name, attrs, __VA_ARGS__)</span>
<a name="l00076"></a>00076 <span class="preprocessor"></span>
<a name="l00082"></a>00082 <a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__PROBESAPI.html#gaf696f498bb0fedacae306ec8a21caa91" 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="l00083"></a>00083 
<a name="l00091"></a>00091 <a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__PROBESAPI.html#gaaca01da4a1e288ba36f7eec0657f6bbe" 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="l00092"></a>00092 
<a name="l00101"></a>00101 <a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__PROBESAPI.html#ga2a72992661ed8812d7d17c20a3cdff52" 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="l00102"></a>00102 
<a name="l00108"></a>00108 <span class="keywordtype">int</span> <a class="code" href="group__PROBESAPI.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="l00109"></a>00109 
<a name="l00117"></a>00117 <span class="keywordtype">int</span> <a class="code" href="group__PROBESAPI.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="l00118"></a>00118 
<a name="l00122"></a>00122 <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="l00123"></a>00123 
<a name="l00129"></a>00129 <a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__PROBESAPI.html#ga57a33271acce2f5013c1a66b0f106a0a" 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="l00130"></a>00130 
<a name="l00135"></a>00135 <span class="keywordtype">void</span> <a class="code" href="group__PROBESAPI.html#gaebff8a78f7110b657f693e919f2583d1" title="Reset the item id generator.">probe_item_resetid</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="l00136"></a>00136 
<a name="l00137"></a>00137 <span class="preprocessor">#define probe_item_getent(item, name, n) probe_obj_getent (item, name, n)</span>
<a name="l00138"></a>00138 <span class="preprocessor"></span>
<a name="l00139"></a>00139 <span class="comment">/*</span>
<a name="l00140"></a>00140 <span class="comment"> * attributes</span>
<a name="l00141"></a>00141 <span class="comment"> */</span>
<a name="l00142"></a>00142 
<a name="l00150"></a>00150 <a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__PROBESAPI.html#gaa108cf08d3ad894f06e7eee7c0100047" 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="l00151"></a>00151 
<a name="l00152"></a>00152 <span class="comment">/*</span>
<a name="l00153"></a>00153 <span class="comment"> * objects</span>
<a name="l00154"></a>00154 <span class="comment"> */</span>
<a name="l00155"></a>00155 
<a name="l00160"></a>00160 <a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__PROBESAPI.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="l00161"></a>00161 
<a name="l00173"></a>00173 <a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__PROBESAPI.html#ga280020101f5ef03123a7e2ff6a0b282e" 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="l00174"></a>00174 
<a name="l00181"></a>00181 <a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__PROBESAPI.html#ga2539ca96f41a72a89224318c31a19ba9" 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="l00182"></a>00182 
<a name="l00189"></a>00189 <a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__PROBESAPI.html#gac9d092361f39bc8514fcbb0418f47070" 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="l00190"></a>00190 
<a name="l00198"></a>00198 <a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__PROBESAPI.html#gab73d2c29b3b3657eb4a42c5abcb8a98b" 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="l00199"></a>00199 
<a name="l00209"></a>00209 <span class="keywordtype">int</span> <a class="code" href="group__PROBESAPI.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="l00210"></a>00210 
<a name="l00216"></a>00216 <a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__PROBESAPI.html#ga4eff2a5e03886982ddcd3a638656b093" 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="l00217"></a>00217 
<a name="l00223"></a>00223 <span class="keywordtype">bool</span> <a class="code" href="group__PROBESAPI.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="l00224"></a>00224 
<a name="l00230"></a>00230 <span class="keywordtype">int</span> <a class="code" href="group__PROBESAPI.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="l00231"></a>00231 
<a name="l00239"></a>00239 <span class="keywordtype">int</span> <a class="code" href="group__PROBESAPI.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="l00240"></a>00240 
<a name="l00245"></a>00245 <span class="keywordtype">char</span> *<a class="code" href="group__PROBESAPI.html#ga614b832888ad52140d9a8c2be87d1905" 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="l00246"></a>00246 
<a name="l00254"></a>00254 <span class="keywordtype">size_t</span> <a class="code" href="group__PROBESAPI.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="l00255"></a>00255 
<a name="l00256"></a>00256 <span class="comment">/*</span>
<a name="l00257"></a>00257 <span class="comment"> * collected objects</span>
<a name="l00258"></a>00258 <span class="comment"> */</span>
<a name="l00259"></a>00259 
<a name="l00260"></a>00260 <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="l00261"></a>00261 <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="l00262"></a>00262 <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="l00263"></a>00263 <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="l00264"></a>00264                                                          <a class="code" href="group__OVALSYS.html#ga6ca9feb1c89087dbae7c7d3074a378c9" title="System characteristics result flag.">oval_syschar_collection_flag_t</a> f2,
<a name="l00265"></a>00265                                                          <a class="code" href="group__OVALDEF.html#ga695dd73f42848ceb78bc9c9b3794e08c" title="Set operations.">oval_setobject_operation_t</a> op);
<a name="l00266"></a>00266 
<a name="l00267"></a>00267 <span class="comment">/*</span>
<a name="l00268"></a>00268 <span class="comment"> * entities</span>
<a name="l00269"></a>00269 <span class="comment"> */</span>
<a name="l00270"></a>00270 
<a name="l00279"></a>00279 <a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__PROBESAPI.html#ga76a6bb61d3b640748dd5416a349f3bcf" 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="l00280"></a>00280 
<a name="l00288"></a>00288 <a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__PROBESAPI.html#ga1203e858ab9fcf9c2d37514626deb9d8" 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="l00289"></a>00289 
<a name="l00297"></a>00297 <a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__PROBESAPI.html#ga2c4ae475b5c8156b4436359cb82d14c6" 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="l00298"></a>00298 
<a name="l00304"></a>00304 <a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__PROBESAPI.html#gaefe143cb0db920b26ca3c20348287f32" 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="l00305"></a>00305 
<a name="l00313"></a>00313 <span class="keywordtype">int</span> <a class="code" href="group__PROBESAPI.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="l00314"></a>00314 
<a name="l00320"></a>00320 <a class="code" href="structSEXP.html">SEXP_t</a> *<a class="code" href="group__PROBESAPI.html#gaaa841c5a9ec35e411832d2b77ae73aff" 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="l00321"></a>00321 
<a name="l00327"></a>00327 <span class="keywordtype">bool</span> <a class="code" href="group__PROBESAPI.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="l00328"></a>00328 
<a name="l00334"></a>00334 <span class="keywordtype">int</span> <a class="code" href="group__PROBESAPI.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="l00335"></a>00335 
<a name="l00340"></a>00340 <a class="code" href="group__OVALDEF.html#gaf069fe2fb2a9ae3abe47cab55b89827e" title="Datatypes.">oval_datatype_t</a> <a class="code" href="group__PROBESAPI.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="l00341"></a>00341 
<a name="l00347"></a>00347 <span class="keywordtype">int</span> <a class="code" href="group__PROBESAPI.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="l00348"></a>00348 
<a name="l00353"></a>00353 <span class="keywordtype">bool</span> <a class="code" href="group__PROBESAPI.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="l00354"></a>00354 
<a name="l00360"></a>00360 <span class="keywordtype">int</span> <a class="code" href="group__PROBESAPI.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="l00361"></a>00361 
<a name="l00366"></a>00366 <a class="code" href="group__OVALSYS.html#gacf14e82865b7254b573e9a98e7fae422" title="System characteristics status.">oval_syschar_status_t</a> <a class="code" href="group__PROBESAPI.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="l00367"></a>00367 
<a name="l00372"></a>00372 <span class="keywordtype">char</span> *<a class="code" href="group__PROBESAPI.html#gaa9c1f58c018a3d9df99c8240ba387e93" 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="l00373"></a>00373 
<a name="l00381"></a>00381 <span class="keywordtype">size_t</span> <a class="code" href="group__PROBESAPI.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="l00382"></a>00382 
<a name="l00387"></a>00387 <span class="keywordtype">void</span> <a class="code" href="group__PROBESAPI.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="l00388"></a>00388 
<a name="l00389"></a>00389 <span class="preprocessor">#define PROBE_EINVAL     1      </span><span class="comment">/* Invalid type/value/format */</span>
<a name="l00390"></a>00390 <span class="preprocessor">#define PROBE_ENOELM     2      </span><span class="comment">/* Missing element OBSOLETE: use ENOENT */</span>
<a name="l00391"></a>00391 <span class="preprocessor">#define PROBE_ENOVAL     3      </span><span class="comment">/* Missing value */</span>
<a name="l00392"></a>00392 <span class="preprocessor">#define PROBE_ENOATTR    4      </span><span class="comment">/* Missing attribute */</span>
<a name="l00393"></a>00393 <span class="preprocessor">#define PROBE_EINIT      5      </span><span class="comment">/* Initialization failed */</span>
<a name="l00394"></a>00394 <span class="preprocessor">#define PROBE_ENOMEM     6      </span><span class="comment">/* No memory */</span>
<a name="l00395"></a>00395 <span class="preprocessor">#define PROBE_EOPNOTSUPP 7      </span><span class="comment">/* Not supported */</span>
<a name="l00396"></a>00396 <span class="preprocessor">#define PROBE_ERANGE     8      </span><span class="comment">/* Out of range */</span>
<a name="l00397"></a>00397 <span class="preprocessor">#define PROBE_EDOM       9      </span><span class="comment">/* Out of domain */</span>
<a name="l00398"></a>00398 <span class="preprocessor">#define PROBE_EFAULT    10      </span><span class="comment">/* Memory fault/NULL value */</span>
<a name="l00399"></a>00399 <span class="preprocessor">#define PROBE_EACCES    11      </span><span class="comment">/* Operation not perimitted */</span>
<a name="l00400"></a>00400 <span class="preprocessor">#define PROBE_ESETEVAL  12      </span><span class="comment">/* Set evaluation failed */</span>
<a name="l00401"></a>00401 <span class="preprocessor">#define PROBE_ENOENT    13      </span><span class="comment">/* Missing entity */</span>
<a name="l00402"></a>00402 <span class="preprocessor">#define PROBE_EFATAL   254      </span><span class="comment">/* Unrecoverable error */</span>
<a name="l00403"></a>00403 <span class="preprocessor">#define PROBE_EUNKNOWN 255      </span><span class="comment">/* Unknown/Unexpected error */</span>
<a name="l00404"></a>00404 
<a name="l00405"></a>00405 <span class="preprocessor">#define OVAL_STATUS_UNKNOWN      SYSCHAR_STATUS_UNKNOWN</span>
<a name="l00406"></a>00406 <span class="preprocessor"></span><span class="preprocessor">#define OVAL_STATUS_ERROR        SYSCHAR_STATUS_ERROR</span>
<a name="l00407"></a>00407 <span class="preprocessor"></span><span class="preprocessor">#define OVAL_STATUS_EXISTS       SYSCHAR_STATUS_EXISTS</span>
<a name="l00408"></a>00408 <span class="preprocessor"></span><span class="preprocessor">#define OVAL_STATUS_DOESNOTEXIST SYSCHAR_STATUS_DOES_NOT_EXIST</span>
<a name="l00409"></a>00409 <span class="preprocessor"></span><span class="preprocessor">#define OVAL_STATUS_NOTCOLLECTED SYSCHAR_STATUS_NOT_COLLECTED</span>
<a name="l00410"></a>00410 <span class="preprocessor"></span>
<a name="l00411"></a>00411 <span class="preprocessor">#define PROBECMD_STE_FETCH 1</span>
<a name="l00412"></a>00412 <span class="preprocessor"></span><span class="preprocessor">#define PROBECMD_OBJ_EVAL  2</span>
<a name="l00413"></a>00413 <span class="preprocessor"></span>
<a name="l00414"></a>00414 <span class="keywordtype">void</span> *probe_init(<span class="keywordtype">void</span>) <a class="code" href="struct____attribute____.html">__attribute__</a> ((unused));
<a name="l00415"></a>00415 <span class="keywordtype">void</span> probe_fini(<span class="keywordtype">void</span> *) <a class="code" href="struct____attribute____.html">__attribute__</a> ((unused));
<a name="l00416"></a>00416 <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="l00417"></a>00417 
<a name="l00418"></a>00418 <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 26 Feb 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>