Lines Matching full:reason
190 * |0| library | reason |
193 * A few of the reason bits are reserved as flags with special meaning:
197 * | rflags| | reason |
203 * The reason flags are part of the overall reason code for practical
205 * reason codes in different numeric ranges.
207 * The currently known reason flags are:
209 * ERR_RFLAG_FATAL Flags that the reason code is considered fatal.
211 * is also the code for ERR_R_FATAL (that reason
212 * code served the dual purpose of flag and reason
214 * ERR_RFLAG_COMMON Flags that the reason code is common to all
225 * As expressed above, RFLAGS and REASON overlap by one bit to allow
226 * ERR_R_FATAL to use ERR_RFLAG_FATAL as its reason code.
235 * Reason flags are defined pre-shifted to easily combine with the reason
277 * ERR_PACK takes reason flags and reason code combined in |reason|.
280 # define ERR_PACK(lib,func,reason) \ argument
282 (((unsigned long)(reason) & ERR_REASON_MASK)) )
316 /* "we came from here" global reason codes, range 1..255 */
386 void ERR_set_error(int lib, int reason, const char *fmt, ...);
387 void ERR_vset_error(int lib, int reason, const char *fmt, va_list args);
390 # define ERR_raise(lib, reason) ERR_raise_data((lib),(reason),NULL) argument
398 # define ERR_put_error(lib, func, reason, file, line) \ argument
401 ERR_set_error((lib), (reason), NULL))