~mdw
/
adns
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Get semantics of invertable options, and of cancelling, right.
[adns]
/
src
/
adns.h
diff --git
a/src/adns.h
b/src/adns.h
index
fa9b6ca
..
cb2d671
100644
(file)
--- a/
src/adns.h
+++ b/
src/adns.h
@@
-798,9
+798,12
@@
adns_status adns_rr_info(adns_rrtype type,
const char *adns_strerror(adns_status st);
const char *adns_errabbrev(adns_status st);
const char *adns_strerror(adns_status st);
const char *adns_errabbrev(adns_status st);
+const char *adns_errtypeabbrev(adns_status st);
/* Like strerror but for adns_status values. adns_errabbrev returns
* the abbreviation of the error - eg, for adns_s_timeout it returns
/* Like strerror but for adns_status values. adns_errabbrev returns
* the abbreviation of the error - eg, for adns_s_timeout it returns
- * "timeout". You MUST NOT call these functions with status values
+ * "timeout". adns_errtypeabbrev returns the abbreviation of the
+ * error class: ie, for values up to adns_s_max_XXX it will return the
+ * string XXX. You MUST NOT call these functions with status values
* not returned by the same adns library.
*/
* not returned by the same adns library.
*/