#ifndef _qed_file_h_
#define _qed_file_h_

EXTERN WORD		load				(TEXTP t_ptr, BOOLEAN quiet);
EXTERN WORD 	load_datei		(UBYTE *name, RINGP t, BOOLEAN verbose, BOOLEAN *null_byte);
EXTERN WORD		infoload			(UBYTE *name, LONG *bytes, LONG *lines);

EXTERN WORD		save				(TEXTP t_ptr);
EXTERN WORD		save_datei		(UBYTE *name, RINGP t, BOOLEAN verbose);
EXTERN WORD		save_as			(TEXTP t_ptr, UBYTE *name);
EXTERN BOOLEAN	save_new			(UBYTE *name, FSEL *fsel, UBYTE *text);


EXTERN VOID		set_fsel_path	(CONST UBYTE *path);
EXTERN BOOLEAN	select_file 	(FSEL *fsel, UBYTE *filename, CONST UBYTE *lable);
EXTERN VOID 	select_multi	(VOID);
EXTERN VOID 	select_bin		(VOID);

EXTERN VOID		init_file		(VOID);
EXTERN VOID		term_file		(VOID);

#endif
