Previous PageTable Of Contents../index.htmlIndexNext Page

cc_StopTrace( )

Description | Cautions | Example | Errors | See Also

Name:

int cc_StopTrace(boarddev)

Inputs:

LINEDEV boarddev

  board device handle

Returns:

0 on success
< 0 on failure

Includes:

cclib.h

Category:

System control

Mode:

asynchronous

Technology:

BRI/2; BRI/SC; PRI (all protocols)

Top Of PageDescription

The cc_StopTrace( ) function stops the trace that was started using the cc_StartTrace( ) function, discards the trace information, and closes the file.

Parameter

Description

boarddev:

The line device handle of the D channel board.

Top Of PageCautions

None

Top Of PageExample

Top Of PageErrors

If the function returns < 0 to indicate failure, use the cc_CauseValue( ) function to retrieve the reason code for the failure. The cc_ResultMsg( ) function can be used to interpret the reason code. Error codes are defined in the files ccerr.h, isdnerr.h, and isdncmd.h.

Error codes from the cc_StopTrace( ) function include the following:

Error Code

Description

ERR_ISDN_LIB | E_ISTNACT

Trace information is not/is already activated

ERR_ISDN_LIB | E_ISBADIF

Bad interface number

Top Of PageSee Also


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

Copyright 2001, Dialogic Corporation
All rights reserved
This page generated December, 2001