Open SCAP Library
|
Open-scap XCCDF library interface. More...
Go to the source code of this file.
Typedefs | |
typedef float | xccdf_numeric |
Type of a numerical content for a XCCDF value. |
Functions | |
bool | xccdf_benchmark_resolve (struct xccdf_benchmark *benchmark) |
Resolve an benchmark. | |
struct xccdf_status * | xccdf_status_new_fill (const char *status, const char *date) |
xccdf_status | |
void | xccdf_setvalue_free (struct xccdf_setvalue *sv) |
void | xccdf_cleanup (void) |
Release library internal caches. | |
struct xccdf_group * | xccdf_benchmark_append_new_group (struct xccdf_benchmark *, const char *id) |
Create a group and append it to the benchmark. | |
struct xccdf_value * | xccdf_benchmark_append_new_value (struct xccdf_benchmark *, const char *id, xccdf_value_type_t type) |
Create a value and append it to the benchmark. | |
struct xccdf_rule * | xccdf_benchmark_append_new_rule (struct xccdf_benchmark *, const char *id) |
Create a rule and append it to the benchmark. | |
Getters | |
Return value is pointer to structure's member. Do not free unless you null the pointer in the structure. Use remove function otherwise. | |
struct xccdf_item * | xccdf_group_get_parent (const struct xccdf_group *group) |
const char * | xccdf_refine_rule_get_item (const struct xccdf_refine_rule *rr) |
xccdf_refine_rule | |
const char * | xccdf_refine_rule_get_selector (const struct xccdf_refine_rule *rr) |
xccdf_refine_rule | |
xccdf_role_t | xccdf_refine_rule_get_role (const struct xccdf_refine_rule *rr) |
xccdf_refine_rule | |
xccdf_level_t | xccdf_refine_rule_get_severity (const struct xccdf_refine_rule *rr) |
xccdf_refine_rule | |
struct oscap_text_iterator * | xccdf_refine_rule_get_remarks (const struct xccdf_refine_rule *rr) |
xccdf_refine_rule | |
const char * | xccdf_refine_value_get_item (const struct xccdf_refine_value *rv) |
Setters | |
Parameters of set functions are duplicated in memory and need to be freed by caller. | |
enum | xccdf_subst_type { XCCDF_SUBST_NONE, XCCDF_SUBST_SUB, XCCDF_SUBST_LINK, XCCDF_SUBST_INSTANCE } |
Type of textual substitution. More... | |
typedef enum xccdf_subst_type | xccdf_subst_type_t |
Type of textual substitution. | |
typedef char *(* | xccdf_substitution_func )(xccdf_subst_type_t type, const char *id, void *arg) |
Textual substitution callback. | |
struct xccdf_setvalue * | xccdf_setvalue_clone (const struct xccdf_setvalue *old_value) |
xccdf_set_value | |
void | xccdf_ident_set_id (struct xccdf_ident *ident, const char *id) |
void | xccdf_ident_set_system (struct xccdf_ident *ident, const char *sys) |
char * | oscap_text_xccdf_substitute (const char *text, xccdf_substitution_func cb, void *arg) |
Perform a textual substitution. |
Open-scap XCCDF library interface.