Crossfire Server, Branches 1.12  R18729
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 */
65 
67 
68 #endif /* METASERVER2_H */
struct _MetaServer2_UpdateInfo MetaServer2_UpdateInfo
MetaServer2_UpdateInfo metaserver2_updateinfo
Definition: metaserver.c:228
pthread_mutex_t ms2_info_mutex
Definition: metaserver.c:226