xref: /netbsd-src/external/bsd/ipf/dist/lib/resetlexer.c (revision 13885a665959c62f13a82b3caedf986eaa17aa31)
1 /*	$NetBSD: resetlexer.c,v 1.2 2012/07/22 14:27:37 darrenr Exp $	*/
2 
3 /*
4  * Copyright (C) 2012 by Darren Reed.
5  *
6  * See the IPFILTER.LICENCE file for details on licencing.
7  *
8  * Id: resetlexer.c,v 1.1.1.2 2012/07/22 13:44:42 darrenr Exp $
9  */
10 
11 #include "ipf.h"
12 
13 long	string_start = -1;
14 long	string_end = -1;
15 char	*string_val = NULL;
16 long	pos = 0;
17 
18 
resetlexer()19 void resetlexer()
20 {
21 	string_start = -1;
22 	string_end = -1;
23 	string_val = NULL;
24 	pos = 0;
25 }
26