pub type ABinderRpc_ConnectionInfoProvider = Option<unsafe extern "C" fn(instance: *const c_char, data: *mut c_void) -> *mut ABinderRpc_ConnectionInfo>;
Expand description
Callback which returns the RPC connection information for libbinder to use to connect to a socket that a given service is listening on. This is needed to create an ABinderRpc_Accessor so it can connect to these services.
\param instance name of the service to connect to. This string must remain
valid and unchanged for the duration of this function call.
\param data user data for this callback. The pointer is provided in
ABinderRpc_Accessor_new.
\return ABinderRpc_ConnectionInfo with socket connection information for instance
Aliased Type§
enum ABinderRpc_ConnectionInfoProvider {
None,
Some(unsafe extern "C" fn(_: *const i8, _: *mut c_void) -> *mut ABinderRpc_ConnectionInfo),
}