Freeciv-3.1: /fast/freeciv/nightly/S3_1/client/connectdlg_common.h Source File

Freeciv-3.1

Loading...
Searching...
No Matches
connectdlg_common.h
Go to the documentation of this file.
1/**********************************************************************
2Freeciv - 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.
7
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
15
16#ifdef __cplusplus
17extern "C" {
18#endif /* __cplusplus */
19
20/* utility */
21#include "support.h" /* bool */
22
23bool client_start_server(void);
24void client_kill_server(bool force);
25
26bool is_server_running(void);
27bool can_client_access_hack(void);
28
29void send_client_wants_hack(const char *filename);
30void send_save_game(const char *filename);
31
32void set_ruleset(const char *ruleset);
33
34#ifdef __cplusplus
35}
36#endif /* __cplusplus */
37
38#endif /* FC__CONNECTDLG_COMMON_H */
ruleset
static char * ruleset
Definition civmanual.c:202
send_client_wants_hack
void send_client_wants_hack(const char *filename)
Definition connectdlg_common.c:661
send_save_game
void send_save_game(const char *filename)
Definition connectdlg_common.c:733
set_ruleset
void set_ruleset(const char *ruleset)
Definition connectdlg_common.c:774
is_server_running
bool is_server_running(void)
Definition connectdlg_common.c:124
client_kill_server
void client_kill_server(bool force)
Definition connectdlg_common.c:153
client_start_server
bool client_start_server(void)
Definition connectdlg_common.c:224
can_client_access_hack
bool can_client_access_hack(void)
Definition connectdlg_common.c:141
support.h