gettoken.h
/* Notice of Copyright, License and Warranty
**
** This software is Copyright 1998, 1999, 2000 Jeffrey S. Dutky
** This software is licensed for use under the terms of the GNU General
** Public License (also called the GPL), a copy of which must be included
** with any distribution of this software. You may also find a copy of the
** GPL at the Free Software Foundation's web site at http://www.fsf.org/
** or http://www.gnu.org.
**
** This software is provided "as is" and without any express or implied
** warranties, including, without limitation, the implied waranties of
** merchantability and fitness for a particular purpose.
*/
#include <stdio.h>
#include <string.h>
/* return values for gettoken() */
#define GENERIC 0
#define KEYWORD 1
#define STRING 2
#define INTEGER 3
#define CHARACTER 4
#define PREPROCESSOR 5
#define COMMENT 6
#define FLOAT 7
#define ENDOFFILE -1
#define NONE 0
int gettoken(FILE *f, char *token, int max, int tabwidth, int start);