00001
00002
00003
00004
00005
00006
00007
00008
00014
00015
00016 #define XCQ_PATH_LEN_MAX 1024
00017
00018 extern char *default_library_pathname(void);
00019 extern char *default_images_pathname(char *libpath);
00020 extern char *news_filename(void);
00021 extern char *game_homedir(void);
00022 extern char *game_filename(char *namevar, char* defaultname);
00023 extern FILE *open_library_file(char *filename);
00024 extern FILE *open_scorefile_for_reading(char *name);
00025 extern FILE *open_scorefile_for_writing(char *name);
00026 extern void close_scorefile_for_writing(FILE *fp);
00027 extern void make_pathname(char *path, char *name, char *extn, char *pathbuf);
00028 #ifdef WIN32
00029 extern void extract_dirname(char **dirname, char *pathname);
00030 #endif
00031 extern int remove_file(char *fname);
00032 extern char *error_save_filename(void);
00033 extern void init_signal_handlers(void);
00034 extern int n_seconds_elapsed(int n);
00035 extern int n_ms_elapsed(int n);
00036 extern void record_ms(void);
00037
00038 extern int open_remote_connection(char *methodname, int willhost);
00039 extern void low_send(int rid, char *buf);
00040 extern int low_receive(int *rid, char *buf, int maxchars, int timeout);
00041 extern void close_remote_connection(int rid);
00042