Files
makronix/xsrc/external/mit/ctwm/dist/parse_be.h
T
lotherkandClaude Opus 5.5 c1c0713359 xsrc: import NetBSD xsrc 99aacae30 raw (no .git), its commit in xsrc/BASE
X is the base's again (Konrad, 2026-11-13): the X from pkgsrc in the
makronix set did not start anywhere (no input driver, no keymap, no
"fixed" font; dtlogin "The X-server can not be started on display :0").
Same commit as before the removal in e7bd6d940 (PINS then).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 20:13:37 +00:00

34 lines
1.2 KiB
C

/*
* Parser backend header bits. These are mostly things that wind up
* called from the yacc routines
*/
#ifndef _CTWM_PARSE_BE_H
#define _CTWM_PARSE_BE_H
int parse_keyword(const char *s, int *nump);
bool do_single_keyword(int keyword);
bool do_string_keyword(int keyword, char *s);
bool do_string_string_keyword(int keyword, const char *s1, const char *s2);
bool do_number_keyword(int keyword, int num);
name_list **do_colorlist_keyword(int keyword, int colormode, char *s);
bool do_color_keyword(int keyword, int colormode, char *s);
void do_string_savecolor(int colormode, char *s);
void do_var_savecolor(int key);
void do_squeeze_entry(name_list **list, /* squeeze or dont-squeeze list */
const char *name, /* window name */
SIJust justify, /* left, center, right */
int num, /* signed num */
int denom /* 0 or indicates fraction denom */
);
void proc_ewmh_ignore(void);
void add_ewmh_ignore(char *s);
void proc_mwm_ignore(void);
void add_mwm_ignore(char *s);
void init_layout_override(void);
void add_layout_override_entry(const char *s);
void proc_layout_override(void);
#endif /* _CTWM_PARSE_BE_H */