xref: /freebsd/sbin/ipf/libipf/resetlexer.c (revision 8bab661a3316d8bd9b9fbd11a3b4371b91507bd2)
1 /*	$FreeBSD$	*/
2 
3 /*
4  * Copyright (C) 2012 by Darren Reed.
5  *
6  * See the IPFILTER.LICENCE file for details on licencing.
7  *
8  * $Id$
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 
19 void resetlexer(void)
20 {
21 	string_start = -1;
22 	string_end = -1;
23 	string_val = NULL;
24 	pos = 0;
25 }
26