TipcMsgUpdateNamedInt8


Name

TipcMsgUpdateNamedInt8 — update an INT8 field in a message with new data

Synopsis

T_BOOL TipcMsgUpdateNamedInt8(msg, name, value) 
T_IPC_MSG msg; 
T_STR name; 
T_INT8 value; 

Arguments

msg — message to update field in

name — name of the field

value — value of the field

Return Values

TRUE if the update was successful, FALSE otherwise.

Diagnostics

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

Description

TipcMsgUpdateNamedInt8 updates an INT8 field in a message, associating that field with a name.

See Also

TipcMsgAddNamedInt8, TipcMsgGetNamedInt8

Examples

This example changes the value of the named field "data":

T_INT8 data; 
if (!TipcMsgUpdateNamedInt8(msg, "data", data)) { 
  return;  /* error */ 
} 

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