Diego Fronza
bfb38c16ec
Result code API changes
...
- Result code descriptions and IDs (strings) are now defined in
lib/isc/result_<class>.c.in source files. See lib/isc/result_*.c.in
for examples.
- To create a new result class, check isc/resultclass.h and follow
documentation in there.
- Error codes are now defined in the following fashion:
ISC_RESULTCODE_<CLASS>(number), old style was
ISC_RESULTCLASS_<CLASS> + number.
Following is an example of the old style converted to the new one,
file lib/dns/result_dst.h.in:
;; Old style
#define DST_R_NOCRYPTO (ISC_RESULTCLASS_DST + 2)
;; New Style
#define DST_R_NOCRYPTO ISC_RESULTCODE_DST(2)
- To use error codes, same as before:
isc_result_t code = DST_R_NOCRYPTO;
isr_result_t rc = some_call(..)
if (rc == ISC_R_SUCCESS) ...
- isc_result_totext() does not lock anymore, since all result data from
all classes are available at compile time.
All relevant source files were updated to use the new result API
interface.
2021-03-31 14:45:47 +00:00
..
2021-03-31 14:45:47 +00:00
2021-03-26 22:04:42 +00:00
2021-03-31 14:45:47 +00:00
2021-03-31 14:45:47 +00:00
2020-09-14 16:20:40 -07:00
2020-10-05 16:21:21 +02:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-01-19 10:12:40 +01:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-29 08:22:08 +02:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-02-03 12:22:33 +11:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-11-25 12:45:47 +01:00
2021-02-03 12:22:33 +11:00
2020-11-25 08:25:29 +11:00
2020-11-11 12:53:23 -03:00
2021-03-31 14:45:47 +00:00
2021-02-22 12:22:31 +11:00
2020-02-21 15:05:08 +11:00
2020-09-14 16:20:40 -07:00
2021-03-31 14:45:47 +00:00
2021-02-18 19:33:54 +01:00
2020-09-14 16:20:40 -07:00
2021-03-31 14:45:47 +00:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-10-28 15:48:58 +01:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-02-03 12:22:33 +11:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-03-31 14:45:47 +00:00
2021-03-31 14:45:47 +00:00
2021-03-31 14:45:47 +00:00
2021-01-29 12:07:38 +01:00
2020-09-14 16:20:40 -07:00
2021-03-08 08:51:34 +01:00
2021-02-23 09:16:48 +01:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-03-31 14:45:47 +00:00
2021-02-03 12:22:33 +11:00
2021-03-31 14:45:47 +00:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-03-31 14:45:47 +00:00
2020-09-14 16:20:40 -07:00
2020-09-23 16:09:26 +02:00
2020-09-30 13:24:29 +00:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-11-26 10:43:59 +01:00
2020-09-14 16:20:40 -07:00
2021-02-03 12:22:33 +11:00
2021-03-31 14:45:47 +00:00
2021-03-31 14:45:47 +00:00
2021-03-31 14:45:47 +00:00
2021-03-31 14:45:47 +00:00
2021-03-31 14:45:47 +00:00
2020-10-02 08:41:43 +02:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-03-31 14:45:47 +00:00
2021-03-31 14:45:47 +00:00
2021-03-31 14:45:47 +00:00
2020-09-14 16:20:40 -07:00
2020-12-08 18:36:23 +01:00
2021-02-03 13:06:27 +01:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-03-26 22:04:42 +00:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-02-18 19:32:55 +01:00
2021-03-31 14:45:47 +00:00
2021-03-31 14:45:47 +00:00
2021-03-31 14:45:47 +00:00
2021-03-31 14:45:47 +00:00
2021-03-31 14:45:47 +00:00
2020-09-14 16:20:40 -07:00
2021-02-03 12:22:33 +11:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-11-11 12:53:23 -03:00
2020-11-11 12:53:23 -03:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-29 10:36:07 +10:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-03-31 14:45:47 +00:00
2021-03-05 13:29:26 +02:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-03-31 14:45:47 +00:00
2020-09-14 16:20:40 -07:00
2020-12-23 09:02:11 +01:00
2020-10-30 00:17:24 +11:00
2021-02-23 16:08:13 +01:00
2021-03-31 14:45:47 +00:00
2020-11-26 10:43:59 +01:00
2021-03-22 10:30:59 +01:00
2020-09-14 16:20:40 -07:00
2021-01-28 11:07:03 +11:00
2021-02-03 12:22:33 +11:00