TipcPropertiesGetDefault get the default property value for the specified property name
props
properties table
name
property name
TipcPropertiesGetDefault returns the default value associated with the property name on success and NULL
otherwise.
If TipcPropertiesGetDefault fails, it returns NULL
and sets the global SmartSockets error code to one of:
TipcPropertiesGetDefault returns the default value associated with the property name. If the property name is not found then it returns NULL
.
None
TipcPropertiesGet, TipcPropertiesGetCount, TipcPropertiesSet
This example gets the default value for a property:
T_IPC_PROPERTIES props; T_STR value_return; value_return = TipcPropertiesGetDefault(props, "prop1"); TutOut("The Key is prop1: Value is %s\n", value_return);
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |