1 /**********************************************************************
2 Freeciv - Copyright (C) 2003 - The Freeciv Project
3 This program is free software; you can redistribute it and / or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12 ***********************************************************************/
13 #ifndef FC__CONNECTDLG_COMMON_H
14 #define FC__CONNECTDLG_COMMON_H
18 #endif /* __cplusplus */
22 #if defined(HAVE_WORKING_FORK) || defined(WIN32_NATIVE)
23 # define CLIENT_CAN_LAUNCH_SERVER
26 bool client_start_server(void);
27 void client_kill_server(bool force
);
29 bool is_server_running(void);
30 bool can_client_access_hack(void);
32 void send_client_wants_hack(const char *filename
);
33 void send_save_game(const char *filename
);
35 void set_ruleset(const char *ruleset
);
39 #endif /* __cplusplus */
41 #endif /* FC__CONNECTDLG_COMMON_H */