431.1.27
by Matthew Fuller
Break out a parse_be.h for the stuff that should only be |
1 |
/*
|
2 |
* Parser backend header bits. These are mostly things that wind up
|
|
3 |
* called from the yacc routines
|
|
4 |
*/
|
|
484
by Matthew Fuller
Consistently rename all the include guards so they match the filename, |
5 |
#ifndef _CTWM_PARSE_BE_H
|
6 |
#define _CTWM_PARSE_BE_H
|
|
431.1.27
by Matthew Fuller
Break out a parse_be.h for the stuff that should only be |
7 |
|
501.1.8
by Matthew Fuller
Do easy const-ifications. The _string and _string_string funcs wind |
8 |
int parse_keyword(const char *s, int *nump); |
431.1.27
by Matthew Fuller
Break out a parse_be.h for the stuff that should only be |
9 |
|
501.1.6
by Matthew Fuller
bool-ify these parser routines, that are already being boolean with |
10 |
bool do_single_keyword(int keyword); |
11 |
bool do_string_keyword(int keyword, char *s); |
|
501.1.8
by Matthew Fuller
Do easy const-ifications. The _string and _string_string funcs wind |
12 |
bool do_string_string_keyword(int keyword, const char *s1, const char *s2); |
501.1.6
by Matthew Fuller
bool-ify these parser routines, that are already being boolean with |
13 |
bool do_number_keyword(int keyword, int num); |
431.1.27
by Matthew Fuller
Break out a parse_be.h for the stuff that should only be |
14 |
name_list **do_colorlist_keyword(int keyword, int colormode, char *s); |
501.1.6
by Matthew Fuller
bool-ify these parser routines, that are already being boolean with |
15 |
bool do_color_keyword(int keyword, int colormode, char *s); |
501.1.4
by Matthew Fuller
These functions only ever return a meaningless value, and never have |
16 |
void do_string_savecolor(int colormode, char *s); |
17 |
void do_var_savecolor(int key); |
|
501.1.7
by Matthew Fuller
do_squeeze_entry()'s return is never checked, so just make it void. |
18 |
void do_squeeze_entry(name_list **list, /* squeeze or dont-squeeze list */ |
501.1.8
by Matthew Fuller
Do easy const-ifications. The _string and _string_string funcs wind |
19 |
const char *name, /* window name */ |
501.1.7
by Matthew Fuller
do_squeeze_entry()'s return is never checked, so just make it void. |
20 |
SIJust justify, /* left, center, right */ |
21 |
int num, /* signed num */ |
|
22 |
int denom /* 0 or indicates fraction denom */ |
|
23 |
);
|
|
431.1.27
by Matthew Fuller
Break out a parse_be.h for the stuff that should only be |
24 |
void proc_ewmh_ignore(void); |
25 |
void add_ewmh_ignore(char *s); |
|
473.1.6
by Matthew Fuller
Add a config entry to hold bits for ignoring MWM hints. |
26 |
void proc_mwm_ignore(void); |
27 |
void add_mwm_ignore(char *s); |
|
431.1.27
by Matthew Fuller
Break out a parse_be.h for the stuff that should only be |
28 |
|
484
by Matthew Fuller
Consistently rename all the include guards so they match the filename, |
29 |
#endif /* _CTWM_PARSE_BE_H */ |