]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Update isc_result_t developer documentation
authorOndřej Surý <ondrej@sury.org>
Thu, 7 Oct 2021 06:05:16 +0000 (08:05 +0200)
committerOndřej Surý <ondrej@sury.org>
Thu, 7 Oct 2021 06:05:16 +0000 (08:05 +0200)
There's no multiple result.{c,h} location to defining result codes,
update the documentation accordingly.

doc/dev/dev.md

index 9a765090c219bdf6ec849cca5369ef3af5cdd98d..c68f445ede1e42220688d8ce763b1e19ab4ce899 100644 (file)
@@ -392,12 +392,11 @@ A result code can be converted to a human-readable error message by
 calling `isc_result_totext(result)`.
 
 Many result codes have been defined and can be found in the source tree
-in header files called `result.h` (for example, the result codes defined
-for the ISC library are in `lib/isc/include/isc/result.h`.
+in `lib/isc/include/isc/result.h`.
 
 ISC library result codes (many of which are generically useful elsewhere)
 begin with `ISC_R`: examples include `ISC_R_SUCCESS`, `ISC_R_FAILURE`,
-`ISC_R_NOMEMORY`, etc. 
+`ISC_R_NOMEMORY`, etc.
 
 DNS library result codes begin with `DNS_R`: `DNS_R_SERVFAIL`, `DNS_R_NXRRSET`,
 etc).  Other sets of result codes are defined for crypto functions (`DST_R`