tibrvMsg_ConvertToString()
Function
Declaration
tibrv_statustibrvMsg_ConvertToString
(
tibrvMsg message,
const char** string);
Purpose
Remarks
Programs can use this function to obtain a string representation of the message for printing.
For most datatypes, this function formats the full value of the field to the output string; however, these two types are exceptions:
This function abbreviates the value of an opaque field; for example, |
|
This function abbreviates the value of an XML field; for example, The size measures uncompressed data. |
This function formats TIBRVMSG_IPADDR32 fields as four dot-separated decimal integers.
This function formats TIBRVMSG_IPPORT16 fields as one decimal integer.
For printing tibrvMsgDateTime values, see Converting Dates to Strings.
Parameter |
Description |
|
Format this message as a string. |
|
The program supplies a location in this parameter; the function stores a pointer to the string in that location. The function allocates storage for the string itself as part of the message; the string pointer remains valid until the message is destroyed. The program must not modify the string. |