pub unsafe extern "C" fn svn_fs_set_warning_func(
fs: *mut svn_fs_t,
warning: svn_fs_warning_callback_t,
warning_baton: *mut c_void,
)
Expand description
Provide a callback function, @a warning, that @a fs should use to report (non-fatal) errors. To print an error, the filesystem will call @a warning, passing it @a warning_baton and the error.
By default, this is set to a function that will crash the process. Dumping to @c stderr or /dev/tty is not acceptable default behavior for server processes, since those may both be equivalent to /dev/null.