home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_400 / 402_01 / cforms-2.2 / src / token.h < prev   
Encoding:
C/C++ Source or Header  |  1993-07-20  |  1019 b   |  38 lines

  1. #ifndef _TOKEN_H
  2. #define _TOKEN_H
  3. /*******************************************************************************
  4.  *
  5.  *        T O K E N . H
  6.  *        -------------
  7.  *
  8.  * Description:
  9.  *    Includefile for token routines.
  10.  *
  11.  * Revision:
  12.  *    Ver    Date     By        Reason
  13.  *    ---    ----     --        ------
  14.  *    1.00   900619    Lars Berntzon    Created
  15.  *    2.10   930517    Lars Berntzon    Only GetTok needed
  16.  *
  17.  ******************************************************************************/
  18. #ifndef lint
  19. static volatile char sccs_token_h[] = "@(#) token.h,v 1.3 1993/05/13 21:55:50 lasse Exp";
  20. #endif
  21.  
  22.     /* D e f i n i t i o n s */
  23.  
  24. #define TOKENSIZE 200        /* Maximal size of a token              */
  25.  
  26.  
  27.     /* G l o b a l   v a r i a b l e s */
  28.  
  29. extern int line;        /* Current line number                  */
  30. extern FILE *in;        /* Input file set by OpenTok()              */
  31.  
  32.  
  33.     /* G l o b a l   f u n c t i o n s */
  34.  
  35. extern char *GetTok(char *token, char *space);    /* Get one token              */
  36. extern FILE *OpenTok(char *filename);    /* Open file for input             */
  37. #endif /* _TOKEN_H */
  38.