Crossfire Server, Trunk  R20513
Data Structures | Typedefs | Variables
metaserver2.h File Reference

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. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _MetaServer2_UpdateInfo
 Structure containing information sent to the metaserver2. More...
 

Typedefs

typedef struct _MetaServer2_UpdateInfo MetaServer2_UpdateInfo
 Structure containing information sent to the metaserver2. More...
 

Variables

MetaServer2_UpdateInfo metaserver2_updateinfo
 Statistics on players and such sent to the metaserver2. More...
 
pthread_mutex_t ms2_info_mutex
 Mutex to protect access to metaserver2_updateinfo. More...
 

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

Structure containing information sent to the metaserver2.

Variable Documentation

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().

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_updates(), and metaserver_update().