#ifndef FVWM_READ_H
#define FVWM_READ_H
/**
* Full pathname of file read in progress, or NULL.
**/
extern const char *get_current_read_file(void);
extern const char *get_current_read_dir(void);
/**
* Read and execute each line from stream.
*
* Parameters eventp, tmp_win, context, and Module supply the context
* for executing the commands.
**/
extern void run_command_stream( FILE* f,
XEvent *eventp, FvwmWindow *tmp_win,
unsigned long context, int Module );
/**
* Given a filename, open it and execute the commands therein.
*
* If the filename is not an absolute path, search for it in
* fvwm_userdir (set in main()) or in FVWM_DATADIR. Return TRUE
* if the file was found and executed.
**/
extern int run_command_file( char* filename,
XEvent *eventp, FvwmWindow *tmp_win,
unsigned long context, int Module );
#endif
syntax highlighted by Code2HTML, v. 0.9.1