CTWM
Loading...
Searching...
No Matches
Functions | Variables
/usr/src/RPM/BUILD/ctwm-4.1.0/parse.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool LoadTwmrc (const char *filename)
 Principal entry point from top-level code to parse the config file.
 
void twmrc_error_prefix (void)
 
int ParseIRJustification (const char *s)
 
int ParseTitleJustification (const char *s)
 
int ParseAlignement (const char *s)
 
void assign_var_savecolor (void)
 
void chk_keytable_order (void)
 

Variables

unsigned int mods_used
 
int ConstrainedMoveTime
 
int RaiseDelay
 
bool ParseError
 
int(* twmInputFunc )(void)
 

Function Documentation

◆ assign_var_savecolor()

void assign_var_savecolor ( void )

◆ chk_keytable_order()

void chk_keytable_order ( void )

Definition at line 553 of file parse_be.c.

References keytable, numkeywords, PlaceX, and ProgramName.

Referenced by ctwm_main().

◆ LoadTwmrc()

bool LoadTwmrc ( const char * filename)

Principal entry point from top-level code to parse the config file.

This tries the various permutations of config files we could load. For most possible names, we try loading $NAME.$SCREENNUM before trying $NAME. If a -f filename is given on the command line, it's passed in here, and the normal ~/.[c]twmrc* attempts are skipped if it's not found.

Parameters
filenameA filename given in the -f command-line argument (or NULL)
Returns
true/false for whether a valid config was parsed out from somewhere.

Definition at line 133 of file parse.c.

References defTwmrc, Home, ParseStringList(), ParseTwmrc(), PlaceX, ProgramName, Scr, and TRY.

Referenced by ctwm_main().

◆ ParseAlignement()

int ParseAlignement ( const char * s)

Definition at line 1804 of file parse_be.c.

References CHK, DEFSTRING, and PlaceX.

Referenced by AddIconRegion(), and do_string_keyword().

◆ ParseIRJustification()

int ParseIRJustification ( const char * s)

Definition at line 1749 of file parse_be.c.

References CHK, DEFSTRING, and PlaceX.

Referenced by AddIconRegion(), and do_string_keyword().

◆ ParseTitleJustification()

int ParseTitleJustification ( const char * s)

Definition at line 1775 of file parse_be.c.

References CHK, DEFSTRING, and PlaceX.

Referenced by AddIconRegion(), and do_string_keyword().

◆ twmrc_error_prefix()

void twmrc_error_prefix ( void )

Variable Documentation

◆ ConstrainedMoveTime

int ConstrainedMoveTime
extern

Definition at line 92 of file parse.c.

Referenced by do_number_keyword(), f_raiseorsqueeze_impl(), and movewindow().

◆ mods_used

unsigned int mods_used
extern

Definition at line 30 of file parse_yacc.c.

Referenced by GotButton(), GotKey(), HandleButtonPress(), and HandleKeyPress().

◆ ParseError

bool ParseError
extern

◆ RaiseDelay

int RaiseDelay
extern

Definition at line 94 of file parse.c.

Referenced by do_number_keyword(), and HandleEnterNotify().

◆ twmInputFunc

int(* twmInputFunc) (void) ( void )
extern

Definition at line 95 of file parse.c.

Referenced by doparse().