26#ifdef HAVE_NETINET_IN_H
27#include <netinet/in.h>
29#ifdef HAVE_SYS_SOCKET_H
30#include <sys/socket.h>
32#ifdef HAVE_SYS_TYPES_H
38#ifdef HAVE_ARPA_INET_H
76#ifdef FREECIV_META_ENABLED
97 return "development version: beware";
120#ifdef FREECIV_META_ENABLED
154 const char *user_message;
158 if (user_message ==
NULL) {
190 if (
string !=
NULL &&
string[0] !=
'\0') {
208#ifdef FREECIV_META_ENABLED
235 "Setting \"%s\" not found!",
set_name);
338 if (!plr->is_alive) {
342 }
else if (
is_ai(plr)) {
371 }
else if (
is_ai(plr)
389 if (
is_human(plr) && plr->is_alive) {
402 "timeout",
"endturn",
"minplayers",
"maxplayers",
403 "aifill",
"allowtake",
"generator"
493#ifndef FREECIV_META_ENABLED
const char *const our_capability
struct connection * conn_by_user(const char *user_name)
void con_puts(enum rfc_status rfc_status, const char *str)
int fc_thread_start(fc_thread *thread, void(*function)(void *arg), void *arg)
void fc_thread_wait(fc_thread *thread)
static GtkWidget * persistent
#define fc_assert_ret_val_msg(condition, val, message,...)
struct nation_type * nation_of_player(const struct player *pplayer)
const char * nation_plural_for_player(const struct player *pplayer)
#define NO_NATION_SELECTED
void netfile_close_post(struct netfile_post *post)
struct netfile_post * netfile_start_post(void)
bool netfile_send_post(const char *URL, struct netfile_post *post, FILE *reply_fp, struct netfile_write_cb_data *mem_data, const char *addr)
void netfile_add_form_int(struct netfile_post *post, const char *name, const int val)
void netfile_add_form_str(struct netfile_post *post, const char *name, const char *val)
const char * player_name(const struct player *pplayer)
#define players_iterate_end
#define players_iterate(_pplayer)
static bool is_barbarian(const struct player *pplayer)
int normal_player_count(void)
struct setting * setting_by_name(const char *name)
const char * setting_value_name(const struct setting *pset, bool pretty, char *buf, size_t buf_len)
static struct setting settings[]
const char * setting_name(const struct setting *pset)
struct server_arguments srvarg
enum server_states server_state(void)
struct packet_ruleset_control control
struct packet_game_info info
struct civ_game::@31::@35 server
struct civ_game::@31::@35::@38 meta_info
char allow_take[MAX_LEN_ALLOW_TAKE]
enum mapsize_type mapsize
struct civ_map::@42::@44 server
char version[MAX_LEN_NAME]
char metaserver_addr[256]
int fc_snprintf(char *str, size_t n, const char *format,...)
int fc_gethostname(char *buf, size_t len)
#define sz_strlcpy(dest, src)
void timer_clear(struct timer *t)
void timer_destroy(struct timer *t)
void timer_start(struct timer *t)
struct timer * timer_new(enum timer_timetype type, enum timer_use use, const char *name)
double timer_read_seconds(struct timer *t)