Freeciv21
Develop your civilization from humble roots to a global empire
fcdb.h
Go to the documentation of this file.
1 /***********************************************************************
2 _ ._ Copyright (c) 1996-2021 Freeciv21 and Freeciv contributors.
3  \ | This file is part of Freeciv21. Freeciv21 is free software: you
4  \_| can redistribute it and/or modify it under the terms of the
5  .' '. GNU General Public License as published by the Free
6  :O O: Software Foundation, either version 3 of the License,
7  '/ \' or (at your option) any later version. You should have
8  :X: received a copy of the GNU General Public License along with
9  :X: Freeciv21. If not, see https://www.gnu.org/licenses/.
10 ***********************************************************************/
11 #pragma once
12 
13 #include "shared.h"
14 
15 bool fcdb_init(const char *conf_file);
16 const char *fcdb_option_get(const char *type);
17 void fcdb_free();
bool fcdb_init(const char *conf_file)
Initialize freeciv database system.
Definition: fcdb.cpp:117
void fcdb_free()
Free resources allocated by fcdb system.
Definition: fcdb.cpp:145
const char * fcdb_option_get(const char *type)
Return the selected fcdb config value.
Definition: fcdb.cpp:133