extern.h revision 282950
1273218Semaste/*
2273218Semaste * Copyright (c) 1980, 1993
3273218Semaste *	The Regents of the University of California.  All rights reserved.
4273218Semaste *
5273218Semaste *
6273218Semaste * Redistribution and use in source and binary forms, with or without
7273218Semaste * modification, are permitted provided that the following conditions
8273218Semaste * are met:
9273218Semaste * 1. Redistributions of source code must retain the above copyright
10273218Semaste *    notice, this list of conditions and the following disclaimer.
11273218Semaste * 2. Redistributions in binary form must reproduce the above copyright
12273218Semaste *    notice, this list of conditions and the following disclaimer in the
13273218Semaste *    documentation and/or other materials provided with the distribution.
14273218Semaste * 4. Neither the name of the University nor the names of its contributors
15273218Semaste *    may be used to endorse or promote products derived from this software
16273218Semaste *    without specific prior written permission.
17273218Semaste *
18273218Semaste * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
19273218Semaste * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20273218Semaste * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21273218Semaste * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
22273218Semaste * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23273218Semaste * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24273218Semaste * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25273218Semaste * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26273218Semaste * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27273218Semaste * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28273218Semaste * SUCH DAMAGE.
29273218Semaste *
30273218Semaste *      @(#)extern.h	8.1 (Berkeley) 6/6/93
31273218Semaste * $FreeBSD: stable/10/usr.bin/vgrind/extern.h 282950 2015-05-15 08:53:52Z bapt $
32273218Semaste */
33273218Semaste
34273385Semasteextern bool     _escaped;             /* if last character was an escape */
35273218Semasteextern char    *s_start;               /* start of the current string */
36273218Semasteextern char    *l_acmbeg;              /* string introducing a comment */
37273385Semasteextern char    *l_acmend;              /* string ending a comment */
38273218Semasteextern char    *l_blkbeg;              /* string beginning of a block */
39273218Semasteextern char    *l_blkend;              /* string ending a block */
40273218Semasteextern char    *l_chrbeg;              /* delimiter for character constant */
41273218Semasteextern char    *l_chrend;              /* delimiter for character constant */
42273218Semasteextern char    *l_combeg;              /* string introducing a comment */
43273218Semasteextern char    *l_comend;              /* string ending a comment */
44273218Semasteextern char     l_escape;              /* character used to escape characters */
45273218Semasteextern char    *l_keywds[];    	       /* keyword table address */
46273385Semasteextern bool     l_onecase;             /* upper and lower case are equivalent */
47273218Semasteextern char    *l_prcbeg;              /* regular expr for procedure begin */
48273218Semasteextern char    *l_strbeg;              /* delimiter for string constant */
49273218Semasteextern char    *l_strend;              /* delimiter for string constant */
50273218Semasteextern bool     l_toplex;              /* procedures only defined at top lex level */
51273218Semasteextern const char *language;           /* the language indicator */
52273218Semaste
53273218Semaste#include <sys/cdefs.h>
54273218Semaste
55273218Semaste__BEGIN_DECLS
56273218Semasteextern int      STRNCMP(char *, char *, int);
57273218Semasteextern char    *convexp(char *);
58273218Semasteextern char    *expmatch(char *, char *, char *);
59273218Semaste__END_DECLS
60273218Semaste
61273218Semaste