<!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"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <title>Open SCAP Library: cpe_vendor Struct Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">Open SCAP Library </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.1.1 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <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 id="navrow2" class="tabs2"> <ul class="tablist"> <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><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> </div> <div class="headertitle"> <div class="title">cpe_vendor Struct Reference<div class="ingroups"><a class="el" href="group__cpedict.html">CPE Dictionary</a></div></div> </div> </div><!--header--> <div class="contents"> <p>Structure with information about vendor. <a href="structcpe__vendor.html#details">More...</a></p> <p><code>#include <<a class="el" href="cpedict__priv_8h_source.html">cpedict_priv.h</a>></code></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:gae194510d5f400ce784dc5ac6727e8b41"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#gae194510d5f400ce784dc5ac6727e8b41">cpe_vendor_free</a> (struct <a class="el" href="structcpe__vendor.html">cpe_vendor</a> *vendor)</td></tr> <tr class="memitem:ga6ba10d9ccfea65427a9e6133e259b57d"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structcpe__vendor.html">cpe_vendor</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga6ba10d9ccfea65427a9e6133e259b57d">cpe_vendor_new</a> (void)</td></tr> <tr><td colspan="2"><div class="groupHeader">Getters</div></td></tr> <tr><td colspan="2"><div class="groupText"><p>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> </div></td></tr> <tr class="memitem:ga0ed31a5b9f0a84d393d351d1ff43daab"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga0ed31a5b9f0a84d393d351d1ff43daab">cpe_vendor_get_value</a> (const struct <a class="el" href="structcpe__vendor.html">cpe_vendor</a> *item)</td></tr> <tr class="memdesc:ga0ed31a5b9f0a84d393d351d1ff43daab"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="structcpe__vendor.html" title="Structure with information about vendor.">cpe_vendor</a> functions to get vendor value <a href="group__cpedict.html#ga0ed31a5b9f0a84d393d351d1ff43daab"></a><br/></td></tr> <tr class="memitem:gab4d44ea80d2f375be798cbee4cbcb166"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structoscap__text__iterator.html">oscap_text_iterator</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#gab4d44ea80d2f375be798cbee4cbcb166">cpe_vendor_get_titles</a> (const struct <a class="el" href="structcpe__vendor.html">cpe_vendor</a> *item)</td></tr> <tr class="memdesc:gab4d44ea80d2f375be798cbee4cbcb166"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="structcpe__vendor.html" title="Structure with information about vendor.">cpe_vendor</a> functions to get vendor titles <a href="group__cpedict.html#gab4d44ea80d2f375be798cbee4cbcb166"></a><br/></td></tr> <tr class="memitem:ga797f152d36ab9e6b1ff20b87f2e9a051"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structcpe__product__iterator.html">cpe_product_iterator</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga797f152d36ab9e6b1ff20b87f2e9a051">cpe_vendor_get_products</a> (const struct <a class="el" href="structcpe__vendor.html">cpe_vendor</a> *item)</td></tr> <tr class="memdesc:ga797f152d36ab9e6b1ff20b87f2e9a051"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="structcpe__vendor.html" title="Structure with information about vendor.">cpe_vendor</a> functions to get vendor products <a href="group__cpedict.html#ga797f152d36ab9e6b1ff20b87f2e9a051"></a><br/></td></tr> <tr><td colspan="2"><div class="groupHeader">Setters</div></td></tr> <tr><td colspan="2"><div class="groupText"><p>For lists use add functions.</p> <p>Parameters of set functions are duplicated in memory and need to be freed by caller. </p> </div></td></tr> <tr class="memitem:gad637b5f537cacc1fe65e2afa9b5b72c5"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#gad637b5f537cacc1fe65e2afa9b5b72c5">cpe_vendor_set_value</a> (struct <a class="el" href="structcpe__vendor.html">cpe_vendor</a> *vendor, const char *new_value)</td></tr> <tr class="memitem:gab6757d06bc56cad7b5cf4af3f5049d17"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#gab6757d06bc56cad7b5cf4af3f5049d17">cpe_vendor_add_title</a> (struct <a class="el" href="structcpe__vendor.html">cpe_vendor</a> *vendor, struct <a class="el" href="structoscap__text.html">oscap_text</a> *new_title)</td></tr> <tr class="memitem:gaf34a55519fab75d3165151f11c0aa2d4"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#gaf34a55519fab75d3165151f11c0aa2d4">cpe_vendor_add_product</a> (struct <a class="el" href="structcpe__vendor.html">cpe_vendor</a> *vendor, struct <a class="el" href="structcpe__product.html">cpe_product</a> *new_product)</td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Structure with information about vendor. </p> </div><hr/>The documentation for this struct was generated from the following files:<ul> <li><a class="el" href="cpedict__priv_8h_source.html">cpedict_priv.h</a></li> <li><a class="el" href="cpe__dict_8h_source.html">cpe_dict.h</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.1.1 </small></address> </body> </html>