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)
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__REGISTRY_H
14 #define FC__REGISTRY_H
18 #endif /* __cplusplus */
24 void registry_module_init(void);
25 void registry_module_close(void);
27 struct section_file
*secfile_new(bool allow_duplicates
);
28 void secfile_destroy(struct section_file
*secfile
);
29 struct section_file
*secfile_load(const char *filename
,
30 bool allow_duplicates
);
32 void secfile_allow_digital_boolean(struct section_file
*secfile
,
33 bool allow_digital_boolean
);
35 const char *secfile_error(void);
36 const char *section_name(const struct section
*psection
);
38 #include "registry_ini.h"
42 #endif /* __cplusplus */
44 #endif /* FC__REGISTRY_H */