This function returns the name of the input terminal of the target node for the specified connection.
CciSize cciGetTargetTerminalName (int* returnCode,
CciConnection* connection,
CciChar* value,
CciSize length);
The provided buffer was not large enough to hold the value of node name.
void myPropagatedMessageCallback(
CciDataContext* userContext,
CciMessage* message,
CciMessage* localEnvironment,
CciMessage* exceptionList,
CciMessage* environment,
CciConnection* connection){
int rc = CCI_SUCCESS;
CciChar targetTerminalName[initialStringBufferLength];
cciGetTargetTerminalName(&rc,
connection,
targetTerminalName,
initialStringBufferLength);
/*you should now check the rc for unexpected values*/
/*if rc is CCI_BUFFER_TOO_SMALL then you should resize and retry*/