home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / INFO / NCSATELN / TEL23SRC.ZIP / INCLUDE / TEKSTOR.H < prev    next >
Encoding:
C/C++ Source or Header  |  1991-06-29  |  570 b   |  26 lines

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