Crossfire Server, Trunk  R20513
Data Fields
_LocalMeta2Info Struct Reference

LocalMeta2Info basically holds all the non server metaserver2 information that we read from the metaserver2 file. More...

Collaboration diagram for _LocalMeta2Info:
Collaboration graph

Data Fields

char * archbase
 Different sources for arches, maps. More...
 
char * codebase
 
char * flags
 Short flags to send to metaserver. More...
 
char * hostname
 Hostname of this server. More...
 
char * html_comment
 html comment to send to metaservers. More...
 
char * mapbase
 and server. More...
 
int notification
 If true, do updates to metaservers. More...
 
int portnumber
 Portnumber of this server. More...
 
char * text_comment
 text comment to send to metaservers. More...
 

Detailed Description

LocalMeta2Info basically holds all the non server metaserver2 information that we read from the metaserver2 file.

Could just have individual variables, but doing it as a structure is cleaner I think, and might be more flexible if in the future, we want to pass this information to other functions (like plugin or something)

Definition at line 116 of file metaserver.c.

Field Documentation

char* _LocalMeta2Info::archbase

Different sources for arches, maps.

Definition at line 122 of file metaserver.c.

Referenced by metaserver2_init(), and metaserver2_updates().

char* _LocalMeta2Info::codebase

Definition at line 124 of file metaserver.c.

Referenced by metaserver2_init(), and metaserver2_updates().

char* _LocalMeta2Info::flags

Short flags to send to metaserver.

Definition at line 125 of file metaserver.c.

Referenced by metaserver2_init(), and metaserver2_updates().

char* _LocalMeta2Info::hostname

Hostname of this server.

Definition at line 118 of file metaserver.c.

Referenced by metaserver2_init(), and metaserver2_updates().

char* _LocalMeta2Info::html_comment

html comment to send to metaservers.

Definition at line 120 of file metaserver.c.

Referenced by metaserver2_init(), and metaserver2_updates().

char* _LocalMeta2Info::mapbase

and server.

Definition at line 123 of file metaserver.c.

Referenced by metaserver2_init(), and metaserver2_updates().

int _LocalMeta2Info::notification

If true, do updates to metaservers.

Definition at line 117 of file metaserver.c.

Referenced by metaserver2_init().

int _LocalMeta2Info::portnumber

Portnumber of this server.

Definition at line 119 of file metaserver.c.

Referenced by metaserver2_init(), and metaserver2_updates().

char* _LocalMeta2Info::text_comment

text comment to send to metaservers.

Definition at line 121 of file metaserver.c.

Referenced by metaserver2_init(), and metaserver2_updates().


The documentation for this struct was generated from the following file: