OpenDNSSEC-enforcer
2.0.4
|
Go to the source code of this file.
Macros | |
#define | ZONELIST_IMPORT_OK 0 |
#define | ZONELIST_IMPORT_ERR_ARGS 1 |
#define | ZONELIST_IMPORT_ERR_XML 2 |
#define | ZONELIST_IMPORT_ERR_DATABASE 3 |
#define | ZONELIST_IMPORT_ERR_MEMORY 4 |
#define | ZONELIST_IMPORT_NO_CHANGE 5 |
Functions | |
int | zonelist_import (int sockfd, engine_type *engine, db_connection_t *dbconn, int do_delete, const char *zonelist_path) |
#define ZONELIST_IMPORT_ERR_ARGS 1 |
Indicates an error with the arguments provided to zonelist_import().
Definition at line 42 of file zonelist_import.h.
Referenced by zonelist_import().
#define ZONELIST_IMPORT_ERR_DATABASE 3 |
Indicates an error with the database like reading, updating or creating.
Definition at line 50 of file zonelist_import.h.
Referenced by zonelist_import().
#define ZONELIST_IMPORT_ERR_MEMORY 4 |
Indicates a memory allocation error or generic internal error.
Definition at line 54 of file zonelist_import.h.
Referenced by zonelist_import().
#define ZONELIST_IMPORT_ERR_XML 2 |
Indicates an error with the zonelist XML like parsing, validating or content.
Definition at line 46 of file zonelist_import.h.
Referenced by zonelist_import().
#define ZONELIST_IMPORT_NO_CHANGE 5 |
Indicates that the operation was successful but no changes where made.
Definition at line 58 of file zonelist_import.h.
#define ZONELIST_IMPORT_OK 0 |
Indicates a successful zonelist import.
Definition at line 38 of file zonelist_import.h.
int zonelist_import | ( | int | sockfd, |
engine_type * | engine, | ||
db_connection_t * | dbconn, | ||
int | do_delete, | ||
const char * | zonelist_path | ||
) |
Definition at line 54 of file zonelist_import.c.
References check_zonelist(), engine_struct::config, __zonelist_import_zone::name, __zonelist_import_zone::next, ods_log_warning(), zone_create(), zone_create_from_xml(), zone_free(), zone_get_by_name(), zone_input_adapter_type(), zone_input_adapter_uri(), zone_list_free(), zone_list_new_get(), zone_list_next(), zone_name(), zone_new(), engineconfig_struct::zonelist_filename, ZONELIST_IMPORT_ERR_ARGS, ZONELIST_IMPORT_ERR_DATABASE, ZONELIST_IMPORT_ERR_MEMORY, and ZONELIST_IMPORT_ERR_XML.