Freeciv-3.3: /fast/freeciv/nightly/main/server/ruleset/rssanity.h Source File

Freeciv-3.3

Loading...
Searching...
No Matches
rssanity.h
Go to the documentation of this file.
1/***********************************************************************
2 Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
6 any later version.
7
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12***********************************************************************/
13#ifndef FC__RSSANITY_H
14#define FC__RSSANITY_H
15
16#ifdef __cplusplus
17extern "C" {
18#endif /* __cplusplus */
19
20/* common */
21#include "fc_types.h"
22
23/* server */
24#include "rscompat.h"
25
26bool autoadjust_ruleset_data(void);
27bool autolock_settings(void);
28bool sanity_check_ruleset_data(struct rscompat_info *compat);
29
30bool sanity_check_server_setting_value_in_req(ssetv ssetval);
31
32#ifdef __cplusplus
33}
34#endif /* __cplusplus */
35
36#endif /* FC__RSSANITY_H */
fc_types.h
ssetv
int ssetv
Definition fc_types.h:700
rscompat.h
sanity_check_ruleset_data
bool sanity_check_ruleset_data(struct rscompat_info *compat)
Definition rssanity.c:853
sanity_check_server_setting_value_in_req
bool sanity_check_server_setting_value_in_req(ssetv ssetval)
Definition rssanity.c:143
autolock_settings
bool autolock_settings(void)
Definition rssanity.c:1648
autoadjust_ruleset_data
bool autoadjust_ruleset_data(void)
Definition rssanity.c:1551
compat
static struct compatibility compat[]
Definition savecompat.c:112
rscompat_info
Definition rscompat.h:30