DaZeus  2.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
config.cpp File Reference
#include <iostream>
#include <dotconf.h>
#include <cassert>
#include "./config.h"
#include "utils.h"
#include "server.h"
#include <limits>
Include dependency graph for config.cpp:

Go to the source code of this file.

Classes

struct  dazeus::ConfigReaderState
 

Enumerations

enum  section {
  S_ROOT, S_SOCKET, S_DATABASE, S_NETWORK,
  S_SERVER, S_PLUGIN
}
 

Functions

static DOTCONF_CB (sect_open)
 
static DOTCONF_CB (sect_close)
 
static DOTCONF_CB (option)
 
 FUNC_ERRORHANDLER (error_handler)
 
static bool bool_is_true (std::string s)
 

Variables

static const configoption_t options []
 

Enumeration Type Documentation

enum section

Copyright (c) Sjors Gielen, 2013 See LICENSE for license.

Enumerator
S_ROOT 
S_SOCKET 
S_DATABASE 
S_NETWORK 
S_SERVER 
S_PLUGIN 

Definition at line 15 of file config.cpp.

Function Documentation

static bool bool_is_true ( std::string  s)
static

Definition at line 119 of file config.cpp.

static DOTCONF_CB ( sect_open  )
static

Definition at line 183 of file config.cpp.

static DOTCONF_CB ( sect_close  )
static

Definition at line 240 of file config.cpp.

static DOTCONF_CB ( option  )
static

Definition at line 299 of file config.cpp.

FUNC_ERRORHANDLER ( error_handler  )

Definition at line 169 of file config.cpp.

Variable Documentation

const configoption_t options[]
static

Definition at line 83 of file config.cpp.