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 */ 61