#ifndef GMS_TRACKING_H
#define GMS_TRACKING_H 1

/*
**      $VER: tracking.h V0.7B
**
**      (C) Copyright 1996-1997 DreamWorld Productions.
**          All Rights Reserved
*/

#define RES_EMPTY    0
#define RES_MEMORY   1   /* Memory allocation, lowest level resource type */
#define RES_COMPLEX  2   /* Complex allocation - (hardware and software) */
#define RES_CUSTOM   3   /* Software allocation of a customised type */
#define RES_HARDWARE 4   /* Hardware allocation */

/* This structure is used only within the kernal */

struct track {
  APTR Next;       /* Next in the chain */
  WORD ID;         /* ID number of this resource (see above) */
  LONG Key;        /* Unique key for the resource */
  LONG Address;    /* Address of object to free */
  APTR Routine;    /* Routine that frees the object */
};

#endif /* GMS_TRACKING_H */

