Use this function to supply a buffer. It is used only by input nodes. The address is specified by the source parameter as an input bit stream of the input message to the integration node.
By supplying a buffer, an input node can read data into the bit stream that represents an input message from an external data source. The integration node takes a copy of the data and the caller can free the storage on return.
int cniSetInputBuffer(
void* returnCode,
CciMessage* message,
Void* source,
CCiInt length);
None. If an error occurs, thereturnCode parameter indicates the reason for the error.
cniSetInputBuffer(&rc, message, buffer, buflen);