home *** CD-ROM | disk | FTP | other *** search
/ Dream 52 / Amiga_Dream_52.iso / Linux / Enlightenment / enl_DR-0.10.tar.gz / enl_DR-0.10.tar / enl / lists.h < prev    next >
C/C++ Source or Header  |  1997-05-13  |  471b  |  24 lines

  1. typedef struct
  2. {
  3.    struct list *first;
  4.    int num;
  5.    struct list *last;
  6. } listhead;
  7.  
  8. struct list
  9. {
  10.    struct list *next;
  11.    EWin *win;
  12. };
  13.  
  14. listhead *ListInit();
  15. void ToFront(EWin *ewin);         
  16. void ToBack(EWin *ewin);
  17. void ListKill(listhead *l);
  18. void ListAdd(listhead *l, EWin *data);
  19. void ListDelWinID(listhead *l, Window w);
  20. EWin *ListGetWinID(listhead *l, Window w);
  21. EWin *ListGetClientWinID(listhead *l, Window w);
  22. EWin *ListGetSubWinID(listhead *l, Window w);
  23.  
  24.