Anope IRC Services  Version 2.0
Functions | Variables
config.cpp File Reference
#include "services.h"
#include "config.h"
#include "bots.h"
#include "access.h"
#include "opertype.h"
#include "channels.h"
#include "hashcomp.h"
Include dependency graph for config.cpp:

Go to the source code of this file.

Functions

static void ValidateNotEmpty (const Anope::string &block, const Anope::string &name, const Anope::string &value)
 
static void ValidateNoSpaces (const Anope::string &block, const Anope::string &name, const Anope::string &value)
 
template<typename T >
static void ValidateNotZero (const Anope::string &block, const Anope::string &name, T value)
 

Variables

File ServicesConf ("services.conf", false)
 
ConfConfig = NULL
 

Function Documentation

static void ValidateNoSpaces ( const Anope::string block,
const Anope::string name,
const Anope::string value 
)
static

Definition at line 102 of file config.cpp.

References Anope::string::find(), and Anope::string::npos.

Referenced by Configuration::Conf::Conf().

static void ValidateNotEmpty ( const Anope::string block,
const Anope::string name,
const Anope::string value 
)
static

Definition at line 96 of file config.cpp.

References Anope::string::empty().

Referenced by Configuration::Conf::Conf().

template<typename T >
static void ValidateNotZero ( const Anope::string block,
const Anope::string name,
value 
)
static

Definition at line 108 of file config.cpp.

Referenced by Configuration::Conf::Conf().

Variable Documentation

Conf* Config = NULL

Definition at line 24 of file config.cpp.

Referenced by CommandOSReload::Execute(), and Anope::HandleSignal().

File ServicesConf("services.conf", false)