error.h
Go to the documentation of this file.
1 
16 #ifndef LDNS_ERROR_H
17 #define LDNS_ERROR_H
18 
19 #include <ldns/util.h>
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
130 };
132 
134 
141 const char *ldns_get_errorstr_by_id(ldns_status err);
142 
143 #ifdef __cplusplus
144 }
145 #endif
146 
147 #endif /* LDNS_ERROR_H */
const char * ldns_get_errorstr_by_id(ldns_status err)
look up a descriptive text by each error.
Definition: error.c:150
ldns_lookup_table ldns_error_str[]
Definition: error.c:15
enum ldns_enum_status ldns_status
Definition: error.h:131
A general purpose lookup table.
Definition: util.h:156
ldns_enum_status
a Net::DNS like library for C
Definition: error.h:25