|
Open SCAP Library
|
Open-scap XCCDF library interface. More...
#include <stdbool.h>#include <time.h>#include <oscap_reference.h>#include <oscap_source.h>#include <oscap.h>#include "cpe_dict.h"#include "oscap_export.h"Go to the source code of this file.
Typedefs | |
| typedef float | xccdf_numeric |
| Type of a numerical content for a XCCDF value. | |
Functions | |
| OSCAP_API bool | xccdf_benchmark_resolve (struct xccdf_benchmark *benchmark) |
| Resolve an benchmark. More... | |
| OSCAP_API void | xccdf_setvalue_free (struct xccdf_setvalue *sv) |
| OSCAP_API struct xccdf_group * | xccdf_benchmark_append_new_group (struct xccdf_benchmark *, const char *id) |
| Create a group and append it to the benchmark. More... | |
| OSCAP_API 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. More... | |
| OSCAP_API struct xccdf_rule * | xccdf_benchmark_append_new_rule (struct xccdf_benchmark *, const char *id) |
| Create a rule and append it to the benchmark. More... | |
Getters | |
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 struct xccdf_item * | xccdf_group_get_parent (const struct xccdf_group *group) |
Setters | |
For lists use add functions. 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. More... | |
| OSCAP_API void | xccdf_ident_set_id (struct xccdf_ident *ident, const char *id) |
| OSCAP_API void | xccdf_ident_set_system (struct xccdf_ident *ident, const char *sys) |
Open-scap XCCDF library interface.