forked from Unity-Technologies/qstat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
display_json.h
63 lines (56 loc) · 2.23 KB
/
display_json.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/*
* qstat
* by Steve Jankowski
* http://www.qstat.org
*
* Inspired by QuakePing by Len Norton
*
* JSON output
* Contributed by Steve Teuber <[email protected]>
*
* Copyright 2013 by Steve Teuber
*
* Licensed under the Artistic License, see LICENSE.txt for license terms
*/
#ifndef QSTAT_DISPLAY_JSON_H
#define QSTAT_DISPLAY_JSON_H
#include "qstat.h"
#include "qserver.h"
int json_display;
int json_encoding;
int json_printed;
void json_footer();
void json_header();
void json_protocols();
void json_version();
char *json_escape(char *string);
void json_display_server(struct qserver *server);
void json_display_server_rules(struct qserver *server);
void json_display_bfbc2_player_info(struct qserver *server);
void json_display_bfris_player_info(struct qserver *server);
void json_display_descent3_player_info(struct qserver *server);
void json_display_doom3_player_info(struct qserver *server);
void json_display_eye_player_info(struct qserver *server);
void json_display_farcry_player_info(struct qserver *server);
void json_display_fl_player_info(struct qserver *server);
void json_display_ghostrecon_player_info(struct qserver *server);
void json_display_halflife_player_info(struct qserver *server);
void json_display_player_info_info(struct player *player);
void json_display_player_info(struct qserver *server);
void json_display_q2_player_info(struct qserver *server);
void json_display_q_player_info(struct qserver *server);
void json_display_qw_player_info(struct qserver *server);
void json_display_ravenshield_player_info(struct qserver *server);
void json_display_savage_player_info(struct qserver *server);
void json_display_starmade_player_info(struct qserver *server);
void json_display_tee_player_info(struct qserver *server);
void json_display_tm_player_info(struct qserver *server);
void json_display_tribes2_player_info(struct qserver *server);
void json_display_tribes_player_info(struct qserver *server);
void json_display_ts2_player_info(struct qserver *server);
void json_display_ts3_player_info(struct qserver *server);
void json_display_unreal_player_info(struct qserver *server);
void json_display_ventrilo_player_info(struct qserver *server);
void json_display_wic_player_info(struct qserver *server);
#endif