Clarify character encoding arrangements, and stop claiming in various
[freeciv.git] / server / ggzserver.h
blob4dddaa5d7184f98439098e994f604fc8a45ede16
1 /**********************************************************************
2 Freeciv - Copyright (C) 2005 - Freeciv Development Team
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__GGZSERVER_H
14 #define FC__GGZSERVER_H
16 #ifdef GGZ_SERVER
18 #include "shared.h"
20 #include "player.h"
22 extern bool with_ggz;
24 void ggz_initialize(void);
25 void input_from_ggz(int socket);
26 int get_ggz_socket(void);
28 void ggz_report_victor(const struct player *winner);
29 void ggz_report_victory(void);
31 void ggz_game_saved(const char *filename);
33 #else /* GGZ_SERVER */
35 # define with_ggz FALSE
36 # define ggz_initialize() (void)0
37 static inline void ggz_report_victor(struct player *pplayer) {}
38 # define ggz_report_victory() (void)0
39 # define ggz_game_saved(filename) (void)0
41 #endif /* GGZ_SERVER */
43 #endif /* FC__GGZSERVER_H */