xref: /csrg-svn/lib/libedit/tokenizer.h (revision 54241)
1*54241Sbostic /*-
2*54241Sbostic  * Copyright (c) 1992 The Regents of the University of California.
3*54241Sbostic  * All rights reserved.
4*54241Sbostic  *
5*54241Sbostic  * This code is derived from software contributed to Berkeley by
6*54241Sbostic  * Christos Zoulas of Cornell University.
7*54241Sbostic  *
8*54241Sbostic  * %sccs.include.redist.c%
9*54241Sbostic  *
10*54241Sbostic  *	@(#)tokenizer.h	5.1 (Berkeley) 06/22/92
11*54241Sbostic  */
12*54241Sbostic 
13*54241Sbostic /*
14*54241Sbostic  * tokenizer.h: Header file for tokenizer routines
15*54241Sbostic  */
16*54241Sbostic #ifndef _h_tokenizer
17*54241Sbostic #define _h_tokenizer
18*54241Sbostic 
19*54241Sbostic typedef struct tokenizer Tokenizer;
20*54241Sbostic 
21*54241Sbostic Tokenizer 	*tok_init	__P((const char *));
22*54241Sbostic void		 tok_reset	__P((Tokenizer *));
23*54241Sbostic void		 tok_end	__P((Tokenizer *));
24*54241Sbostic int		 tok_line	__P((Tokenizer *, const char *,
25*54241Sbostic 				     int *, char ***));
26*54241Sbostic 
27*54241Sbostic #endif /* _h_tokenizer */
28