Crossfire Server, Trunk  R21120
metaserver2.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _MetaServer2_UpdateInfo


typedef struct _MetaServer2_UpdateInfo MetaServer2_UpdateInfo


MetaServer2_UpdateInfo metaserver2_updateinfo
pthread_mutex_t ms2_info_mutex

Detailed Description

This file contains metaserver2 information - the metaserver2 implementation requires that a separate thread be used for updates, so a structure to get updated data to the thread is needed.

Definition in file metaserver2.h.

Typedef Documentation

◆ MetaServer2_UpdateInfo

Structure containing information sent to the metaserver2

Variable Documentation

◆ metaserver2_updateinfo

MetaServer2_UpdateInfo metaserver2_updateinfo

Statistics on players and such sent to the metaserver2.

Definition at line 135 of file metaserver.c.

Referenced by metaserver_update().

◆ ms2_info_mutex

pthread_mutex_t ms2_info_mutex

Mutex to protect access to metaserver2_updateinfo.

Definition at line 132 of file metaserver.c.

Referenced by metaserver2_init(), metaserver2_writer(), and metaserver_update().