xref: /csrg-svn/lib/libedit/tokenizer.h (revision 61276)
154241Sbostic /*-
2*61276Sbostic  * Copyright (c) 1992, 1993
3*61276Sbostic  *	The Regents of the University of California.  All rights reserved.
454241Sbostic  *
554241Sbostic  * This code is derived from software contributed to Berkeley by
654241Sbostic  * Christos Zoulas of Cornell University.
754241Sbostic  *
854241Sbostic  * %sccs.include.redist.c%
954241Sbostic  *
10*61276Sbostic  *	@(#)tokenizer.h	8.1 (Berkeley) 06/04/93
1154241Sbostic  */
1254241Sbostic 
1354241Sbostic /*
1454241Sbostic  * tokenizer.h: Header file for tokenizer routines
1554241Sbostic  */
1654241Sbostic #ifndef _h_tokenizer
1754241Sbostic #define _h_tokenizer
1854241Sbostic 
1954241Sbostic typedef struct tokenizer Tokenizer;
2054241Sbostic 
2154241Sbostic Tokenizer 	*tok_init	__P((const char *));
2254241Sbostic void		 tok_reset	__P((Tokenizer *));
2354241Sbostic void		 tok_end	__P((Tokenizer *));
2454241Sbostic int		 tok_line	__P((Tokenizer *, const char *,
2554241Sbostic 				     int *, char ***));
2654241Sbostic 
2754241Sbostic #endif /* _h_tokenizer */
28