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 
121 };
123 
125 
132 const char *ldns_get_errorstr_by_id(ldns_status err);
133 
134 #ifdef __cplusplus
135 }
136 #endif
137 
138 #endif /* LDNS_ERROR_H */
enum ldns_enum_status ldns_status
Definition: error.h:122
A general purpose lookup table.
Definition: util.h:156
ldns_lookup_table ldns_error_str[]
Definition: error.c:15
const char * ldns_get_errorstr_by_id(ldns_status err)
look up a descriptive text by each error.
Definition: error.c:131
ldns_enum_status
a Net::DNS like library for C
Definition: error.h:25