TipcMsgGetNamedUnknown get a field with an unknown or non-existent value from a message, using a name
msg
message to get field from
name
name of the field
TRUE
if the get was successful, FALSE
otherwise.
If TipcMsgGetNamedUnknown fails, it returns FALSE
and sets the global SmartSockets error number to:
TipcMsgGetNamedUnknown gets the field specified by the name. If no field by this name exists, or the field associated with this name is not unknown, this function fails.
None
TipcMsgAppendUnknown, TipcMsgUpdateNamedUnknown, TipcMsgNextUnknown
This example gets a named field of unknown type from an existing message:
T_IPC_MSG msg; T_BOOL status; status = TipcMsgGetNamedUnknown(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 |