pub type HookFn = unsafe extern "C" fn(*const u8, usize, *const u8, usize, *mut Buf) -> i32;
One hook entry point. input/ctx are borrowed for the call; on return the status code says what out holds.
input
ctx
out