/* fv is a binary file editor written by Chris Hooper (cdh@mtu.edu)
 *      on 6-2-91 and has gone through many revisions since then.
 *      Much inspiration was given by Bill Moore, the first real user!
 *   Owner:  CHRISTOPHER D HOOPER
 *
 *   fv source Copyright (c) 1992 - 1998  Chris Hooper
 *
 *   Modification and redistribution is strictly prohibited.
 *   Sale of this software above media cost is prohibited.
 *
 *   Except for above two restrictions, this software may be used for
 *       any purpose, commercial and private.
 *
 *   Disclaimer:  This product is fit for no use, foreign or domestic.
 *                Use implies knowledge you intend to destroy something.
 */

#define xaddch_filt(ch) xaddch(main_window, ascii[ch])

#define ON      1
#define OFF     0

void	init();
void	de_init();
void	show_addr();
void	init_ascii();
void	help_me();
void	help_me2();
void	help_me_prompt();
void	update_cursor();
void	status_range();
void	status_filename();
unsigned long swap32();
void	assign_dummy();
void	assign_curses();
int	select_file();

extern WINDOW *main_window;
extern WINDOW *status_window;
extern WINDOW *help_window;

extern int (*xaddstr)();
extern int (*xmove)();
extern int (*xdelwin)();
extern int (*xrefresh)();
extern int (*xtouchwin)();
extern int (*xstandout)();
extern int (*xstandend)();
extern int (*xclrtoeol)();
extern int (*xclrtobot)();
extern int (*xclear)();
extern int (*xaddch)();
extern int (*xgetch)();
extern WINDOW *(*xnewwin)();

#ifdef COLOR_CURSES
#	ifdef AMIGA
#		define NO_COLOR   0
#		define WORD_COLOR 2
#		define CHAR_COLOR 3
#		define ADDR_COLOR 4
#		define STAT_COLOR 5
#		define CRSR_COLOR 7
#	else
#		define NO_COLOR   0
#		define WORD_COLOR 2
#		define CHAR_COLOR 3
#		define ADDR_COLOR 4
#		define STAT_COLOR 5
#		define CRSR_COLOR 7
#	endif
#endif
