home *** CD-ROM | disk | FTP | other *** search
/ Amiga Elysian Archive / AmigaElysianArchive.iso / newlibs / cclib.lzh / stdlist.h < prev    next >
C/C++ Source or Header  |  1989-09-25  |  356b  |  34 lines

  1. #ifndef STDLIST_H
  2.  
  3. #define STDLIST_H 1
  4.  
  5. typedef struct _node
  6. {
  7. struct _node *prev, *next;
  8. } _node;
  9.  
  10.  
  11. typedef struct
  12. {
  13. _node *first, *last;
  14. long length;
  15. } _list;
  16.  
  17. _node *inst_node();
  18. void put_head();
  19. void *add_head();
  20. void put_tail();
  21. void *add_tail();
  22. void *remv_head();
  23. void *remv_tail();
  24. void *r_node();
  25. void *remv_node();
  26. void remv_list();
  27.  
  28. #endif
  29.  
  30.  
  31.  
  32.  
  33.  
  34.