(Page 26 of 35 in this chapter)


TxX25LinkShNext

Description

Assists in handling a response packet to a link Show Summary request.

Prototype

short TxX25LinkShNext (TXMNGPKT *rsp,
unsigned short index,
TXAPISHNEXT *nextinfo)

rsp Pointer to packet holding response to link Show Summary.

index Index to next link summary to return.

nextinfo Pointer to area where API can store information about this Show.

Return Values

TX API completion code.

Details

TxX25LinkShNext locates the next link summary record in the response packet and returns the information from that structure. The link type field will either indicate that all links have been read (TPX_IFS_DONE) or the specific type of link being returned.

If DONE is returned, applications should use the repeatflag to determine whether an additional request must be issued to the CP. If set, the application should call TxX25LinkShSumm with the index value indicated (followed by a TxApiReqRsp call). If the repeatflag is not set, all links have been read.

If a link type is returned, the application should perform any processing required on the returned link description and then issue another call to TxX25LinkShNext to retrieve the next summary description.

See Also

TxApiReqRsp, TxX25LinkShSumm



(Page 26 of 35 in this chapter)


tech_support@nmss.com
Copyright © 1998, Natural MicroSystems, Inc. All rights reserved.