typedef LrmHotplugCallbackFunction = ffi.Void Function(ffi.Pointer<ffi.Void> context, ffi.Int32 event_type);