A number of utility data structures are accessible from user-written programs. These structures are defined:
struct T_HASH_TABLE_STRUCT T_HASH_TABLE_STRUCT, *T_HASH_TABLE; struct T_HASH_BUCKET_STRUCT T_HASH_BUCKET_STRUCT, *T_HASH_BUCKET; struct T_OPTION_STRUCT T_OPTION_STRUCT, *T_OPTION; struct T_PTR_ARY_STRUCT T_PTR_ARY_STRUCT, *T_PTR_ARY; struct T_TIME_CVT_STRUCT T_TIME_CVT_STRUCT, *T_TIME_CVT; struct T_XML_STRUCT T_XML_STRUCT, *T_XML
These structure definitions are incomplete in the sense that none of the fields in the structure are defined. This is one way of creating an opaque data type in C. Pointers to these structures cannot be dereferenced to look at the data where they are pointing. These pointers are only manipulated through access functions, which provides binary compatibility that protects you from changes to the underlying data structures from one version of SmartSockets to the next.
TIBCO SmartSockets™ Utilities Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |