10bbfda8aSnia/* 20bbfda8aSnia * Parser backend header bits. These are mostly things that wind up 30bbfda8aSnia * called from the yacc routines 40bbfda8aSnia */ 50bbfda8aSnia#ifndef _CTWM_PARSE_BE_H 60bbfda8aSnia#define _CTWM_PARSE_BE_H 70bbfda8aSnia 80bbfda8aSniaint parse_keyword(const char *s, int *nump); 90bbfda8aSnia 100bbfda8aSniabool do_single_keyword(int keyword); 110bbfda8aSniabool do_string_keyword(int keyword, char *s); 120bbfda8aSniabool do_string_string_keyword(int keyword, const char *s1, const char *s2); 130bbfda8aSniabool do_number_keyword(int keyword, int num); 140bbfda8aSnianame_list **do_colorlist_keyword(int keyword, int colormode, char *s); 150bbfda8aSniabool do_color_keyword(int keyword, int colormode, char *s); 160bbfda8aSniavoid do_string_savecolor(int colormode, char *s); 170bbfda8aSniavoid do_var_savecolor(int key); 180bbfda8aSniavoid do_squeeze_entry(name_list **list, /* squeeze or dont-squeeze list */ 190bbfda8aSnia const char *name, /* window name */ 200bbfda8aSnia SIJust justify, /* left, center, right */ 210bbfda8aSnia int num, /* signed num */ 220bbfda8aSnia int denom /* 0 or indicates fraction denom */ 230bbfda8aSnia ); 240bbfda8aSniavoid proc_ewmh_ignore(void); 250bbfda8aSniavoid add_ewmh_ignore(char *s); 260bbfda8aSniavoid proc_mwm_ignore(void); 270bbfda8aSniavoid add_mwm_ignore(char *s); 280bbfda8aSnia 29b18c2d1eSniavoid init_layout_override(void); 30b18c2d1eSniavoid add_layout_override_entry(const char *s); 31b18c2d1eSniavoid proc_layout_override(void); 32b18c2d1eSnia 330bbfda8aSnia#endif /* _CTWM_PARSE_BE_H */ 34