Data Structures | Typedefs | Enumerations | Functions | Variables

/build/buildd-opendnssec_1.3.2-1~bpo60+1-mips-pXL6jA/opendnssec-1.3.2/signer/src/shared/status.h File Reference

#include "config.h"
Include dependency graph for status.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ods_struct_lookup_table

Typedefs

typedef enum ods_enum_status ods_status
typedef struct
ods_struct_lookup_table 
ods_lookup_table

Enumerations

enum  ods_enum_status {
  ODS_STATUS_OK, ODS_STATUS_ASSERT_ERR, ODS_STATUS_CFG_ERR, ODS_STATUS_CHDIR_ERR,
  ODS_STATUS_CHROOT_ERR, ODS_STATUS_CMDHANDLER_ERR, ODS_STATUS_CONFLICT_ERR, ODS_STATUS_ERR,
  ODS_STATUS_FOPEN_ERR, ODS_STATUS_FORK_ERR, ODS_STATUS_FREAD_ERR, ODS_STATUS_FWRITE_ERR,
  ODS_STATUS_HSM_ERR, ODS_STATUS_INSECURE, ODS_STATUS_MALLOC_ERR, ODS_STATUS_PARSE_ERR,
  ODS_STATUS_PRIVDROP_ERR, ODS_STATUS_RNG_ERR, ODS_STATUS_SETSID_ERR, ODS_STATUS_UNCHANGED,
  ODS_STATUS_WRITE_PIDFILE_ERR, ODS_STATUS_XML_ERR
}

Functions

ods_lookup_tableods_lookup_by_id (ods_lookup_table *table, int id)
const char * ods_status2str (ods_status status)

Variables

ods_lookup_table ods_status_str []

Typedef Documentation

Definition at line 65 of file status.h.

Definition at line 63 of file status.h.


Enumeration Type Documentation

Status.

Enumerator:
ODS_STATUS_OK 
ODS_STATUS_ASSERT_ERR 
ODS_STATUS_CFG_ERR 
ODS_STATUS_CHDIR_ERR 
ODS_STATUS_CHROOT_ERR 
ODS_STATUS_CMDHANDLER_ERR 
ODS_STATUS_CONFLICT_ERR 
ODS_STATUS_ERR 
ODS_STATUS_FOPEN_ERR 
ODS_STATUS_FORK_ERR 
ODS_STATUS_FREAD_ERR 
ODS_STATUS_FWRITE_ERR 
ODS_STATUS_HSM_ERR 
ODS_STATUS_INSECURE 
ODS_STATUS_MALLOC_ERR 
ODS_STATUS_PARSE_ERR 
ODS_STATUS_PRIVDROP_ERR 
ODS_STATUS_RNG_ERR 
ODS_STATUS_SETSID_ERR 
ODS_STATUS_UNCHANGED 
ODS_STATUS_WRITE_PIDFILE_ERR 
ODS_STATUS_XML_ERR 

Definition at line 39 of file status.h.


Function Documentation

ods_lookup_table* ods_lookup_by_id ( ods_lookup_table table,
int  id 
)

Look up item in table.

Parameters:
[in] table table
[in] id identifier

Definition at line 66 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.

Parameters:
[in] status status identifierr
Returns:
const char* corresponding descriptive text

Look up a descriptive text by each status.

Definition at line 83 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(), rrset_commit(), signconf_update(), tools_input(), zone_load_signconf(), and zonelist_update().


Variable Documentation

Status.

Definition at line 39 of file status.c.