1a8fdb4bcSmrg/*
2a8fdb4bcSmrgCopyright (c) 2001 by Juliusz Chroboczek
3a8fdb4bcSmrg
4a8fdb4bcSmrgPermission is hereby granted, free of charge, to any person obtaining a copy
5a8fdb4bcSmrgof this software and associated documentation files (the "Software"), to deal
6a8fdb4bcSmrgin the Software without restriction, including without limitation the rights
7a8fdb4bcSmrgto use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8a8fdb4bcSmrgcopies of the Software, and to permit persons to whom the Software is
9a8fdb4bcSmrgfurnished to do so, subject to the following conditions:
10a8fdb4bcSmrg
11a8fdb4bcSmrgThe above copyright notice and this permission notice shall be included in
12a8fdb4bcSmrgall copies or substantial portions of the Software.
13a8fdb4bcSmrg
14a8fdb4bcSmrgTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15a8fdb4bcSmrgIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16a8fdb4bcSmrgFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
17a8fdb4bcSmrgAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18a8fdb4bcSmrgLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19a8fdb4bcSmrgOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20a8fdb4bcSmrgTHE SOFTWARE.
21a8fdb4bcSmrg*/
22a8fdb4bcSmrg
2377683534Smrg#ifndef LUIT_PARSER_H
2477683534Smrg#define LUIT_PARSER_H 1
2577683534Smrg
26a8fdb4bcSmrg#ifndef LOCALE_ALIAS_FILE
27a8fdb4bcSmrg#define LOCALE_ALIAS_FILE "/usr/X11R6/lib/X11/locale/locale.alias"
28a8fdb4bcSmrg#endif
29a8fdb4bcSmrg
30a8fdb4bcSmrg#define MAX_KEYWORD_LENGTH 1024
31a8fdb4bcSmrg
32a8fdb4bcSmrg#define TOK_ERROR (-2)
33a8fdb4bcSmrg#define TOK_EOF (-1)
34a8fdb4bcSmrg#define TOK_EOL 0
35a8fdb4bcSmrg#define TOK_EQUALS 1
36a8fdb4bcSmrg#define TOK_KEYWORD 2
37a8fdb4bcSmrg
38a8fdb4bcSmrgchar *resolveLocale(const char *locale);
3977683534Smrg
4077683534Smrg#endif /* LUIT_PARSER_H */
41