1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280
|
/* $Header: /home/yav/catty/fkiss/RCS/extern.h,v 1.20 2000/10/17 05:00:17 yav Exp $
* fkiss external functions
* written by yav <yav@bigfoot.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#ifdef PUBLIC_FKISS_C
# define public
#else
# define public extern
#endif
public int change_setpal();
public void move_object_start();
public void move_object_end();
public int move_object2();
public void redraw_cells();
public char *ks_filename();
public int search_cell();
public void disp_info();
public FILE *ks_fopen();
public void set_transparency();
public void poor_system_pixels();
public void set_system_pixels();
public void parse_system_colors();
public void free_system_colors();
public int browse_document();
#undef public
#ifdef PUBLIC_SUB_C
# define public
#else
# define public extern
#endif
public char *ks_malloc();
public char *ks_realloc();
public char *ks_strdup();
public int ks_system2();
public void ks_system();
public char *get_directory();
public char *get_filename();
public int is_suffix();
public void cut_crlf();
public void kiss_exit();
public char *dos_filename();
public char *dos_pathname();
public int strcmp_dos_filename();
public void ks_srand();
public int ks_rand();
public void lstr_init();
public void lstr_ch();
public void lstr_cat();
public void lstr_bs();
#undef public
#ifdef PUBLIC_MESSAGE_C
# define public
#else
# define public extern
#endif
public void msg_init();
public int msg_queued();
#if NeedFunctionPrototypes
# if USE_STDARG
public void msgset(const char *, ...);
public void msg(const char *, ...);
public void debug_printf(const char *, ...);
# else
# if USE_VARARGS
public void msgset();
public void msg();
public void debug_printf();
# else
public void msgset();
public void msg();
public void debug_printf();
# endif
# endif
#else /* NeedFunctionPrototypes */
# ifdef __STDC__
public void msgset(const char *, ...);
public void msg(const char *, ...);
public void debug_printf(const char *, ...);
# else /* __STDC__ */
public void msgset();
public void msg();
public void debug_printf();
# endif /* __STDC__ */
#endif /* NeedFunctionPrototypes */
#undef public
#ifdef PUBLIC_MENU_C
# define public
#else
# define public extern
#endif
#ifdef X_H
public int draw_string();
public void draw_menu_string();
public void change_menu_status();
public int calc_text_size();
public MW *alloc_mw();
public int which_winlist();
public void load_font();
public void expose_menu();
public void create_set_menu();
public void press_menu();
public void enter_menu();
public void leave_menu();
public void menu_setpal_change();
public Window aboutwin;
public void set_menu_window_attributes();
public void change_menu_func();
public void menu_resize();
public char *get_client_info();
public char *get_server_info();
public char *get_visual_info();
public char *get_cell_info();
#endif /* X_H */
#undef public
#ifdef PUBLIC_SELCNF_C
# define public
#else
# define public extern
#endif
public int is_regular_file();
public int select_menu();
public int select_cnf();
#undef public
#ifdef PUBLIC_KISSCNF_C
# define public
#else
# define public extern
#endif
public void init_object_cell();
public int read_config();
#undef public
#ifdef PUBLIC_KISSEVE_C
# define public
# define pubvar(type,name,init) type name = init;
#else
# define public extern
# define pubvar(type,name,init) extern type name;
#endif
public char *parse_string();
public void init_hitck();
public int cnf_event();
public int compile_event();
public int kissevent_initialize();
public int kissevent_handler2();
public int kissevent_handler();
public void kissevent_timer();
public int save_config();
public void init_redraw_area();
public int change_cel_mapping();
public void update_redraw_area();
public int get_sleep_time();
#define MAXSHORT ((short)(((unsigned short)~0)>>1))
/* global variables, set in "fkiss.c", used in "kisseve.c" */
pubvar( int, WARN_ACTION, 256 ); /* warn if more actions per */
pubvar( int, WARN_SOUNDFILE,256 ); /* warn if more soundfiles */
pubvar( int, WARN_TIMER, 256 ); /* warn if more timer channels */
pubvar( int, WARN_EVENT, 256 ); /* warn if more events */
pubvar( int, MAXACTION, 256 ); /* maximum action per event */
pubvar( int, MAXEVENT, 256 ); /* maximum event number */
pubvar( int, MAXSOUNDFILE, 256 ); /* maximum sound file */
pubvar( int, MAXTIMER, 256 ); /* maximum timer channel */
pubvar( int, warncase, 1 ); /* warn if upper case filename */
#undef public
#undef pubvar
#ifdef PUBLIC_COMMENT_C
# define public
#else
# define public extern
#endif
public void expose_comment();
public void unmap_comment();
public void map_comment();
#undef public
#ifdef PUBLIC_BG_C
# define public
#else
# define public extern
#endif
public void setup_signal_handler();
public int bg_shell();
public void bg_exit();
public int bg_play();
public int background();
#undef public
#ifdef PUBLIC_CURSOR_C
# define public
#else
# define public extern
#endif
public void init_cursor();
public void cursor_set();
public void cursor_grip();
public void cursor_hand();
public void cursor_scroll();
#undef public
#ifdef PUBLIC_COLOR_C
# define public
#else
# define public extern
#endif
public int read_colors();
public int alloc_colors();
public int set_private_colorcells();
#undef public
#ifdef PUBLIC_DIR_C
# define public
#else
# define public extern
#endif
public char **dir_ls();
public void dir_free();
#undef public
#ifdef PUBLIC_CODECONV_C
# define public
#else
# define public extern
#endif
public char *coding_name();
public int check_coding();
public void convert_coding();
#undef public
#ifdef PUBLIC_JISCODE_C
# define public
#else
# define public extern
#endif
public int is_sjis_1st();
public int is_sjis_2nd();
public unsigned short ysjis2jis();
public unsigned short yjis2sjis();
#undef public
#ifdef PUBLIC_SOUND_C
# define public
#else
# define public extern
#endif
public char *sound_device;
public int sound_debug;
public int use_esd;
public unsigned char *esd_host;
public int sound_init();
public void sound_end();
public int sound_play();
public int sound_cache();
public long sound_filesize();
#undef public
/* End of file */
|