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

XCCDF refine value option used in the profile. More...

#include <xccdf_benchmark.h>

Public Member Functions

OSCAP_API void xccdf_refine_value_free (struct xccdf_refine_value *rv)

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 const char * xccdf_refine_value_get_item (const struct xccdf_refine_value *rv)
OSCAP_API const char * xccdf_refine_value_get_selector (const struct xccdf_refine_value *rv)
OSCAP_API xccdf_operator_t xccdf_refine_value_get_oper (const struct xccdf_refine_value *rv)
OSCAP_API struct
xccdf_refine_value_get_remarks (const struct xccdf_refine_value *rv)

For lists use add functions.

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

OSCAP_API struct
xccdf_refine_value_new (void)
OSCAP_API struct
xccdf_refine_value_clone (const struct xccdf_refine_value *old_value)
OSCAP_API bool xccdf_refine_value_set_item (struct xccdf_refine_value *obj, const char *newval)
OSCAP_API bool xccdf_refine_value_set_selector (struct xccdf_refine_value *obj, const char *newval)
OSCAP_API bool xccdf_refine_value_set_oper (struct xccdf_refine_value *obj, xccdf_operator_t newval)
OSCAP_API bool xccdf_refine_value_add_remark (struct xccdf_refine_value *obj, struct oscap_text *item)

Data Fields

char * item
char * selector
xccdf_operator_t oper
struct oscap_listremarks

Detailed Description

XCCDF refine value option used in the profile.

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