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 >
Wrap
Text File
|
1990-06-17
|
644b
|
36 lines
/*
* rems.inc -- include file for LIST.C
*/
static int rem0(void *itembuf);
static int rem1(void *itembuf);
static int rem2(void *itembuf);
static int rem3(void *itembuf);
static int (*rems[MAXLISTS])(void *itembuf) = { rem0, rem1, rem2, rem3 };
static int rem0(void *itembuf)
{
list = listptr[0];
return lremitem(itembuf);
}
static int rem1(void *itembuf)
{
list = listptr[1];
return lremitem(itembuf);
}
static int rem2(void *itembuf)
{
list = listptr[2];
return lremitem(itembuf);
}
static int rem3(void *itembuf)
{
list = listptr[3];
return lremitem(itembuf);
}