Freeciv-3.2: /fast/freeciv/nightly/S3_2/utility/registry.c File Reference

Freeciv-3.2

Loading...
Searching...
No Matches
Functions
registry.c File Reference
`#include "registry_xml.h"`
`#include "registry.h"`

Go to the source code of this file.

## Functions

void | registry_module_init (void)
void | registry_module_close (void)
struct section_file * | secfile_load (const char *filename, bool allow_duplicates)

## Function Documentation

## ◆ registry_module_close()

void registry_module_close | ( | void |  | ) |

Closes registry module

Definition at line 40 of file registry.c.

Referenced by client_exit(), fcmp_deinit(), main(), and server_quit().

## ◆ registry_module_init()

void registry_module_init | ( | void |  | ) |

Initialize registry module

Definition at line 30 of file registry.c.

Referenced by client_main(), fcmp_init(), main(), and srv_init().

## ◆ secfile_load()

struct section_file * secfile_load | ( | const char * | filename,
|  | bool | allow_duplicates
| ) |  |

Create a section file from a file. Returns NULL on error.

Definition at line 50 of file registry.c.

Referenced by audio_real_init(), boot_help_texts(), cache_rulesets(), comments_load(), ensure_big_sprite(), handle_ruleset_select(), handle_single_want_hack_req(), load_command(), load_install_info_list(), musicspec_load(), openload_luadata_file(), openload_ruleset_file(), ruleset_cache_listcmd_cb(), scan_specfile(), scan_specfile(), sg_load_savefile(), theme_ensure_big_sprite(), theme_read_toplevel(), and tileset_read_toplevel().