TipcMsgDeleteCurrent


Name

TipcMsgDeleteCurrent — delete the current field from a message

Synopsis

T_BOOL TipcMsgDeleteCurrent(msg) 
T_IPC_MSG msg; 

Arguments

msg — message to delete field from

Return Values

TRUE if the update was successful, FALSE otherwise.

Diagnostics

If TipcMsgDeleteCurrent fails, it returns FALSE and sets the global SmartSockets error numbers to one of the following:

Description

TipcMsgDeleteCurrent deletes the current field from the message, whether the field is named or unnamed. If no such field exists, it returns FALSE.

See Also

TipcMsgDeleteNamedField, TipcMsgDeleteField

Examples

This code example deletes the current field from the message:

if (!TipcMsgDeleteCurrent(msg)) { 
 return;  /* error */ 
} 

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