pub type put_msgfunc_func = unsafe extern "C" fn(lp: *mut lprec, newmsg: lphandleint_func, msghandle: *mut c_void, mask: c_int);