ldns  1.7.0
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 
133 };
135 
137 
144 const char *ldns_get_errorstr_by_id(ldns_status err);
145 
146 #ifdef __cplusplus
147 }
148 #endif
149 
150 #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:164
ldns_lookup_table ldns_error_str[]
Definition: error.c:15
enum ldns_enum_status ldns_status
Definition: error.h:134
A general purpose lookup table.
Definition: util.h:156
ldns_enum_status
a Net::DNS like library for C
Definition: error.h:25