Freeciv21
Develop your civilization from humble roots to a global empire
fcdb.h File Reference
#include "shared.h"
+ Include dependency graph for fcdb.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool fcdb_init (const char *conf_file)
 Initialize freeciv database system. More...
 
const char * fcdb_option_get (const char *type)
 Return the selected fcdb config value. More...
 
void fcdb_free ()
 Free resources allocated by fcdb system. More...
 

Function Documentation

◆ fcdb_free()

void fcdb_free ( )

Free resources allocated by fcdb system.

Definition at line 145 of file fcdb.cpp.

Referenced by server_quit().

◆ fcdb_init()

bool fcdb_init ( const char *  conf_file)

Initialize freeciv database system.

Definition at line 117 of file fcdb.cpp.

◆ fcdb_option_get()

const char* fcdb_option_get ( const char *  type)

Return the selected fcdb config value.

Definition at line 133 of file fcdb.cpp.

Referenced by script_fcdb_register_functions().