Data Structures |
struct | oscap_nsinfo |
| Information on namespaces for given document. More...
|
struct | oscap_nsinfo_entry |
| Namespace information entry. More...
|
struct | oscap_nsinfo_entry_iterator |
| Namespace info iterator. More...
|
Functions |
struct oscap_nsinfo * | oscap_nsinfo::oscap_nsinfo_new (void) |
struct oscap_nsinfo * | oscap_nsinfo::oscap_nsinfo_new_file (const char *fname) |
void | oscap_nsinfo::oscap_nsinfo_free (struct oscap_nsinfo *info) |
struct oscap_nsinfo_entry * | oscap_nsinfo_entry::oscap_nsinfo_entry_new (void) |
struct oscap_nsinfo_entry * | oscap_nsinfo_entry::oscap_nsinfo_entry_new_fill (const char *nsprefix, const char *nsname) |
void | oscap_nsinfo_entry::oscap_nsinfo_entry_free (struct oscap_nsinfo_entry *entry) |
Evaluators |
|
bool | oscap_validate_xml (const char *xmlfile, const char *schemafile, struct oscap_reporter *reporter) |
| Validate a xml file against given xml schema.
|
Getters |
If return value is a pointer to structure's member, do not free it unless you null the pointer in the structure.
|
struct
oscap_nsinfo_entry_iterator * | oscap_nsinfo::oscap_nsinfo_get_entries (const struct oscap_nsinfo *item) |
struct oscap_nsinfo_entry * | oscap_nsinfo::oscap_nsinfo_get_root_entry (const struct oscap_nsinfo *item) |
struct oscap_nsinfo_entry * | oscap_nsinfo::oscap_nsinfo_get_entry_by_ns (struct oscap_nsinfo *info, const char *ns) |
const char * | oscap_nsinfo_entry::oscap_nsinfo_entry_get_nsname (const struct oscap_nsinfo_entry *item) |
const char * | oscap_nsinfo_entry::oscap_nsinfo_entry_get_nsprefix (const struct oscap_nsinfo_entry *item) |
const char * | oscap_nsinfo_entry::oscap_nsinfo_entry_get_schema_location (const struct oscap_nsinfo_entry *item) |
Setters |
For lists use add functions.
Parameters of set functions are duplicated in memory and need to be freed by caller.
|
bool | oscap_nsinfo::oscap_nsinfo_add_entry (struct oscap_nsinfo *obj, struct oscap_nsinfo_entry *item) |
bool | oscap_nsinfo::oscap_nsinfo_set_root_entry (struct oscap_nsinfo *obj, struct oscap_nsinfo_entry *newval) |
bool | oscap_nsinfo_entry::oscap_nsinfo_entry_set_nsname (struct oscap_nsinfo_entry *obj, const char *newval) |
bool | oscap_nsinfo_entry::oscap_nsinfo_entry_set_nsprefix (struct oscap_nsinfo_entry *obj, const char *newval) |
bool | oscap_nsinfo_entry::oscap_nsinfo_entry_set_schema_location (struct oscap_nsinfo_entry *obj, const char *newval) |
Iterators |
|
bool | oscap_nsinfo_entry_iterator::oscap_nsinfo_entry_iterator_has_more (struct oscap_nsinfo_entry_iterator *it) |
struct oscap_nsinfo_entry * | oscap_nsinfo_entry_iterator::oscap_nsinfo_entry_iterator_next (struct oscap_nsinfo_entry_iterator *it) |
void | oscap_nsinfo_entry_iterator::oscap_nsinfo_entry_iterator_free (struct oscap_nsinfo_entry_iterator *it) |
Handling input and output files plus validation according to XML schema.