TipcMtDestroy destroy a message type
mt
message type to destroy
TRUE
if the message type was successfully destroyed, FALSE
otherwise.
If TipcMtDestroy fails, it returns FALSE
and sets the global SmartSockets error number to:
TipcMtDestroy destroys a message type. All memory for the message type is freed. It is unusual to destroy a message type; TipcMtDestroy is provided for completeness.
None
This example looks up a message type and destroys it:
T_IPC_MT mt; mt = TipcMtLookup("numeric_data"); if (mt == NULL) {return
; /* error */
} if (!TipcMtDestroy(mt)) {return
; /* error */
}
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |