19#ifdef FREECIV_HAVE_XML_REGISTRY
20#include <libxml/parser.h>
32#ifdef FREECIV_HAVE_XML_REGISTRY
42#ifdef FREECIV_HAVE_XML_REGISTRY
53#ifdef FREECIV_HAVE_XML_REGISTRY
56 if (
fc_stat(filename, &buf) == 0) {
59 sec_doc = xmlReadFile(filename, NULL, XML_PARSE_NOERROR);
60 if (sec_doc != NULL) {
61 return xmlfile_load(sec_doc, filename);
struct section_file * secfile_load(const char *filename, bool allow_duplicates)
void registry_module_init(void)
void registry_module_close(void)
struct section_file * secfile_load_section(const char *filename, const char *section, bool allow_duplicates)
int fc_stat(const char *filename, struct stat *buf)