TipcMtLogRemoveMt


Name

TipcMtLogRemoveMt — remove a message type from a message file logging type

Synopsis

T_BOOL TipcMtLogRemoveMt(log_type, mt) 
T_IPC_MT_LOG_TYPE log_type; 
T_IPC_MT mt; 

Arguments

log_type — message file logging type

mt — message type to remove from list

Return Values

TRUE if message type was successfully removed, FALSE otherwise.

Diagnostics

If TipcMtLogRemoveMt fails, it returns FALSE and sets the global SmartSockets error number to one of:

Description

TipcMtLogRemoveMt removes a message type from a message file logging type. See TipcMtLogAddMt for more information on logging types.

Caution

TipcMtLogRemoveMt only takes effect if called before the RTclient has created a connection to RTserver.

See Also

TipcMtLogAddMt; see the TIBCO SmartSockets Utilities for information on TutPtrAryRemove.

Examples

This example removes the TIME message type from the data logging type with TipcMtLogRemoveMt:

mt = TipcMtLookupByNum(T_MT_TIME); 
if (mt == NULL) { 
  return;  /* error */ 
}  
 
if (!TipcMtLogRemoveMt(T_IPC_MT_LOG_DATA, mt)) { 
  return;  /* error */ 
} 

TIBCO SmartSockets™ Application Programming Interface
Software Release 6.8, July 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com