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

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