home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Amiga Shareware Floppies / ma58.dms / ma58.adf / superplay-lib_USR / SuperPlay / SP_SPOListSubs.h < prev    next >
C/C++ Source or Header  |  1996-05-27  |  1KB  |  37 lines

  1.  
  2.  /* SP_SPOListSubs.h -
  3.     - Functions for spobject List Handling -
  4.     (c) 1993-94 by Andreas R. Kleinert
  5.     Last changes : 07.06.1994
  6.  */
  7.  
  8. #include "SuperPlay.h"
  9.  
  10.  
  11.  /* spobject List Handling Functions */
  12.  
  13. extern struct SPS_SPOList *  __regargs SPS_GetSPOList(void);
  14. extern void                 __regargs SPS_FreeSPOList(struct SPS_SPOList *SPOList);
  15. extern long                  __regargs SPS_AddSPOEntry(struct SPS_SPOList *mlist,  struct SPO_ObjectNode *spo_node);
  16. extern struct SPS_SPOEntry * __regargs SPS_GetSPOEntry(struct SPS_SPOList *SPOList, long entrynum);
  17.  
  18.  
  19. struct SPS_SPOList
  20. {
  21.  struct List   spl_EntryList;  /* List of Entries. Type : struct SPS_SPOEntry */
  22.  LONG           spl_NumEntries; /* Number of List-Entries                */
  23. };
  24.  
  25.      /* The SPS_SPOEntry structure, retured by SPS_GetSPOList() */
  26.  
  27. struct SPS_SPOEntry
  28. {
  29.  struct Node            SPONode;
  30.  
  31.  UBYTE                  spe_ObjectID [128];
  32.  ULONG                  spe_ObjectCode;
  33.  ULONG                  spe_ObjectSubCode;
  34.  
  35.  struct SPO_ObjectNode *spe_SPO_ObjectNode;
  36. };
  37.