TipcPropertiesCreateMsg create a properties table from a SmartSockets message
msg
a SmartSockets message
Pointer to a properties table if successful, NULL
otherwise.
If TipcPropertiesCreateMsg fails, it returns NULL
and sets the global SmartSockets error code to one of:
TipcPropertiesCreateMsg creates a properties table from a SmartSockets message. msg
must be a message with name-value pairs. The name-value pairs should be strings appended one after the other. Use the TipcMsgAppendStr function to append strings to a SmartSockets message.
None
TipcPropertiesDestroy, TipcPropertiesCreate, TipcPropertiesMsgCreate
This example creates a properties table from a SmartSockets message:
T_IPC_PROPERTIES props; T_IPC_MSG props_msg; /*create a properties table from a message
*/ props = TipcPropertiesCreateMsg(props_msg); if (props == NULL) {return
; /* error */
}
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |