TipcMsgSetNameCurrent
sets the name of the current field
msg
message containing field whose name is to be set
name
name of the field
TRUE
if the set was successful, FALSE
otherwise.
If TipcMsgSetNameCurrent fails, it returns FALSE
and sets the global SmartSockets error number to:
TipcMsgSetNameCurrent sets the name of the current field (the field that would be returned by a TipcMsgNext* function). If the current field has a name, it is overridden. If another field in the message already uses this name, this function fails.
This example sets the name of the current field:
T_BOOL status; status = TipcMsgSetNameCurrent(msg, "foo"); if (status == FALSE) {
return
; /* error */
}
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |