listP.h 353 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * (C) 2000 UNIVERSITY OF CHICAGO
  3. * See COPYRIGHT in top-level directory.
  4. */
  5. /*
  6. * Private data structures for the list
  7. *
  8. */
  9. typedef struct _List
  10. {
  11. pListitem head;
  12. pListitem tail;
  13. int count;
  14. } List;
  15. typedef struct _Listitem
  16. {
  17. void *data;
  18. pListitem prev;
  19. pListitem next;
  20. #ifdef CHECKS
  21. pList list;
  22. #endif
  23. } Listitem;