gtpc2mapC/C++ Language Support User's Guide

cmaccp-Accept a Conversation

This function accepts an incoming conversation. It returns the conversation ID that identifies this conversation from now on.

Format

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

conversation_ID
This is a pointer to an 8-byte character array where the conversation ID is returned. You must specify this conversation ID on all subsequent functions for 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 cmaccp function. A complete list of the return codes and their definitions can be found in Table 45.

Programming Considerations

Examples

The following example accepts in incoming conversation.

#include <tpfmap.h>
 
      unsigned char convid[8];
      signed int    rcode;
      .
      .
      .
cmaccp(convid,&rcode);
      .
      .
      .

Related Information