Sophie

Sophie

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

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: cpe_item Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.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 class="current"><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&nbsp;Structure&nbsp;Index</span></a></li>
      <li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>cpe_item Struct Reference<br/>
<small>
[<a class="el" href="group__CPEDictPrivate.html">Private members</a>,&nbsp;<a class="el" href="group__cpedict.html">CPE Dictionary</a>]</small>
</h1><!-- doxytag: class="cpe_item" -->
<p>Structure representing single CPE dictionary item.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="cpedict__priv_8h_source.html">cpedict_priv.h</a>&gt;</code></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Parse functions</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp55bde346b0631e090bfc4a3be713ee4c"></a>Functions for parsing structures from XML.</p>
<p>Return value is new structure filled by content of XML file represented by XML reader or import source structure. Structure needs to be freed by the caller. </p>
<br/><br/></div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structcpe__item.html">cpe_item</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__CPEDictPrivate.html#ga9b4c6eb4f498f12ace9be653252ff9ef">cpe_item_parse</a> (xmlTextReaderPtr reader)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">New dictionary item from XML.  <a href="group__CPEDictPrivate.html#ga9b4c6eb4f498f12ace9be653252ff9ef"></a><br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Export functions</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp5713b34587ba18c5a4561b737b639ae5"></a>Functions for export structures to XML by XML writer.</p>
<p>Exported structures need to be freed by the caller. </p>
<br/><br/></div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__CPEDictPrivate.html#gadb776a9e1ba4acd6ed5761da44fe667b">cpe_item_export</a> (const struct <a class="el" href="structcpe__item.html">cpe_item</a> *item, xmlTextWriterPtr writer)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Exporting function for CPE item.  <a href="group__CPEDictPrivate.html#gadb776a9e1ba4acd6ed5761da44fe667b"></a><br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Get functions</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpc2ac1eb4de8ec5add5567cbae2f237e5"></a>Functions for getting attributes from CVE model structures.</p>
<p>Return value is pointer to structure's member. Do not free unless you null the pointer in the structure. Use remove function otherwise. </p>
<br/><br/></div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structcpe__name.html">cpe_name</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga2e61427852c3a13926fb0fc1494e2999">cpe_item_get_name</a> (const struct <a class="el" href="structcpe__item.html">cpe_item</a> *item)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="structcpe__item.html" title="Structure representing single CPE dictionary item.">cpe_item</a> functions to get variable member name  <a href="group__cpedict.html#ga2e61427852c3a13926fb0fc1494e2999"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structcpe__name.html">cpe_name</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#gaa1a0b946da4f28874dfd062373737bd2">cpe_item_get_deprecated</a> (const struct <a class="el" href="structcpe__item.html">cpe_item</a> *item)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="structcpe__item.html" title="Structure representing single CPE dictionary item.">cpe_item</a> functions to get variable member deprecated  <a href="group__cpedict.html#gaa1a0b946da4f28874dfd062373737bd2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga49a4fb0b0841368bebd79405240a3bf4">cpe_item_get_deprecation_date</a> (const struct <a class="el" href="structcpe__item.html">cpe_item</a> *item)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="structcpe__item.html" title="Structure representing single CPE dictionary item.">cpe_item</a> functions to get variable member date  <a href="group__cpedict.html#ga49a4fb0b0841368bebd79405240a3bf4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structcpe__item__metadata.html">cpe_item_metadata</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#gad619090ae9166f487643159b0d21b2d8">cpe_item_get_metadata</a> (const struct <a class="el" href="structcpe__item.html">cpe_item</a> *item)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="structcpe__item.html" title="Structure representing single CPE dictionary item.">cpe_item</a> functions to get metadata of <a class="el" href="structcpe__item.html" title="Structure representing single CPE dictionary item.">cpe_item</a>  <a href="group__cpedict.html#gad619090ae9166f487643159b0d21b2d8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structcpe__reference__iterator.html">cpe_reference_iterator</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga0ba8f555bf9436af38605800b47d9d02">cpe_item_get_references</a> (const struct <a class="el" href="structcpe__item.html">cpe_item</a> *item)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="structcpe__item.html" title="Structure representing single CPE dictionary item.">cpe_item</a> functions to get CPE references  <a href="group__cpedict.html#ga0ba8f555bf9436af38605800b47d9d02"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structcpe__check__iterator.html">cpe_check_iterator</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga76ca0c433155cc326af4439004753e50">cpe_item_get_checks</a> (const struct <a class="el" href="structcpe__item.html">cpe_item</a> *item)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="structcpe__item.html" title="Structure representing single CPE dictionary item.">cpe_item</a> functions to get CPE checks  <a href="group__cpedict.html#ga76ca0c433155cc326af4439004753e50"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structoscap__title__iterator.html">oscap_title_iterator</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga380127ff98df3c779a78834275834526">cpe_item_get_titles</a> (const struct <a class="el" href="structcpe__item.html">cpe_item</a> *item)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="structcpe__item.html" title="Structure representing single CPE dictionary item.">cpe_item</a> functions to get CPE titles  <a href="group__cpedict.html#ga380127ff98df3c779a78834275834526"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structoscap__title__iterator.html">oscap_title_iterator</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga322fae4538ca874173f294a16605a3d7">cpe_item_get_notes</a> (const struct <a class="el" href="structcpe__item.html">cpe_item</a> *item)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="structcpe__item.html" title="Structure representing single CPE dictionary item.">cpe_item</a> functions to get CPE notes  <a href="group__cpedict.html#ga322fae4538ca874173f294a16605a3d7"></a><br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Free functions</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp237dd65bc76b7de56066830910ced6ed"></a>Destructors of CVE model structures.</p>
<p>Functions free structures with all members recursively. For simple deletion of entity use remove functions. </p>
<br/><br/></div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga1107849fc84c83ee923092a91d9cab04">cpe_item_free</a> (struct <a class="el" href="structcpe__item.html">cpe_item</a> *item)</td></tr>
<tr><td colspan="2"><div class="groupHeader">New functions</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp73a4128f20867fa23ebb2e75e58922df"></a>Constructors of CVE model structures.</p>
<p>Free function returns new empty allocated structure. If returns non NULL it need to be freed by the caller. </p>
<br/><br/></div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structcpe__item.html">cpe_item</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga2bb69fddb8a6bb464d032b0c3271e499">cpe_item_new</a> (void)</td></tr>
<tr><td colspan="2"><div class="groupHeader">Set functions</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp8b7ecf2f4bd25da1aae981677901d55d"></a>Set functions assign values to members of structures except lists.</p>
<p>For lists use add functions. Parameters of set functions are duplicated in memory and need to be freed by caller. </p>
<br/><br/></div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga42805776141de4fbc16ec3c27a689cd5">cpe_item_set_deprecation_date</a> (struct <a class="el" href="structcpe__item.html">cpe_item</a> *item, const char *new_deprecation_date)</td></tr>
<tr><td colspan="2"><div class="groupHeader">Add functions</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpaabced06c8a2e8c15954ce4b1e334884"></a>Functions to add member to list.</p>
<p>Return value is true if added succesfuly or false in case of error. </p>
<br/><br/></div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga34beb8ded8a6266e9c7d753467e316f2">cpe_item_add_reference</a> (struct <a class="el" href="structcpe__item.html">cpe_item</a> *item, struct <a class="el" href="structcpe__reference.html">cpe_reference</a> *new_reference)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#gad5964c784858955efbd6b447f02fea98">cpe_item_add_check</a> (struct <a class="el" href="structcpe__item.html">cpe_item</a> *item, struct <a class="el" href="structcpe__check.html">cpe_check</a> *new_check)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga543f8b8fc3fbcfb748c8ee41e4fc0c52">cpe_item_add_title</a> (struct <a class="el" href="structcpe__item.html">cpe_item</a> *item, struct <a class="el" href="structoscap__title.html">oscap_title</a> *new_title)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#gaad43a0508d8d36f71bfd18fbcb45edac">cpe_item_add_note</a> (struct <a class="el" href="structcpe__item.html">cpe_item</a> *item, struct <a class="el" href="structoscap__title.html">oscap_title</a> *new_title)</td></tr>
<tr><td colspan="2"><div class="groupHeader">Remove functions</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp40428a142bd2c0b6ea1306c0905502ce"></a>Functions removing member elements from CPE data structures. </p>
<br/><br/></div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga3a0cb59d7dd59f674c37348e52ed4945">cpe_item_iterator_remove</a> (struct <a class="el" href="structcpe__item__iterator.html">cpe_item_iterator</a> *it)</td></tr>
<tr><td colspan="2"><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9b015dfca6ce2ac8551d17da5f274f7b"></a><!-- doxytag: member="cpe_item::xml" ref="a9b015dfca6ce2ac8551d17da5f274f7b" args="" -->
struct <a class="el" href="structxml__metadata.html">xml_metadata</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>xml</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa9877c425c462e810ba68e8333288e72"></a><!-- doxytag: member="cpe_item::name" ref="aa9877c425c462e810ba68e8333288e72" args="" -->
struct <a class="el" href="structcpe__name.html">cpe_name</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>name</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a46682f7586b287ec2a6f695e2ffa499e"></a><!-- doxytag: member="cpe_item::titles" ref="a46682f7586b287ec2a6f695e2ffa499e" args="" -->
struct <a class="el" href="structoscap__list.html">oscap_list</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>titles</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3dae13d8fc9ee810ae3210172ede1c26"></a><!-- doxytag: member="cpe_item::deprecated" ref="a3dae13d8fc9ee810ae3210172ede1c26" args="" -->
struct <a class="el" href="structcpe__name.html">cpe_name</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>deprecated</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acbdd49d44665cb2fb804a8ee6ae11265"></a><!-- doxytag: member="cpe_item::deprecation_date" ref="acbdd49d44665cb2fb804a8ee6ae11265" args="" -->
char *&nbsp;</td><td class="memItemRight" valign="bottom"><b>deprecation_date</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad7da772db6d2d547a5d26109e95d5c04"></a><!-- doxytag: member="cpe_item::references" ref="ad7da772db6d2d547a5d26109e95d5c04" args="" -->
struct <a class="el" href="structoscap__list.html">oscap_list</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>references</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae0521c40b55a099ffa874490429b7cc9"></a><!-- doxytag: member="cpe_item::checks" ref="ae0521c40b55a099ffa874490429b7cc9" args="" -->
struct <a class="el" href="structoscap__list.html">oscap_list</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>checks</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6985cd6f755af85215581e84780d494a"></a><!-- doxytag: member="cpe_item::notes" ref="a6985cd6f755af85215581e84780d494a" args="" -->
struct <a class="el" href="structoscap__list.html">oscap_list</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>notes</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab10af0515c684a4934303de5736e96a0"></a><!-- doxytag: member="cpe_item::metadata" ref="ab10af0515c684a4934303de5736e96a0" args="" -->
struct <a class="el" href="structcpe__item__metadata.html">cpe_item_metadata</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>metadata</b></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Structure representing single CPE dictionary item. </p>
<hr/>The documentation for this struct was generated from the following files:<ul>
<li>/home/pvrabec/openscap/openscap-0.5.7/src/CPE/<a class="el" href="cpedict__priv_8c.html">cpedict_priv.c</a></li>
<li>/home/pvrabec/openscap/openscap-0.5.7/src/CPE/<a class="el" href="cpedict__priv_8h_source.html">cpedict_priv.h</a></li>
<li>/home/pvrabec/openscap/openscap-0.5.7/src/CPE/public/<a class="el" href="cpedict_8h_source.html">cpedict.h</a></li>
</ul>
</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>