Stop sharing requirement_unit_state_ereq().
[freeciv.git] / client / connectdlg_common.h
blobcc70735b2ef8977c6692b1da32149fc2027b17fe
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)
6 any later version.
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
16 #ifdef __cplusplus
17 extern "C" {
18 #endif /* __cplusplus */
20 /* utility */
21 #include "support.h" /* bool */
23 bool client_start_server(void);
24 void client_kill_server(bool force);
26 bool is_server_running(void);
27 bool can_client_access_hack(void);
29 void send_client_wants_hack(const char *filename);
30 void send_save_game(const char *filename);
32 void set_ruleset(const char *ruleset);
34 #ifdef __cplusplus
36 #endif /* __cplusplus */
38 #endif /* FC__CONNECTDLG_COMMON_H */