~ctwm/ctwm/trunk

435.1.1 by Matthew Fuller
Pull the static code out of gram.y and into a seaprate parse_yacc.c.
1
/*
2
 * Header for the various parse_yacc/gram.y backend funcs
3
 */
484 by Matthew Fuller
Consistently rename all the include guards so they match the filename,
4
#ifndef _CTWM_PARSE_YACC_H
5
#define _CTWM_PARSE_YACC_H
435.1.1 by Matthew Fuller
Pull the static code out of gram.y and into a seaprate parse_yacc.c.
6
7
void yyerror(char *s);
8
9
void InitGramVariables(void);
10
void RemoveDQuote(char *str);
11
12
MenuRoot *GetRoot(char *name, char *fore, char *back);
13
522.1.3 by Matthew Fuller
const-ify and comment some of these checker funcs for parsing.
14
bool CheckWarpScreenArg(const char *s);
15
bool CheckWarpRingArg(const char *s);
16
bool CheckColormapArg(const char *s);
435.1.1 by Matthew Fuller
Pull the static code out of gram.y and into a seaprate parse_yacc.c.
17
void GotButton(int butt, int func);
18
void GotKey(char *key, int func);
488.1.130 by Matthew Fuller
GotTitleButton's arg is only literal, and passed through to a
19
void GotTitleButton(char *bitmapname, int func, bool rightside);
435.1.1 by Matthew Fuller
Pull the static code out of gram.y and into a seaprate parse_yacc.c.
20
21
22
extern char *Action;
23
extern char *Name;
24
extern MenuRoot *root, *pull;
25
26
extern int cont;
27
extern int mods;
28
29
435.1.5 by Matthew Fuller
Turn the defstring var into a #define, and switch to using the #define
30
#define DEFSTRING "default"
31
32
484 by Matthew Fuller
Consistently rename all the include guards so they match the filename,
33
#endif /* _CTWM_PARSE_YACC_H */