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

Detailed Description

XCCDF automatic fix.

See Also
xccdf_rule

#include <xccdf_benchmark.h>

Public Member Functions

struct xccdf_fixxccdf_fix_new (void)
 
struct xccdf_fixxccdf_fix_clone (const struct xccdf_fix *old_fix)
 
void xccdf_fix_free (struct xccdf_fix *item)
 
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_fix_get_content (const struct xccdf_fix *fix)
 
bool xccdf_fix_get_reboot (const struct xccdf_fix *fix)
 
xccdf_strategy_t xccdf_fix_get_strategy (const struct xccdf_fix *fix)
 
xccdf_level_t xccdf_fix_get_complexity (const struct xccdf_fix *fix)
 
xccdf_level_t xccdf_fix_get_disruption (const struct xccdf_fix *fix)
 
const char * xccdf_fix_get_id (const struct xccdf_fix *fix)
 
const char * xccdf_fix_get_system (const struct xccdf_fix *fix)
 
const char * xccdf_fix_get_platform (const struct xccdf_fix *fix)
 
Setters

For lists use add functions.

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

bool xccdf_fix_set_strategy (struct xccdf_fix *obj, xccdf_strategy_t newval)
 
bool xccdf_fix_set_disruption (struct xccdf_fix *obj, xccdf_level_t newval)
 
bool xccdf_fix_set_complexity (struct xccdf_fix *obj, xccdf_level_t newval)
 
bool xccdf_fix_set_reboot (struct xccdf_fix *obj, bool newval)
 
bool xccdf_fix_set_content (struct xccdf_fix *obj, const char *newval)
 
bool xccdf_fix_set_system (struct xccdf_fix *obj, const char *newval)
 
bool xccdf_fix_set_platform (struct xccdf_fix *obj, const char *newval)
 
bool xccdf_fix_set_id (struct xccdf_fix *obj, const char *newval)
 

Data Fields

bool reboot
 
xccdf_strategy_t strategy
 
xccdf_level_t disruption
 
xccdf_level_t complexity
 
char * id
 
char * content
 
char * system
 
char * platform
 

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