User`s guide
LUC API Reference [H]
Parameters
inData (input parameter)
Specifies a pointer to a buffer containing input data to the remote
function. NULL if there is no input data.
inDataLen (input parameter)
Specifies the length of the inData buffer.
outData (output parameter)
Specifies a pointer to the output data returned by the application.
NULL if there is no output data.
outDataLen (output parameter)
Specifies the length of the data returned by the application if there is
returning data.
completionArg (output parameter)
Specifies the value to pass to completionFctn.
completionFctn (output parameter)
Specifies a pointer to a LUC_Mem_Avail_Completion
callback function called when the buffer is available. Used when
LUC_RPC_Function_InOut returns data to the LUC runtime
and needs to be notified that the buffer is available for use.
callerEndpoint (input parameter)
Specifies the input endpoint identifier of the client's LucEndpoint
object passed to the remote function.
H.5.2 LUC_Mem_Avail_Completion
The LUC_Mem_Avail_Completion callback function notifies
LUC_RPC_Function_InOut that its buffer is available for use.
Syntax
typedef void (*LUC_Mem_Avail_Completion)(void * userHandle);
Parameters
userHandle LUC passes in the completionArg value returned by the initiating
LUC_RPC_Function_InOut function.
S–2479–20 161