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
|
<!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_product 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 Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li class="current"><a href="annotated.html"><span>Data 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 Structures</span></a></li>
<li><a href="classes.html"><span>Data Structure Index</span></a></li>
<li><a href="functions.html"><span>Data Fields</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>cpe_product Struct Reference<br/>
<small>
[<a class="el" href="group__cpedict.html">CPE Dictionary</a>]</small>
</h1><!-- doxytag: class="cpe_product" -->
<p>Product of some vendor.
<a href="#_details">More...</a></p>
<p><code>#include <<a class="el" href="cpedict__priv_8h_source.html">cpedict_priv.h</a>></code></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#gac2b660c7cc72b8981977031174f0722a">cpe_product_free</a> (struct <a class="el" href="structcpe__product.html">cpe_product</a> *product)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structcpe__product.html">cpe_product</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga5ccd5f1552d69ed4514d6991da1c7c98">cpe_product_new</a> (void)</td></tr>
<tr><td colspan="2"><div class="groupHeader">Getters</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpc9fd0bcb5385a65354c37f1bb504399d"></a>Return value is pointer to structure's member.</p>
<p>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">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#gac304c3229939357841cad71e7354658a">cpe_product_get_value</a> (const struct <a class="el" href="structcpe__product.html">cpe_product</a> *item)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="structcpe__product.html" title="Product of some vendor.">cpe_product</a> functions to get product value <a href="group__cpedict.html#gac304c3229939357841cad71e7354658a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__cpeuri.html#ga683b693cae1d4b68f257be24c4cc2ab7">cpe_part_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga1f330d1dac61aa5445ed2d65bae3ae8a">cpe_product_get_part</a> (const struct <a class="el" href="structcpe__product.html">cpe_product</a> *item)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="structcpe__product.html" title="Product of some vendor.">cpe_product</a> functions to get product part <a href="group__cpedict.html#ga1f330d1dac61aa5445ed2d65bae3ae8a"></a><br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Setters</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp6e47466b75bb957a603aa54c079ac8bf"></a>For lists use add functions.</p>
<p>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 </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga535aba11293ccd15cfada1193964dbf1">cpe_product_set_value</a> (struct <a class="el" href="structcpe__product.html">cpe_product</a> *product, const char *new_value)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#gaf6c4dc296e3e151833371d3380053b3e">cpe_product_set_part</a> (struct <a class="el" href="structcpe__product.html">cpe_product</a> *product, <a class="el" href="group__cpeuri.html#ga683b693cae1d4b68f257be24c4cc2ab7">cpe_part_t</a> new_part)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga97062fb5df4ce9312e40258a54ce0224">cpe_product_add_version</a> (struct <a class="el" href="structcpe__product.html">cpe_product</a> *product, struct <a class="el" href="structcpe__version.html">cpe_version</a> *new_version)</td></tr>
<tr><td colspan="2"><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a74c6701b518a04e3352a026245cca147"></a><!-- doxytag: member="cpe_product::xml" ref="a74c6701b518a04e3352a026245cca147" args="" -->
struct <a class="el" href="structxml__metadata.html">xml_metadata</a> </td><td class="memItemRight" valign="bottom"><b>xml</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adf9d1e2cc3d399bcc46f1e80c642a2c4"></a><!-- doxytag: member="cpe_product::value" ref="adf9d1e2cc3d399bcc46f1e80c642a2c4" args="" -->
char * </td><td class="memItemRight" valign="bottom"><b>value</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abb2c9e8cd0d486ef5853cd8f721ac8da"></a><!-- doxytag: member="cpe_product::part" ref="abb2c9e8cd0d486ef5853cd8f721ac8da" args="" -->
<a class="el" href="group__cpeuri.html#ga683b693cae1d4b68f257be24c4cc2ab7">cpe_part_t</a> </td><td class="memItemRight" valign="bottom"><b>part</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8c124f2114e2231d954be77ef900d270"></a><!-- doxytag: member="cpe_product::versions" ref="a8c124f2114e2231d954be77ef900d270" args="" -->
struct <a class="el" href="structoscap__list.html">oscap_list</a> * </td><td class="memItemRight" valign="bottom"><b>versions</b></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Product of some vendor. </p>
<hr/>The documentation for this struct was generated from the following files:<ul>
<li>/home/pvrabec/project/openscap/openscap-0.5.12/src/CPE/<a class="el" href="cpedict__priv_8c.html">cpedict_priv.c</a></li>
<li>/home/pvrabec/project/openscap/openscap-0.5.12/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 30 Jun 2010 for Open SCAP Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>
|