pub type put_logfunc_func = unsafe extern "C" fn(lp: *mut lprec, newlog: lphandlestr_func, loghandle: *mut c_void);