home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
300-399
/
ff319.lzh
/
CNewsSrc
/
cnews.src.lzh
/
libbig
/
sys_fast.c
< prev
Wrap
C/C++ Source or Header
|
1989-07-09
|
623b
|
45 lines
/*
* news sys file reading functions (fast, big, in-memory version)
*/
#include <stdio.h>
#ifndef AMIGA
# include <sys/types.h>
#endif /* AMIGA */
#include "news.h"
#include "system.h"
/* imports */
extern struct system *currsys, *firstsys;
/* exports */
boolean justone = NO;
/* private */
static struct system *thissys = NULL;
/* ARGSUSED */
void rewsys(fp)
FILE *fp;
{
currsys = firstsys;
}
struct system *mysysincache() /* optimisation */
{
return thissys;
}
void remmysys(sys) /* remember this system */
struct system *sys;
{
thissys = sys;
}
void freecurrsys()
{
/* never free sys entries */
}