gtpc2mayC/C++ Language Support User's Guide

cmflus-Flush Data from Buffer of Local LU

This function allows the application to transmit any data from the local LU's data buffer, including an ATTACH from the cmallc function.

Format

#include   <tpfmap.h>
void       cmflus(unsigned char *conversation_ID,
                  signed int *return_code);

conversation_ID
This is a pointer to an 8-byte character array that contains the conversation ID. This conversation ID must be the ID returned by the cminit (INITIALIZE) or cmaccp (ACCEPT_CONVERSATION) that started this conversation.

return_code
This is a pointer to a 4-byte field where the return code is to be placed.

Return Codes

The following is a list of return codes that can be returned to the program that called the cmflus function. A complete list of the return codes and their definitions can be found in Table 45.

Programming Considerations

Examples

The following example calls the cmflus function.

#include <tpfmap.h>
 
      unsigned char convid[8];
      signed int    rcode;
      .
      .
/* set conversation_ID with value returned from accept or initialize */
      .
      .
cmflus(convid,&rcode);
      .                       /*  normal processing path             */
      .
      .

Related Information