DitsForEachTransaction - Iterate through the transactions for an action.

Function

Iterate through the transactions for an action.

Description

This fuctions allows an operation to be applied to every transaction assoicated with the current action. This is done immediately (before this function returns).

Language

C

Call

(void) = DitsForEachTransaction (routine, client_data, status)

Parameters

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

>routineDitsTransactRoutineTypeA routine to be invoked for each transaction. Arguments will be the client_data item below and the transaction id. Note that it IS safe to call DitsForget() on the transaction from routine.
>client_datavoid *Pass through to the routine.
!statusStatusType *modified status, ignored.

Function Prototypes Used

typedef DVOID (*DitsTransactRoutineType) ( DVOIDP client_data, DitsTransIdType tid, StatusType *status);

Parameters

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

>client_datavoid *The value passed to DitsForEachTransaction().
>tidDitsTransIdTypeThe transaction id.
!statusStatusType *Modified status.

Include files

DitsUtil.h

External functions used

External values used

DitsTask

Prior requirements

Can only be called from action routines.

See Also

The Dits Specification Document.

Support

Tony Farrell, AAO

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

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