1 /* Definitions used in X utility programs.
2    Copyright (C) 1993-1995, 1997, 1999 Stanley T. Shebs.
3 
4 Xconq is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2, or (at your option)
7 any later version.  See the file COPYING.  */
8 
9 extern void close_displays(void);
10 extern int write_entire_game_state(char *fname);
11 extern int keyword_code(char *str);
12 extern Image *read_xbm_file(char *filename, ImageFamily *imf,
13 			    readimf_hook hook);
14 extern Image *read_xpm_file(char *filename, ImageFamily *imf,
15 			    readimf_hook hook);
16 extern void parse_xpm_colors(char *name, int *r, int *g, int *b);
17 extern void write_xpm_file(FILE *fp, char *name, Image *img);
18 extern void write_x11_bitmaps(ImageFamily *imf, int mkfiles);
19 extern void write_xbm_file(FILE *fp, char *name, int cols, int rows,
20 			   char *data);
21 extern char *find_imf_name(char *rawname);
22 extern int read_any_file(char *filename, readimf_hook hook);
23 extern void reverse_rawdata(ImageFamily *imf);
24