CTWM
Loading...
Searching...
No Matches
/usr/src/RPM/BUILD/ctwm-4.1.0/parse.h
Go to the documentation of this file.
1/*
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
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 *
14 * Copyright 1992 Claude Lecommandeur.
15 */
16
17#ifndef _CTWM_PARSE_H
18#define _CTWM_PARSE_H
19
20extern unsigned int mods_used;
21extern int ConstrainedMoveTime;
22extern int RaiseDelay;
23extern bool ParseError; /* error parsing the .twmrc file */
24
25/* Needed in the lexer */
26extern int (*twmInputFunc)(void);
27
28bool LoadTwmrc(const char *filename);
29void twmrc_error_prefix(void);
30
31/*
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 */
37int ParseIRJustification(const char *s);
38int ParseTitleJustification(const char *s);
39int ParseAlignement(const char *s);
40void assign_var_savecolor(void);
41
42/*
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 */
47void chk_keytable_order(void);
48
49/*
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
55void twmUnput(int c);
56void TwmOutput(int c);
57#endif /* NON_FLEX_LEX */
58
59
60#endif /* _CTWM_PARSE_H */
static int PlaceX
Definition add_window.c:82
void assign_var_savecolor(void)
Definition parse_be.c:1648
bool ParseError
Definition parse.c:93
void chk_keytable_order(void)
Definition parse_be.c:553
int ParseIRJustification(const char *s)
Definition parse_be.c:1749
int ConstrainedMoveTime
Definition parse.c:92
int ParseAlignement(const char *s)
Definition parse_be.c:1804
unsigned int mods_used
Definition parse_yacc.c:30
int ParseTitleJustification(const char *s)
Definition parse_be.c:1775
int RaiseDelay
Definition parse.c:94
void twmrc_error_prefix(void)
Definition parse.c:296
int(* twmInputFunc)(void)
Definition parse.c:95
bool LoadTwmrc(const char *filename)
Principal entry point from top-level code to parse the config file.
Definition parse.c:133