TipcMsgGetTypeNamed
get the type of a field from a message, using a name
msg
message to get field type from
name
name of the field
type
return pointer to type of the field, such as T_IPC_FT_INT2 or T_IPC_FT_INT4
TRUE
if the get was successful, FALSE
otherwise.
None
TipcMsgGetTypeNamed gets the type of the field specified by the name. The type of the field is returned in the type pointer. TipcMsgGetTypeNamed fails if no field by this name exists.
This example gets the type of a field from an existing message:
T_IPC_MSG msg; T_BOOL status; T_IPC_FT type; status = TipcMsgGetTypeNamed(msg, "foo", &type); 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 |