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

XCCDF textual fix instructions. More...

#include <xccdf_benchmark.h>

Public Member Functions

OSCAP_API struct xccdf_fixtextxccdf_fixtext_new (void)
OSCAP_API struct xccdf_fixtextxccdf_fixtext_clone (const struct xccdf_fixtext *fixtext)
OSCAP_API void xccdf_fixtext_free (struct xccdf_fixtext *item)

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_textxccdf_fixtext_get_text (const struct xccdf_fixtext *fixtext)

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_texttext
bool reboot
xccdf_strategy_t strategy
xccdf_level_t disruption
xccdf_level_t complexity
char * fixref

Detailed Description

XCCDF textual fix instructions.

See Also

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