SdsCheckInit - Initialise a structure used to check for failures to run SdsFreeId().

Function

Initialise a structure used to check for failures to run SdsFreeId().

Description

SdsCheckInit() and SdsCheck() are usefull when checking for SDS ID leaks. What you should do is bracket a bunch of calls to SDS which are expected to not result in a net allocation of SDS ID's by SdsCheckInit() and SdsCheck().

This function initialises the structure used by SdsCheck() to determine if a leak has occured since the last call. By using different chkData variables, you can bracket muliple sets of SDS calls.

Language

C

Declaration

void SdsCheckInit(SdsCheckType *chkData, StatusType * SDSCONST status)

Parameters

(">" input, "!" modified, "W" workspace, "<" output)

>chkDataSdsCheckType *Check initialisation data is written here.
!statusStatusType*Modified status.

Support

Tony Farrell, {AAO}

Version date

25-Sep-2008

Click here for the DRAMA home page and here for the AAO home page.

 For more information, contact tjf@aaoepp.aao.gov.au