Invoke this function with the chkData structure returned by a previous call to SdsCheckInit(). This function will then determine if there has been any net change in the number of SDS identifiers outstanding since that call to SdsCheckInit().
If a problem occurs, then status is set bad and a message is output to stderr indicating details of the problem.
Note - function checks for any net change in SDS ids - reduction or increase in number of ID's outstanding. The "allow" item in the structre can be set (after the call to SdsCheckInit() to a number of values to allow to leak. If negative, it is a number which allowed to be released.
> | mes | const char * | Used in a mesage output. If non-zero, A message is output to stderr contianining this string. |
---|---|---|---|
! | chkData | const SdsCheckType * | Check initialisation data checked against. The leakCount item in this structure will be updated with the number of SDS ID's which leak. This value will be negative if ID's were released. The usedAfter will contain the the numder of SDS IDs used at this point. |
! | status | StatusType* | Modified status. Possible failure
codes are:
|
SDS__CHK_LEAK | The outstanding number of SDS id's has increased. |
---|---|
SDS__CHK_RELEASED | The outstanding num of SDS id's dropped. |
Click here for the DRAMA home page and here for the AAO home page.
For more information, contact tony.farrell@mq.edu.au