1/*
2 * Parser backend header bits.  These are mostly things that wind up
3 * called from the yacc routines
4 */
5#ifndef _CTWM_PARSE_BE_H
6#define _CTWM_PARSE_BE_H
7
8int parse_keyword(const char *s, int *nump);
9
10bool do_single_keyword(int keyword);
11bool do_string_keyword(int keyword, char *s);
12bool do_string_string_keyword(int keyword, const char *s1, const char *s2);
13bool do_number_keyword(int keyword, int num);
14name_list **do_colorlist_keyword(int keyword, int colormode, char *s);
15bool do_color_keyword(int keyword, int colormode, char *s);
16void do_string_savecolor(int colormode, char *s);
17void do_var_savecolor(int key);
18void do_squeeze_entry(name_list **list,  /* squeeze or dont-squeeze list */
19                      const char *name,  /* window name */
20                      SIJust justify,    /* left, center, right */
21                      int num,           /* signed num */
22                      int denom          /* 0 or indicates fraction denom */
23                     );
24void proc_ewmh_ignore(void);
25void add_ewmh_ignore(char *s);
26void proc_mwm_ignore(void);
27void add_mwm_ignore(char *s);
28
29void init_layout_override(void);
30void add_layout_override_entry(const char *s);
31void proc_layout_override(void);
32
33#endif /* _CTWM_PARSE_BE_H */
34