File loading and saving support. More...
Data Structures | |
struct | oscap_export_target |
struct | oscap_import_source |
Enumerations | |
enum | oscap_stream_type_t { OSCAP_STREAM_UNKNOWN = 0, OSCAP_STREAM_FILE = 1, OSCAP_STREAM_URL = 2 } |
Stream type. | |
Functions | |
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. | |
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. | |
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_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. |
File loading and saving support.