<!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: oval_result_directives 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> </div> <div class="headertitle"> <div class="title">oval_result_directives Struct Reference<div class="ingroups"><a class="el" href="group__OVALRES.html">OVAL Results</a></div></div> </div> </div> <div class="contents"> <!-- doxytag: class="oval_result_directives" --> <p>This structure holds instance of OVAL Result Directives for particular <a class="el" href="structoval__results__model.html" title="OVAL Results Model holds OVAL results structure instances.">oval_results_model</a>. <a href="structoval__result__directives.html#details">More...</a></p> <p><code>#include <<a class="el" href="oval__results_8h_source.html">oval_results.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">struct <a class="el" href="structoval__result__directives.html">oval_result_directives</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALRES.html#ga8fdb0dd7645644490a02f056bf8d9e1c">oval_result_directives_new</a> (struct <a class="el" href="structoval__results__model.html">oval_results_model</a> *)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create new OVAL Results Directives instance. <a href="group__OVALRES.html#ga8fdb0dd7645644490a02f056bf8d9e1c"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga139e240998f31ebd850d2cc61e684347"></a><!-- doxytag: member="oval_result_directives::oval_result_directives_free" ref="ga139e240998f31ebd850d2cc61e684347" args="(struct oval_result_directives *)" --> void </td><td class="memItemRight" valign="bottom"><b>oval_result_directives_free</b> (struct <a class="el" href="structoval__result__directives.html">oval_result_directives</a> *)</td></tr> <tr><td colspan="2"><div class="groupHeader">Setters</div></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALRES.html#gae77676bc8c7222444bd6e437aa2fc5c8">oval_result_directives_set_reported</a> (struct <a class="el" href="structoval__result__directives.html">oval_result_directives</a> *, int flag, bool val)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set (or unset) result types that are intended to be reported. <a href="group__OVALRES.html#gae77676bc8c7222444bd6e437aa2fc5c8"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga8a6b521f450516ca0c7e6b2dd51dc3be"></a><!-- doxytag: member="oval_result_directives::oval_result_directives_set_content" ref="ga8a6b521f450516ca0c7e6b2dd51dc3be" args="(struct oval_result_directives *, int flag, oval_result_directive_content_t)" --> void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__OVALRES.html#ga8a6b521f450516ca0c7e6b2dd51dc3be">oval_result_directives_set_content</a> (struct <a class="el" href="structoval__result__directives.html">oval_result_directives</a> *, int flag, <a class="el" href="group__OVALRES.html#ga9e7b5741bebbe68b5ddf76e4042125a6">oval_result_directive_content_t</a>)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Configure the depth of infomation. <br/></td></tr> <tr><td colspan="2"><div class="groupHeader">Getters</div></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga8b7984f782d06f4e3afbb15da5e370fd"></a><!-- doxytag: member="oval_result_directives::oval_result_directives_get_reported" ref="ga8b7984f782d06f4e3afbb15da5e370fd" args="(struct oval_result_directives *, oval_result_t)" --> bool </td><td class="memItemRight" valign="bottom"><b>oval_result_directives_get_reported</b> (struct <a class="el" href="structoval__result__directives.html">oval_result_directives</a> *, <a class="el" href="group__OVALRES.html#ga585abe0825db03426e1994ba335dc4bf">oval_result_t</a>)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga1f4f582e7347de9d92d2e540a4c4ad93"></a><!-- doxytag: member="oval_result_directives::oval_result_directives_get_content" ref="ga1f4f582e7347de9d92d2e540a4c4ad93" args="(struct oval_result_directives *, oval_result_t)" --> <a class="el" href="group__OVALRES.html#ga9e7b5741bebbe68b5ddf76e4042125a6">oval_result_directive_content_t</a> </td><td class="memItemRight" valign="bottom"><b>oval_result_directives_get_content</b> (struct <a class="el" href="structoval__result__directives.html">oval_result_directives</a> *, <a class="el" href="group__OVALRES.html#ga585abe0825db03426e1994ba335dc4bf">oval_result_t</a>)</td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>This structure holds instance of OVAL Result Directives for particular <a class="el" href="structoval__results__model.html" title="OVAL Results Model holds OVAL results structure instances.">oval_results_model</a>. </p> <p>OVAL Result Directives describes what information has been included in the results file, therefore it's necessarry to setup this structure before exporting <a class="el" href="structoval__results__model.html" title="OVAL Results Model holds OVAL results structure instances.">oval_results_model</a>. Usage example:</p> <div class="fragment"><pre class="fragment"> <span class="keyword">struct </span><a class="code" href="structoval__result__directives.html" title="This structure holds instance of OVAL Result Directives for particular oval_results_model.">oval_result_directives</a> * res_direct = <a class="code" href="group__OVALRES.html#ga8fdb0dd7645644490a02f056bf8d9e1c" title="Create new OVAL Results Directives instance.">oval_result_directives_new</a>(res_model); <a class="code" href="group__OVALRES.html#gae77676bc8c7222444bd6e437aa2fc5c8" title="Set (or unset) result types that are intended to be reported.">oval_result_directives_set_reported</a>(res_direct, <a class="code" href="group__OVALRES.html#gga585abe0825db03426e1994ba335dc4bfa357fc62bc86fa6528490408859c0f66f" title="Characteristics being evaluated match the information represented in the system characteristic.">OVAL_RESULT_TRUE</a> | <a class="code" href="group__OVALRES.html#gga585abe0825db03426e1994ba335dc4bfa90f2ff8de6c8cc699fdd4446e10bc26d" title="Characteristics being evaluated do not match the information represented in the system characteristic...">OVAL_RESULT_FALSE</a> , <span class="keyword">true</span>); <a class="code" href="group__OVALRES.html#ga8a6b521f450516ca0c7e6b2dd51dc3be" title="Configure the depth of infomation.">oval_result_directives_set_content</a>(res_direct,<a class="code" href="group__OVALRES.html#gga585abe0825db03426e1994ba335dc4bfa90f2ff8de6c8cc699fdd4446e10bc26d" title="Characteristics being evaluated do not match the information represented in the system characteristic...">OVAL_RESULT_FALSE</a> | <a class="code" href="group__OVALRES.html#gga585abe0825db03426e1994ba335dc4bfa357fc62bc86fa6528490408859c0f66f" title="Characteristics being evaluated match the information represented in the system characteristic.">OVAL_RESULT_TRUE</a> | <a class="code" href="group__OVALRES.html#gga585abe0825db03426e1994ba335dc4bfa749cd036ba45a3b949632077aa589a56" title="Characteristics being evaluated exist in the system characteristic file but there was an error either...">OVAL_RESULT_ERROR</a> , <a class="code" href="group__OVALRES.html#gga9e7b5741bebbe68b5ddf76e4042125a6ab4317315755aaf265b9cebb5fef5fbae" title="Very detailed information will be provided allowing in-depth reports to be generated from the results...">OVAL_DIRECTIVE_CONTENT_FULL</a>); ..... oval_result_directives_free(res_direct); </pre></div> </div><hr/>The documentation for this struct was generated from the following file:<ul> <li>/home/pvrabec/project/openscap/openscap-0.7.4/src/OVAL/public/<a class="el" href="oval__results_8h_source.html">oval_results.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>