Table of Contents Index NMS Glossary Previous Page Next Page (Page 2 of 11 in this chapter) Version


TCAPAddComp

Description

Adds a component and, optionally, its associated parameter(s) to a TCAP transaction data message being constructed.

Prototype

DWORD TCAPAddComp (U8 *pMessage,
TcapComp *pComp,
U16 paramLen,
U8 *pParamBuf )

pMessage Address of the caller's message buffer. This buffer must have been previously initialized with TCAPInitTrans.

pComp Address of the caller's TcapComp structure where the characteristics of the component (component type, component ID(s), other component type-specific attributes) are defined.

paramLen Byte length of component parameters to be included in the message. If no parameters are included with this component, this parameter should be set to zero.

pParamBuf Address of the buffer containing component parameters; if this component has no parameters, a NULL pointer should be passed for this argument.

Return Values

Details

For ANSI components, all parameters associated with a component must be enclosed by an ASN.1 SET or SEQUENCE constructor. This is performed on behalf of the application by the TCAP layer, based on the value in the paramFlg field in the ANSI component structure.

For ITU-T components, there is no requirement that all parameters be enclosed in a ASN.1 SET or SEQUENCE constructor; if this is required by the specific application protocol, then it must be done by the application.



Table of Contents Index NMS Glossary Previous Page Next Page (Page 2 of 11 in this chapter) Version


Want to send us feedback on our documentation? Email: Tech_Pubs@nmss.com
Copyright © 2002, NMS Communications Corporation. All rights reserved.