Home | History | Annotate | Download | only in err

Lines Matching refs:err_fns

226 /* Define the predeclared (but externally opaque) "ERR_FNS" type */
257 /* The static ERR_FNS table using these defaults functions */
258 static const ERR_FNS err_defaults =
273 /* The replacable table of ERR_FNS functions we use at run-time */
274 static const ERR_FNS *err_fns = NULL;
277 #define ERRFN(a) err_fns->cb_##a
289 /* Internal function that checks whether "err_fns" is set and if not, sets it to
293 if (err_fns) return;
296 if (!err_fns)
297 err_fns = &err_defaults;
303 const ERR_FNS *ERR_get_implementation(void)
306 return err_fns;
309 int ERR_set_implementation(const ERR_FNS *fns)
314 /* It's too late if 'err_fns' is non-NULL. BTW: not much point setting
316 if (!err_fns)
318 err_fns = fns;