TipcPropertiesGet get the property value for the specified property name
props
properties table
name
property name
Properties value if successful, NULL
otherwise.
If TipcPropertiesGet fails, it returns NULL and sets the global SmartSockets error code to one of:
TipcPropertiesGet returns the value associated with the specified property name. If name
is not found in the table, then TipcPropertiesGet returns NULL
.
None
TipcPropertiesDestroy, TipcPropertiesCreate, TipcPropertiesSet
This example gets values from the properties table:
T_IPC_PROPERTIES props; T_BOOL status; status = TipcPropertiesSet(props, "prop1", "val1"); if (!status) {return
; /* error */
} TutOut("The Key prop1 : has Value : %s\n", TipcPropertiesGet(props, "prop1"));
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |