Source:SLASH'EM 0.0.7E7F2/proxycb.h

From NetHackWiki
Jump to: navigation, search

Below is the full text to proxycb.h from the source code of SLASH'EM 0.0.7E7F2. To link to a particular line, write [[SLASH'EM 0.0.7E7F2/proxycb.h#line123]], for example.

The latest source code for vanilla NetHack is at Source code.


The NetHack General Public License applies to screenshots, source code and other content from NetHack.

This content was modified from the original NetHack source code distribution (by splitting up NetHack content between wiki pages, and possibly further editing). See the page history for a list of who changed it, and on what dates.

1.    /* $Id: proxycb.h,v 1.16 2003/10/25 18:06:00 j_ali Exp $ */
2.    /* Copyright (c) Slash'EM Development Team 2001-2003 */
3.    /* NetHack may be freely redistributed.  See license for details. */
4.    
5.    #ifndef PROXYCB_H
6.    #define PROXYCB_H
7.    
8.    extern void NDECL(proxy_cb_display_inventory);
9.    extern int FDECL(proxy_cb_dlbh_fopen, (const char *, const char *));
10.   extern char *FDECL(proxy_cb_dlbh_fgets, (char *, int, int));
11.   extern int FDECL(proxy_cb_dlbh_fread, (char *, int, int, int));
12.   extern int FDECL(proxy_cb_dlbh_fwrite, (char *, int, int, int));
13.   extern int FDECL(proxy_cb_dlbh_fclose, (int));
14.   extern char *FDECL(proxy_cb_dlbh_fmd5sum, (const char *));
15.   extern void NDECL(proxy_cb_flush_screen);
16.   extern void NDECL(proxy_cb_doredraw);
17.   extern void FDECL(proxy_cb_interface_mode, (unsigned long));
18.   extern int FDECL(proxy_cb_parse_options, (char *));
19.   extern char *FDECL(proxy_cb_get_option, (char *));
20.   extern struct proxycb_get_player_choices_res
21.   		*NDECL(proxy_cb_get_player_choices);
22.   extern void FDECL(proxy_cb_free_player_choices,
23.   		(struct proxycb_get_player_choices_res *choices));
24.   extern struct proxycb_get_valid_selections_res
25.   		*NDECL(proxy_cb_get_valid_selections);
26.   extern void FDECL(proxy_cb_free_valid_selections,
27.   		(struct proxycb_get_valid_selections_res *vs));
28.   extern void NDECL(proxy_cb_valid_selection_open);
29.   extern int FDECL(proxy_cb_valid_selection_check, (int, int, int, int));
30.   extern void NDECL(proxy_cb_valid_selection_close);
31.   extern void NDECL(proxy_cb_quit_game);
32.   extern void NDECL(proxy_cb_display_score);
33.   extern void NDECL(proxy_cb_doset);
34.   extern struct proxycb_get_extended_commands_res
35.   		*NDECL(proxy_cb_get_extended_commands);
36.   extern void FDECL(proxy_cb_free_extended_commands,
37.   		(struct proxycb_get_extended_commands_res *commands));
38.   extern int FDECL(proxy_cb_map_menu_cmd, (int));
39.   extern int FDECL(proxy_cb_get_standard_winid, (char *));
40.   extern struct proxycb_get_tilesets_res *NDECL(proxy_cb_get_tilesets);
41.   extern void FDECL(proxy_cb_free_tilesets,
42.   		(struct proxycb_get_tilesets_res *tilesets));
43.   extern struct proxycb_get_glyph_mapping_res *NDECL(proxy_cb_get_glyph_mapping);
44.   extern void FDECL(proxy_cb_free_glyph_mapping,
45.   		(struct proxycb_get_glyph_mapping_res *mapping));
46.   extern struct proxycb_get_extensions_res *NDECL(proxy_cb_get_extensions);
47.   extern void FDECL(proxy_cb_free_extensions,
48.   		(struct proxycb_get_extensions_res *extensions));
49.   extern unsigned long *FDECL(proxy_cb_start_async_mode,
50.   		(int, unsigned long *async_callbacks, int *));
51.   
52.   #endif /* PROXYCB_H */