OpenDNSSEC-signer  1.4.7
Functions | Variables
status.c File Reference
#include "config.h"
#include "shared/status.h"
#include <stdlib.h>
Include dependency graph for status.c:

Go to the source code of this file.

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 []
 

Function Documentation

ods_lookup_table* ods_lookup_by_id ( ods_lookup_table table,
int  id 
)

Look up item in table.

Parameters
[in]tabletable
[in]ididentifier

Definition at line 94 of file status.c.

References ods_struct_lookup_table::id, and ods_struct_lookup_table::name.

Referenced by buffer_rcode2str(), and ods_status2str().

const char* ods_status2str ( ods_status  status)

Variable Documentation

ods_lookup_table ods_status_str[]

Status.

Definition at line 37 of file status.c.