]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.sbin/kbdcontrol/lex.h
Add two missing eventhandler.h headers
[FreeBSD/FreeBSD.git] / usr.sbin / kbdcontrol / lex.h
1 /*-
2  * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3  *
4  * Copyright (c) 1994-1995 Søren Schmidt
5  * All rights reserved.
6  *
7  * Redistribution and use in source and binary forms, with or without
8  * modification, are permitted provided that the following conditions
9  * are met:
10  * 1. Redistributions of source code must retain the above copyright
11  *    notice, this list of conditions and the following disclaimer,
12  *    in this position and unchanged.
13  * 2. Redistributions in binary form must reproduce the above copyright
14  *    notice, this list of conditions and the following disclaimer in the
15  *    documentation and/or other materials provided with the distribution.
16  * 3. The name of the author may not be used to endorse or promote products
17  *    derived from this software without specific prior written permission
18  *
19  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
20  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
21  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
22  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
23  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
24  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29  *
30  * $FreeBSD$
31  */
32
33 #define TNOP            256
34 #define TLSH            257
35 #define TRSH            258
36 #define TCLK            259
37 #define TNLK            260
38 #define TSLK            261
39 #define TLALT           262
40 #define TLCTR           263
41 #define TNEXT           264
42 #define TRCTR           265
43 #define TRALT           266
44 #define TALK            267
45 #define TASH            268
46 #define TMETA           269
47 #define TRBT            270
48 #define TDBG            271
49 #define TFUNC           272
50 #define TSCRN           273
51 #define TLET            274
52 #define TNUM            275
53 #define TFLAG           276
54 #define TBTAB           277
55 #define TSUSP           278
56 #define TACC            279
57 #define TSPSC           280
58 #define TPREV           281
59 #define TPANIC          282
60 #define TLSHA           283
61 #define TRSHA           284
62 #define TLCTRA          285
63 #define TRCTRA          286
64 #define TLALTA          287
65 #define TRALTA          288
66 #define THALT           289
67 #define TPDWN           290
68 #define TPASTE          291
69
70 extern int number;
71 extern char letter;
72 extern FILE *yyin;
73
74 extern int yylex(void);