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

Detailed Description

XCCDF refine value option used in the profile.

#include <xccdf_benchmark.h>

Public Member Functions

void xccdf_refine_value_free (struct xccdf_refine_value *rv)
 
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_refine_value_get_item (const struct xccdf_refine_value *rv)
 
const char * xccdf_refine_value_get_selector (const struct xccdf_refine_value *rv)
 
xccdf_operator_t xccdf_refine_value_get_oper (const struct xccdf_refine_value *rv)
 
struct oscap_text_iteratorxccdf_refine_value_get_remarks (const struct xccdf_refine_value *rv)
 
Setters

For lists use add functions.

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

struct xccdf_refine_valuexccdf_refine_value_new (void)
 
struct xccdf_refine_valuexccdf_refine_value_clone (const struct xccdf_refine_value *old_value)
 
bool xccdf_refine_value_set_item (struct xccdf_refine_value *obj, const char *newval)
 
bool xccdf_refine_value_set_selector (struct xccdf_refine_value *obj, const char *newval)
 
bool xccdf_refine_value_set_oper (struct xccdf_refine_value *obj, xccdf_operator_t newval)
 
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
 

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