libapi_set_print
void libapi_set_print(libapi_print_fn_t warn,
libapi_set_print(pr_warning_wrapper, pr_warning_wrapper, pr_debug_wrapper);