Open SCAP Library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | Data Fields
xccdf_override Struct Reference

Detailed Description

XCCDF override.

See Also
xccdf_rule_result

#include <xccdf_benchmark.h>

Public Member Functions

struct xccdf_overridexccdf_override_new (void)
 
struct xccdf_overridexccdf_override_clone (const struct xccdf_override *override)
 
void xccdf_override_free (struct xccdf_override *oride)
 
Getters

Return value is pointer to structure's member.

Do not free unless you null the pointer in the structure. Use remove function otherwise.

const char * xccdf_override_get_time (const struct xccdf_override *item)
 
xccdf_test_result_type_t xccdf_override_get_new_result (const struct xccdf_override *item)
 
xccdf_test_result_type_t xccdf_override_get_old_result (const struct xccdf_override *item)
 
const char * xccdf_override_get_authority (const struct xccdf_override *item)
 
struct oscap_textxccdf_override_get_remark (const struct xccdf_override *item)
 
Setters

For lists use add functions.

Parameters of set functions are duplicated in memory and need to be freed by caller.

bool xccdf_override_set_time (struct xccdf_override *obj, const char *newval)
 
bool xccdf_override_set_new_result (struct xccdf_override *obj, xccdf_test_result_type_t newval)
 
bool xccdf_override_set_old_result (struct xccdf_override *obj, xccdf_test_result_type_t newval)
 
bool xccdf_override_set_authority (struct xccdf_override *obj, const char *newval)
 
bool xccdf_override_set_remark (struct xccdf_override *obj, struct oscap_text *newval)
 

Data Fields

char * time
 
char * authority
 
xccdf_test_result_type_t old_result
 
xccdf_test_result_type_t new_result
 
struct oscap_textremark
 

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