oval_result_directives Struct Reference
[OVALRES]

This structure holds instance of OVAL Result Directives for particular oval_results_model. More...

#include <oval_results.h>

Public Member Functions

struct oval_result_directivesoval_result_directives_new (struct oval_results_model *)
 Create new OVAL Results Directives instance.
void oval_result_directives_free (struct oval_result_directives *)
Setters



void oval_result_directives_set_reported (struct oval_result_directives *, int flag, bool val)
 Set (or unset) result types that are intended to be reported.
void oval_result_directives_set_content (struct oval_result_directives *, int flag, oval_result_directive_content_t)
 Configure the depth of infomation.
Getters



bool oval_result_directives_get_reported (struct oval_result_directives *, oval_result_t)
oval_result_directive_content_t oval_result_directives_get_content (struct oval_result_directives *, oval_result_t)
bool oval_result_directives_is_locked (struct oval_result_directives *result_directives)
Evaluators



bool oval_result_directives_is_valid (struct oval_result_directives *result_directives)

Detailed Description

This structure holds instance of OVAL Result Directives for particular oval_results_model.

OVAL Result Directives describes what information has been included in the results file, therefore it's necessarry to setup this structure before exporting oval_results_model. Usage example:

 struct oval_result_directives * res_direct = oval_result_directives_new(res_model);
 oval_result_directives_set_reported(res_direct, OVAL_RESULT_TRUE | OVAL_RESULT_FALSE , true);
 oval_result_directives_set_content(res_direct,OVAL_RESULT_FALSE | OVAL_RESULT_TRUE | OVAL_RESULT_ERROR , OVAL_DIRECTIVE_CONTENT_FULL);
 .....
 oval_result_directives_free(res_direct);

The documentation for this struct was generated from the following file:

Generated on 14 Jul 2010 for Open SCAP Library by  doxygen 1.6.1