pub type LibraryReceiveThreadMsgCallbackType = extern "C" fn(*const c_void) -> OptionThreadReceiveMsg;