All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
config.c File Reference
#include <stdbool.h>
#include <stdint.h>
#include <errno.h>
#include "iniparser.h"
#include "config.h"
#include "util.h"
#include "console.h"
#include "aion.h"
#include "version.h"

Functions

static bool cfg_ini_path (char *inifile, size_t inifile_sz)
 
static void cfg_set_dirty (void)
 
bool cfg_init (void)
 
bool cfg_load (void)
 
bool cfg_store (void)
 
void cfg_periodic (void)
 
bool cfg_set_string (char *section, char *name, char *value)
 
bool cfg_set_int (char *section, char *name, int value)
 
bool cfg_get_string (char *section, char *name, char *value, size_t valuesz)
 

Variables

static dictionary * cfg_db = NULL
 
static uint64_t cfg_timestamp = 0
 

Detailed Description

Configuration related functions

Author
Mitja Horvat pinkf.nosp@m.luid.nosp@m.@gmai.nosp@m.l.co.nosp@m.m