<!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_reference 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.7.4 --> <div id="top"> <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> <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> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-attribs">Data Fields</a> </div> <div class="headertitle"> <div class="title">cpe_reference Struct Reference<div class="ingroups"><a class="el" href="group__cpedict.html">CPE Dictionary</a></div></div> </div> </div> <div class="contents"> <!-- doxytag: class="cpe_reference" --> <p>CPE dictionary item reference. <a href="structcpe__reference.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><td colspan="2"><h2><a name="pub-methods"></a> 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#gaee00962178fb91213d88ec68a82fed76">cpe_reference_free</a> (struct <a class="el" href="structcpe__reference.html">cpe_reference</a> *ref)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structcpe__reference.html">cpe_reference</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga11b9a25c1ce0016980c0b12a248b4d77">cpe_reference_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><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#ga80a1387e6ddc4095686c9b5f17c35157">cpe_reference_get_href</a> (const struct <a class="el" href="structcpe__reference.html">cpe_reference</a> *item)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="structcpe__reference.html" title="CPE dictionary item reference.">cpe_reference</a> functions to get href of reference <a href="group__cpedict.html#ga80a1387e6ddc4095686c9b5f17c35157"></a><br/></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#ga422ff1843f37106e2439f6d7770238b3">cpe_reference_get_content</a> (const struct <a class="el" href="structcpe__reference.html">cpe_reference</a> *item)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="structcpe__reference.html" title="CPE dictionary item reference.">cpe_reference</a> functions to get content of reference <a href="group__cpedict.html#ga422ff1843f37106e2439f6d7770238b3"></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><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#gadb69703b16983194d938120b22397b7b">cpe_reference_set_href</a> (struct <a class="el" href="structcpe__reference.html">cpe_reference</a> *reference, const char *new_href)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpedict.html#gae1d9834dd77e1f06739c3d214d584640">cpe_reference_set_content</a> (struct <a class="el" href="structcpe__reference.html">cpe_reference</a> *reference, const char *new_content)</td></tr> <tr><td colspan="2"><h2><a name="pub-attribs"></a> Data Fields</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5e12f13452c3fee8fecc4c4f2065a470"></a><!-- doxytag: member="cpe_reference::href" ref="a5e12f13452c3fee8fecc4c4f2065a470" args="" --> char * </td><td class="memItemRight" valign="bottom"><b>href</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a803f0fba9df643bdfbc89f124f2a072f"></a><!-- doxytag: member="cpe_reference::content" ref="a803f0fba9df643bdfbc89f124f2a072f" args="" --> char * </td><td class="memItemRight" valign="bottom"><b>content</b></td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>CPE dictionary item reference. </p> </div><hr/>The documentation for this struct was generated from the following files:<ul> <li>/home/pvrabec/project/openscap/openscap-0.7.4/src/CPE/<a class="el" href="cpedict__priv_8c.html">cpedict_priv.c</a></li> <li>/home/pvrabec/project/openscap/openscap-0.7.4/src/CPE/public/<a class="el" href="cpedict_8h_source.html">cpedict.h</a></li> </ul> </div> <hr class="footer"/><address class="footer"><small>Generated on Mon Jul 25 2011 for Open SCAP Library by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address> </body> </html>