Freeciv-3.2
|
Go to the source code of this file.
Enumerations | |
enum | meta_flag { META_INFO , META_REFRESH , META_GOODBYE } |
Functions | |
const char * | default_meta_patches_string (void) |
const char * | default_meta_message_string (void) |
const char * | get_meta_patches_string (void) |
const char * | get_meta_message_string (void) |
const char * | get_user_meta_message_string (void) |
void | maybe_automatic_meta_message (const char *automatic) |
void | set_meta_patches_string (const char *string) |
void | set_meta_message_string (const char *string) |
void | set_user_meta_message_string (const char *string) |
char * | meta_addr_port (void) |
void | server_close_meta (void) |
bool | server_open_meta (bool persistent) |
bool | is_metaserver_open (void) |
bool | send_server_info_to_metaserver (enum meta_flag flag) |
#define DEFAULT_META_SERVER_ADDR FREECIV_META_URL |
Return static string with default info line to send to metaserver.
Definition at line 91 of file meta.c.
Referenced by establish_new_connection(), server_open_meta(), set_user_meta_message_string(), srv_prepare(), and write_init_script().
The default metaserver patches for this server
Definition at line 83 of file meta.c.
Referenced by server_open_meta(), sg_load_game(), sg_load_game(), and write_init_script().
The metaserver message
Definition at line 115 of file meta.c.
Referenced by send_lanserver_response(), and write_init_script().
The metaserver patches
Definition at line 107 of file meta.c.
Referenced by sg_save_game(), and write_init_script().
The metaserver message set by user
Definition at line 137 of file meta.c.
Referenced by maybe_automatic_meta_message().
Are we sending info to the metaserver?
Definition at line 483 of file meta.c.
Referenced by metaconnection_command(), metamessage_action(), metamessage_command(), and metapatches_command().
Update meta message. Set it to user meta message, if it is available. Otherwise use provided message. It is ok to call this with NULL message. Then it only replaces current meta message with user meta message if available.
Definition at line 152 of file meta.c.
Referenced by establish_new_connection(), and srv_prepare().
Return string describing both metaserver name and port.
Definition at line 203 of file meta.c.
Referenced by close_metaserver_connection(), metaserver_command(), open_metaserver_connection(), sg_save_game(), srv_prepare(), and write_init_script().
Control when we send info to the metaserver.
Definition at line 491 of file meta.c.
Referenced by close_connections_and_socket(), close_metaserver_connection(), create_command_newcomer(), create_command_pregame(), establish_new_connection(), generate_players(), metamessage_action(), metamessage_command(), metapatches_command(), open_metaserver_connection(), server_sniff_all_input(), set_command(), srv_prepare(), srv_ready(), srv_running(), and srv_scores().
Stop sending updates to metaserver.
Definition at line 455 of file meta.c.
Referenced by close_connections_and_socket(), and close_metaserver_connection().
Lookup the correct address for the metaserver.
Definition at line 464 of file meta.c.
Referenced by open_metaserver_connection(), and srv_prepare().
Set the metaserver message string.
Definition at line 180 of file meta.c.
Referenced by maybe_automatic_meta_message(), server_open_meta(), server_sniff_all_input(), and set_user_meta_message_string().
Set the metaserver patches string.
Definition at line 172 of file meta.c.
Referenced by metapatches_command(), server_open_meta(), sg_load_game(), and sg_load_game().
Set user defined metaserver message string.
Definition at line 188 of file meta.c.
Referenced by metamessage_action(), and metamessage_command().