WebSphere Message Broker, Version 8.0.0.7 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS

See information about the latest product version

cpiAppendToBuffer

This function appends data to the buffer containing the bit stream representation of a message, for the specified parser object.

Syntax

void cpiAppendToBuffer(
  int*        returnCode,
  CciParser*  parser,
  CciByte*    data,
  CciSize     length);

Parameters

returnCode
Receives the return code from the function (output).
Possible return codes are:
  • CCI_SUCCESS
  • CCI_EXCEPTION
  • CCI_INV_PARSER_OBJECT
  • CCI_INV_DATA_POINTER
  • CCI_INV_LENGTH
parser
Specifies the address of the parser object (input).
data
The address of the data to be appended to the buffer (input).
length
The size in bytes of the data to be appended to the buffer (input).

Return values

None. If an error occurs, returnCode indicates the reason for the error.

Sample

This example is taken from the sample parser file BipSampPluginParser.c:

cpiAppendToBuffer(&rc, parser, (char *)"Some test data", 14);
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2016Copyright IBM Corporation 1999, 2016.

        
        Last updated:
        
        Last updated: 2016-05-23 14:47:31


Reference topicReference topic | Version 8.0.0.7 | as08260_