Freeciv-3.3
Loading...
Searching...
No Matches
tools
ruleutil
rulesave.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__RULESAVE_H
14
#define FC__RULESAVE_H
15
16
#ifdef __cplusplus
17
extern
"C"
{
18
#endif
/* __cplusplus */
19
20
struct
rule_data
21
{
22
char
*
nationlist
;
23
char
*
nationlist_saved
;
24
};
25
26
bool
save_ruleset
(
const
char
*path,
const
char
*
name
,
struct
rule_data
*data);
27
28
#ifdef __cplusplus
29
}
30
#endif
/* __cplusplus */
31
32
#endif
/* FC__RULESAVE_H */
name
const char * name
Definition
inputfile.c:127
save_ruleset
bool save_ruleset(const char *path, const char *name, struct rule_data *data)
Definition
rulesave.c:3397
rule_data
Definition
rulesave.h:21
rule_data::nationlist
char * nationlist
Definition
rulesave.h:22
rule_data::nationlist_saved
char * nationlist_saved
Definition
rulesave.h:23
Generated on Sun Dec 22 2024 22:30:38 for Freeciv-3.3 by
1.9.8