Open SCAP Library
|
XCCDF textual fix instructions. More...
#include <xccdf_benchmark.h>
Public Member Functions | |
OSCAP_API struct xccdf_fixtext * | xccdf_fixtext_new (void) |
OSCAP_API struct xccdf_fixtext * | xccdf_fixtext_clone (const struct xccdf_fixtext *fixtext) |
OSCAP_API void | xccdf_fixtext_free (struct xccdf_fixtext *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. | |
OSCAP_API bool | xccdf_fixtext_get_reboot (const struct xccdf_fixtext *fixtext) |
OSCAP_API xccdf_strategy_t | xccdf_fixtext_get_strategy (const struct xccdf_fixtext *fixtext) |
OSCAP_API xccdf_level_t | xccdf_fixtext_get_complexity (const struct xccdf_fixtext *fixtext) |
OSCAP_API xccdf_level_t | xccdf_fixtext_get_disruption (const struct xccdf_fixtext *fixtext) |
OSCAP_API const char * | xccdf_fixtext_get_fixref (const struct xccdf_fixtext *fixtext) |
OSCAP_API struct oscap_text * | xccdf_fixtext_get_text (const struct xccdf_fixtext *fixtext) |
Setters | |
For lists use add functions. Parameters of set functions are duplicated in memory and need to be freed by caller. | |
OSCAP_API bool | xccdf_fixtext_set_strategy (struct xccdf_fixtext *obj, xccdf_strategy_t newval) |
OSCAP_API bool | xccdf_fixtext_set_disruption (struct xccdf_fixtext *obj, xccdf_level_t newval) |
OSCAP_API bool | xccdf_fixtext_set_complexity (struct xccdf_fixtext *obj, xccdf_level_t newval) |
OSCAP_API bool | xccdf_fixtext_set_reboot (struct xccdf_fixtext *obj, bool newval) |
OSCAP_API bool | xccdf_fixtext_set_text (struct xccdf_fixtext *obj, struct oscap_text *newval) |
OSCAP_API bool | xccdf_fixtext_set_fixref (struct xccdf_fixtext *obj, const char *newval) |
Data Fields | |
struct oscap_text * | text |
bool | reboot |
xccdf_strategy_t | strategy |
xccdf_level_t | disruption |
xccdf_level_t | complexity |
char * | fixref |
XCCDF textual fix instructions.