<!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: cve_configuration 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>cve_configuration Struct Reference<br/> <small> [<a class="el" href="group__CVEPrivate.html">Private members</a>, <a class="el" href="group__CVE.html">CVE</a>]</small> </h1><!-- doxytag: class="cve_configuration" --> <p>Structure CVE vulnerable configuration data. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="cve__priv_8h_source.html">cve_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 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">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__CVE.html#ga48a951e1fce489343e2f058fa0ecd18a">cve_configuration_get_id</a> (const struct <a class="el" href="structcve__configuration.html">cve_configuration</a> *conf)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get CVE configuration id. <a href="group__CVE.html#ga48a951e1fce489343e2f058fa0ecd18a"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structcpe__testexpr.html">cpe_testexpr</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__CVE.html#ga18913b7092aa274be46da7d34d7bfb67">cve_configuration_get_expr</a> (const struct <a class="el" href="structcve__configuration.html">cve_configuration</a> *conf)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get CVE configuration test expression. <a href="group__CVE.html#ga18913b7092aa274be46da7d34d7bfb67"></a><br/></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 </td><td class="memItemRight" valign="bottom"><a class="el" href="group__CVE.html#ga7b18998d77543a593e80e3530f12519d">cve_configuration_set_id</a> (struct <a class="el" href="structcve__configuration.html">cve_configuration</a> *conf, const char *new_id)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set id of CVE configuration. <a href="group__CVE.html#ga7b18998d77543a593e80e3530f12519d"></a><br/></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="structcve__configuration.html">cve_configuration</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__CVE.html#gaac76a1b4baca190d8abf9b3e0d65d7ce">cve_configuration_new</a> (void)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">New CVE vulnerability configuration. <a href="group__CVE.html#gaac76a1b4baca190d8abf9b3e0d65d7ce"></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 </td><td class="memItemRight" valign="bottom"><a class="el" href="group__CVE.html#ga36c0cf5d307f0af7ab26d84fcc2b6153">cve_configuration_free</a> (struct <a class="el" href="structcve__configuration.html">cve_configuration</a> *conf)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Free CVE configuration. <a href="group__CVE.html#ga36c0cf5d307f0af7ab26d84fcc2b6153"></a><br/></td></tr> <tr><td colspan="2"><h2>Data Fields</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a678c5979ba5c1f88836032aa31d75f79"></a><!-- doxytag: member="cve_configuration::xml" ref="a678c5979ba5c1f88836032aa31d75f79" 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="a035c53690dd40f929754f7861a43be2f"></a><!-- doxytag: member="cve_configuration::id" ref="a035c53690dd40f929754f7861a43be2f" args="" --> char * </td><td class="memItemRight" valign="bottom"><b>id</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa5cfe72005358eb9da0559784a4b818e"></a><!-- doxytag: member="cve_configuration::expr" ref="aa5cfe72005358eb9da0559784a4b818e" args="" --> struct <a class="el" href="structcpe__testexpr.html">cpe_testexpr</a> * </td><td class="memItemRight" valign="bottom"><b>expr</b></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Structure CVE vulnerable configuration data. </p> <hr/>The documentation for this struct was generated from the following files:<ul> <li>/home/pvrabec/openscap/openscap-0.5.7/src/CVE/<a class="el" href="cve__priv_8c.html">cve_priv.c</a></li> <li>/home/pvrabec/openscap/openscap-0.5.7/src/CVE/public/<a class="el" href="cve_8h_source.html">cve.h</a></li> </ul> </div> <hr size="1"/><address style="text-align: right;"><small>Generated on 26 Feb 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>