XCCDF target fact. More...
#include <xccdf.h>
Public Member Functions | |
struct xccdf_target_fact * | xccdf_target_fact_new (void) |
struct xccdf_target_fact * | xccdf_target_fact_clone (const struct xccdf_target_fact *tf) |
void | xccdf_target_fact_free (struct xccdf_target_fact *fact) |
Getters | |
xccdf_value_type_t | xccdf_target_fact_get_type (const struct xccdf_target_fact *item) |
const char * | xccdf_target_fact_get_value (const struct xccdf_target_fact *item) |
const char * | xccdf_target_fact_get_name (const struct xccdf_target_fact *item) |
Setters | |
bool | xccdf_target_fact_set_string (struct xccdf_target_fact *fact, const char *str) |
bool | xccdf_target_fact_set_number (struct xccdf_target_fact *fact, xccdf_numeric val) |
bool | xccdf_target_fact_set_boolean (struct xccdf_target_fact *fact, bool val) |
bool | xccdf_target_fact_set_name (struct xccdf_target_fact *obj, const char *newval) |
Data Fields | |
xccdf_value_type_t | type |
char * | name |
char * | value |
XCCDF target fact.