Crossfire Server, Branches 1.12
R18729
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
metaserver2.h
Go to the documentation of this file.
1
/*
2
* static char *rcsid_metaserver2_h =
3
* "$Id: map.h 6761 2007-07-09 06:20:18Z mwedel $";
4
*/
5
6
/*
7
CrossFire, A Multiplayer game for X-windows
8
9
Copyright (C) 2007 Mark Wedel & Crossfire Development Team
10
11
This program is free software; you can redistribute it and/or modify
12
it under the terms of the GNU General Public License as published by
13
the Free Software Foundation; either version 2 of the License, or
14
(at your option) any later version.
15
16
This program is distributed in the hope that it will be useful,
17
but WITHOUT ANY WARRANTY; without even the implied warranty of
18
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
GNU General Public License for more details.
20
21
You should have received a copy of the GNU General Public License
22
along with this program; if not, write to the Free Software
23
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24
25
The authors can be reached via e-mail at crossfire-devel@real-time.com
26
*/
27
36
#ifndef METASERVER2_H
37
#define METASERVER2_H
38
57
extern
pthread_mutex_t
ms2_info_mutex
;
58
59
typedef
struct
_MetaServer2_UpdateInfo
{
60
int
num_players
;
/* Number of players */
61
int
in_bytes
;
/* Number of bytes received */
62
int
out_bytes
;
/* Number of bytes sent */
63
time_t
uptime
;
/* How long server has been up */
64
}
MetaServer2_UpdateInfo
;
65
66
extern
MetaServer2_UpdateInfo
metaserver2_updateinfo
;
67
68
#endif
/* METASERVER2_H */
MetaServer2_UpdateInfo
struct _MetaServer2_UpdateInfo MetaServer2_UpdateInfo
_MetaServer2_UpdateInfo::out_bytes
int out_bytes
Definition:
metaserver2.h:62
_MetaServer2_UpdateInfo::num_players
int num_players
Definition:
metaserver2.h:60
_MetaServer2_UpdateInfo::uptime
time_t uptime
Definition:
metaserver2.h:63
metaserver2_updateinfo
MetaServer2_UpdateInfo metaserver2_updateinfo
Definition:
metaserver.c:228
_MetaServer2_UpdateInfo::in_bytes
int in_bytes
Definition:
metaserver2.h:61
_MetaServer2_UpdateInfo
Definition:
metaserver2.h:59
ms2_info_mutex
pthread_mutex_t ms2_info_mutex
Definition:
metaserver.c:226
crossfire-code
server
branches
1.12
include
metaserver2.h
Generated on Sun Nov 18 2018 02:40:29 for Crossfire Server, Branches 1.12 by
1.8.6