rpc_system_app_set_callback

Function rpc_system_app_set_callback 

Source
pub unsafe extern "C" fn rpc_system_app_set_callback(
    rpc_app: *mut RpcAppSystem,
    callback: RpcAppSystemCallback,
    context: *mut c_void,
)
Expand description

Set the callback function for use by an RpcAppSystem instance.

ยงArguments

  • rpc_app (direction in, out) - pointer to the instance to be configured.
  • callback (direction in) - pointer to the function to be called upon message reception.
  • context (direction in, out) - pointer to the user-defined context object. Will be passed to the callback.