home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_300 / 308_01 / rems.inc < prev    next >
Text File  |  1990-06-17  |  644b  |  36 lines

  1.  
  2. /*
  3.  *  rems.inc -- include file for LIST.C
  4.  */
  5.  
  6. static int rem0(void *itembuf);
  7. static int rem1(void *itembuf);
  8. static int rem2(void *itembuf);
  9. static int rem3(void *itembuf);
  10.  
  11. static int (*rems[MAXLISTS])(void *itembuf) = { rem0, rem1, rem2, rem3 };
  12.  
  13. static int rem0(void *itembuf)
  14. {
  15.     list = listptr[0];
  16.     return lremitem(itembuf);
  17. }
  18.  
  19. static int rem1(void *itembuf)
  20. {
  21.     list = listptr[1];
  22.     return lremitem(itembuf);
  23. }
  24.  
  25. static int rem2(void *itembuf)
  26. {
  27.     list = listptr[2];
  28.     return lremitem(itembuf);
  29. }
  30.  
  31. static int rem3(void *itembuf)
  32. {
  33.     list = listptr[3];
  34.     return lremitem(itembuf);
  35. }
  36.