304.1.2
by Matthew Fuller
Run 'make indent' to reindent the world. |
1 |
/*
|
554.1.6
by Matthew Fuller
Collapse away redundant license texts in most .h files. These are all |
2 |
* .twmrc parsing externs
|
3 |
*
|
|
4 |
*
|
|
5 |
* Copyright 1988 by Evans & Sutherland Computer Corporation,
|
|
6 |
* Salt Lake City, Utah
|
|
7 |
* Portions Copyright 1989 by the Massachusetts Institute of Technology
|
|
8 |
* Cambridge, Massachusetts
|
|
1
by Claude Lecommandeur
CTWM version 1.1 |
9 |
*
|
10 |
* $XConsortium: parse.h,v 1.14 89/12/14 14:51:25 jim Exp $
|
|
11 |
*
|
|
12 |
* 8-Apr-88 Tom LaStrange Initial Version.
|
|
13 |
*
|
|
554.1.6
by Matthew Fuller
Collapse away redundant license texts in most .h files. These are all |
14 |
* Copyright 1992 Claude Lecommandeur.
|
15 |
*/
|
|
1
by Claude Lecommandeur
CTWM version 1.1 |
16 |
|
484
by Matthew Fuller
Consistently rename all the include guards so they match the filename, |
17 |
#ifndef _CTWM_PARSE_H
|
18 |
#define _CTWM_PARSE_H
|
|
384.1.10
by Matthew Fuller
Slight rename on the include guards here, and move the #include's in |
19 |
|
240.1.2
by Rhialto
3 - Selected a number of cleanups from Stefan Monnier |
20 |
extern unsigned int mods_used; |
21 |
extern int ConstrainedMoveTime; |
|
22 |
extern int RaiseDelay; |
|
492.2.97
by Matthew Fuller
bool-ify flags and return values related to config file parsing. |
23 |
extern bool ParseError; /* error parsing the .twmrc file */ |
240.1.2
by Rhialto
3 - Selected a number of cleanups from Stefan Monnier |
24 |
|
384
by Matthew Fuller
Whoops, this is a variable, not a function prototype; gcc 4.8 properly |
25 |
/* Needed in the lexer */
|
26 |
extern int (*twmInputFunc)(void); |
|
27 |
||
639.1.13
by Matthew Fuller
const-ify. |
28 |
bool LoadTwmrc(const char *filename); |
431.1.25
by Matthew Fuller
twmrc_error_prefix() is used widely through the code, not just in the |
29 |
void twmrc_error_prefix(void); |
386.1.1
by Matthew Fuller
Create a NON_FLEX_LEX define to hide non-flex-only bits behind, and |
30 |
|
31 |
/*
|
|
431.1.27
by Matthew Fuller
Break out a parse_be.h for the stuff that should only be |
32 |
* Funcs in parse_be.c but used elsewhere in the codebase; these should
|
33 |
* be looked at, because I think it probably means either they're
|
|
34 |
* misused, misnamed, or the code calling them should be in parse_be
|
|
35 |
* itself anyway.
|
|
36 |
*/
|
|
496.1.23
by Matthew Fuller
constify args to these functions, just for cleanliness. |
37 |
int ParseIRJustification(const char *s); |
38 |
int ParseTitleJustification(const char *s); |
|
39 |
int ParseAlignement(const char *s); |
|
431.1.27
by Matthew Fuller
Break out a parse_be.h for the stuff that should only be |
40 |
void assign_var_savecolor(void); |
41 |
||
42 |
/*
|
|
488
by Matthew Fuller
Add a func to check the order of the entries in our keyword lookup |
43 |
* This is in parse_be.c because it needs to look at keytable, but put
|
44 |
* here because it's only built to be used early in main() as a sanity
|
|
45 |
* test, to hopefully be seen by devs as soon as they mess up.
|
|
46 |
*/
|
|
47 |
void chk_keytable_order(void); |
|
48 |
||
49 |
/*
|
|
386.1.1
by Matthew Fuller
Create a NON_FLEX_LEX define to hide non-flex-only bits behind, and |
50 |
* Historical support for non-flex lex's is presumed no longer necessary.
|
51 |
* Remnants kept for the moment just in case.
|
|
52 |
*/
|
|
53 |
#undef NON_FLEX_LEX
|
|
54 |
#ifdef NON_FLEX_LEX
|
|
382.1.1
by Matthew Fuller
extern'ing function prototypes in shared headers is meaningless. |
55 |
void twmUnput(int c); |
56 |
void TwmOutput(int c); |
|
386.1.1
by Matthew Fuller
Create a NON_FLEX_LEX define to hide non-flex-only bits behind, and |
57 |
#endif /* NON_FLEX_LEX */ |
1
by Claude Lecommandeur
CTWM version 1.1 |
58 |
|
435.1.15
by Matthew Fuller
Add a comment before these #define's. |
59 |
|
484
by Matthew Fuller
Consistently rename all the include guards so they match the filename, |
60 |
#endif /* _CTWM_PARSE_H */ |