home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 032.lha / include / exec / lists.g < prev    next >
Text File  |  1987-05-16  |  604b  |  26 lines

  1. type
  2.     List_t = struct {
  3.     *Node_t lh_Head;
  4.     *Node_t lh_Tail;
  5.     *Node_t lh_TailPred;
  6.     byte lh_Type;
  7.     byte l_pad;
  8.     },
  9.  
  10.     MinList_t = struct {
  11.     *MinNode_t mlh_Head;
  12.     *MinNode_t mlh_Tail;
  13.     *MinNode_t mlh_TailPred;
  14.     };
  15.  
  16. extern
  17.     AddHead(*List_t list; *Node_t node)void,
  18.     AddTail(*List_t list; *Node_t node)void,
  19.     Enqueue(*List_t list; *Node_t node)void,
  20.     FindName(*List_t list; *char name)*Node_t,
  21.     Insert(*List_t list; *Node_t node; *List_t listNode)void,
  22.     NewList(*List_t list)void,
  23.     RemHead(*List_t list)*Node_t,
  24.     Remove(*Node_t node)void,
  25.     RemTail(*List_t list)*Node_t;
  26.