Data Structures |
struct | oscap_export_target |
struct | oscap_import_source |
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...
|
Enumerations |
enum | oscap_stream_type_t { OSCAP_STREAM_UNKNOWN = 0,
OSCAP_STREAM_FILE = 1,
OSCAP_STREAM_URL = 2
} |
| Stream type.
|
Functions |
struct oscap_export_target * | oscap_export_target::oscap_export_target_new_file (const char *filename, const char *encoding) |
| Function returns new export target structure, or NULL if an error occurred.
|
struct oscap_export_target * | oscap_export_target::oscap_export_target_new_URL (const char *url, const char *encoding) |
| Function returns new export target structure, or NULL if an error occurred.
|
void | oscap_export_target::oscap_export_target_free (struct oscap_export_target *target) |
| Destroy this export target structure.
|
struct oscap_import_source * | oscap_import_source::oscap_import_source_new_file (const char *filename, const char *encoding) |
| Function returns new import source structure, or NULL if an error occurred.
|
struct oscap_import_source * | oscap_import_source::oscap_import_source_new_URL (const char *url, const char *encoding) |
| Function returns new import source structure, or NULL if an error occurred.
|
void | oscap_import_source::oscap_import_source_free (struct oscap_import_source *target) |
| Destroy this import source structure.
|
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.
|
oscap_stream_type_t | oscap_export_target::oscap_export_target_get_type (const struct oscap_export_target *item) |
| Get type of this export target.
|
const char * | oscap_export_target::oscap_export_target_get_name (const struct oscap_export_target *item) |
| Get name of this export target.
|
const char * | oscap_export_target::oscap_export_target_get_encoding (const struct oscap_export_target *item) |
| Get encoding for this export target.
|
int | oscap_export_target::oscap_export_target_get_indent (const struct oscap_export_target *item) |
| Get indentation for this export target.
|
const char * | oscap_export_target::oscap_export_target_get_indent_string (const struct oscap_export_target *item) |
| Get indentation string for this export target.
|
oscap_stream_type_t | oscap_import_source::oscap_import_source_get_type (const struct oscap_import_source *item) |
| Get type of this import source.
|
const char * | oscap_import_source::oscap_import_source_get_name (const struct oscap_import_source *item) |
| Get name of this import source.
|
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.