TipcSrvLogRemoveMt


Name

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

Synopsis

T_BOOL TipcSrvLogRemoveMt(log_type, mt) 
T_IPC_SRV_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 the message type was successfully removed, FALSE otherwise.

Diagnostics

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

Description

TipcSrvLogRemoveMt removes a message type from a message file logging type on the connection to RTserver. Each logging type has two options that can be used to log incoming and outgoing messages in that logging type. See TipcSrvLogAddMt for more information on logging types.

Caution

TipcSrvLogRemoveMt can only be called before the RTclient has created a connection to RTserver.

See Also

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

Examples

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

mt = TipcMtLookupByNum(T_MT_TIME); 
if (mt == NULL) { 
  return;  /* error */ 
}  
 
if (!TipcSrvLogRemoveMt(T_IPC_SRV_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