home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GRIPS 2: Government Rast…rocessing Software & Data
/
GRIPS_2.cdr
/
dos
/
ncsa_tel
/
contribu
/
byu_tel2.hqx
/
tek
/
tekstor.h
< prev
next >
Wrap
Text File
|
1988-02-19
|
685b
|
34 lines
/*
tekstor.h
Declarations to allow use of tekstor.c
*/
struct handle {
char *pool;
unsigned int poolsize;
struct handle *next;
};
typedef struct handle HANDLE, *HANDLEP;
typedef struct {
HANDLE *firsth, /* beginning of list */
*thish, /* used for scanning thru data */
*lasth; /* last handle in store */
int thiselnum, /* number of currently-viewing element */
lastelnum; /* number of last element in store */
/* element numbers are in [0..(poolsize-1)] */
} STORE, *STOREP;
#ifndef STORMASTER
extern STOREP newstore();
#endif
#ifndef STORMASTER
extern void freestore();
#endif
#ifndef STORMASTER
extern int addstore(), topstore(), nextitem(), unstore();
#endif