TipcMsgGetNameCurrent
get the name of the current field
msg
message to get field name from
name_return
name of the field
TRUE
if the get was successful, FALSE
otherwise.
None
TipcMsgGetNameCurrent gets the name of the current field (the field that would be returned by a TipcMsgNext* function). If the current field does not have a name, this function fails.
This example gets the name of the current field:
T_BOOL status; T_STR name; status = TipcMsgGetNameCurrent(msg, &name); 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 |