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 >
Text File  |  1988-02-19  |  685b  |  34 lines

  1. /*
  2.     tekstor.h
  3.     Declarations to allow use of tekstor.c
  4. */
  5.  
  6. struct handle {
  7.     char *pool;
  8.     unsigned int poolsize;
  9.     struct handle *next;
  10. };
  11.  
  12. typedef struct handle HANDLE, *HANDLEP;
  13.  
  14. typedef struct {
  15.     HANDLE    *firsth, /* beginning of list */
  16.             *thish,    /* used for scanning thru data */
  17.             *lasth;    /* last handle in store */
  18.     int thiselnum,    /* number of currently-viewing element */
  19.         lastelnum;    /* number of last element in store */
  20.         /* element numbers are in [0..(poolsize-1)] */
  21. } STORE, *STOREP;
  22.  
  23. #ifndef STORMASTER
  24. extern STOREP newstore();
  25. #endif
  26.  
  27. #ifndef STORMASTER
  28. extern void freestore();
  29. #endif
  30.  
  31. #ifndef STORMASTER
  32. extern int addstore(), topstore(), nextitem(), unstore();
  33. #endif
  34.