TipcPropertiesGetCount get the count of name-value pairs in the properties table
props
properties table
count_return
pointer to an integer
TRUE
if count returns successfully, FALSE
otherwise.
If TipcPropertiesGetCount fails, it returns FALSE
and sets the global SmartSockets error code to:
TipcPropertiesGetCount returns the number of name-value pairs in the properties table.
None
TipcPropertiesSet, TipcPropertiesGet, TipcPropertiesGetDefault
This example gets the number of name-value pairs in the table:
T_IPC_PROPERTIES props; T_BOOL status; T_INT4 count; status = TipcPropertiesGetCount(props, &count); if (!status) {return
; /* error */
} TutOut("Num of props = <%d>\n", count);
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |