Freeciv-3.3
Loading...
Searching...
No Matches
server
ruleset
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
17
extern
"C"
{
18
#endif
/* __cplusplus */
19
20
/* common */
21
#include "
fc_types.h
"
22
23
/* server */
24
#include "
rscompat.h
"
25
26
bool
autoadjust_ruleset_data
(
void
);
27
bool
autolock_settings
(
void
);
28
bool
sanity_check_ruleset_data
(
struct
rscompat_info
*
compat
);
29
30
bool
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:525
rscompat.h
sanity_check_ruleset_data
bool sanity_check_ruleset_data(struct rscompat_info *compat)
Definition
rssanity.c:903
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:1713
autoadjust_ruleset_data
bool autoadjust_ruleset_data(void)
Definition
rssanity.c:1616
compat
static struct compatibility compat[]
Definition
savecompat.c:112
rscompat_info
Definition
rscompat.h:30
Generated on Sun Dec 22 2024 22:30:37 for Freeciv-3.3 by
1.9.8