OpenDNSSEC-signer 1.3.0rc3
|
Go to the source code of this file.
Functions | |
ods_lookup_table * | ods_lookup_by_id (ods_lookup_table *table, int id) |
const char * | ods_status2str (ods_status status) |
Variables | |
ods_lookup_table | ods_status_str [] |
ods_lookup_table* ods_lookup_by_id | ( | ods_lookup_table * | table, |
int | id | ||
) |
Look up item in table.
[in] | table | table |
[in] | id | identifier |
Definition at line 64 of file status.c.
References ods_struct_lookup_table::id, and ods_struct_lookup_table::name.
Referenced by ods_status2str().
const char* ods_status2str | ( | ods_status | status | ) |
Look up a descriptive text by each status.
Definition at line 81 of file status.c.
References ods_struct_lookup_table::name, and ods_lookup_by_id().
Referenced by adbackup_read(), adfile_read(), engine_start(), engine_update_zones(), signconf_update(), tools_input(), zone_load_signconf(), and zonelist_update().
{ { ODS_STATUS_OK, "All OK" }, { ODS_STATUS_ASSERT_ERR, "Assertion error"}, { ODS_STATUS_CFG_ERR, "Configuration error"}, { ODS_STATUS_CHDIR_ERR, "Change directory failed"}, { ODS_STATUS_CHROOT_ERR, "Change root failed"}, { ODS_STATUS_CMDHANDLER_ERR, "Command handler error"}, { ODS_STATUS_CONFLICT_ERR, "Conflict detected"}, { ODS_STATUS_ERR, "General error"}, { ODS_STATUS_FOPEN_ERR, "Unable to open file"}, { ODS_STATUS_FORK_ERR, "fork() failed"}, { ODS_STATUS_HSM_ERR, "HSM error"}, { ODS_STATUS_INSECURE, "Insecure"}, { ODS_STATUS_MALLOC_ERR, "Memory allocation error"}, { ODS_STATUS_PARSE_ERR, "Parse error"}, { ODS_STATUS_PRIVDROP_ERR, "Unable to drop privileges"}, { ODS_STATUS_RNG_ERR, "RelaxNG error"}, { ODS_STATUS_SETSID_ERR, "setsid() failed"}, { ODS_STATUS_UNCHANGED, "Status unchanged"}, { ODS_STATUS_WRITE_PIDFILE_ERR, "Unable to write process id to pidfile"}, { ODS_STATUS_XML_ERR, "XML error"}, { 0, NULL } }
Status.