X-Git-Url: http://git.pk910.de/?p=TransparentIRC.git;a=blobdiff_plain;f=src%2FConfigParser.h;fp=src%2FConfigParser.h;h=f4853b594f2b643982edce5e62dcf76e6344f062;hp=0f2776dbed66941a075dfe9579312bc44e820b78;hb=1f2baa2e7b90ea83c5a0c93598e22e5063fc6d95;hpb=0e2ac9360b71a7d054d7e945be575c0d21fa880c diff --git a/src/ConfigParser.h b/src/ConfigParser.h index 0f2776d..f4853b5 100644 --- a/src/ConfigParser.h +++ b/src/ConfigParser.h @@ -1,4 +1,4 @@ -/* ConfigParser.h - NeonServ v5.4 +/* ConfigParser.h - TransparentIRC 0.1 * Copyright (C) 2011-2012 Philipp Kreil (pk910) * * This program is free software: you can redistribute it and/or modify @@ -17,13 +17,11 @@ #ifndef _ConfigParser_h #define _ConfigParser_h -#include "main.h" +#include "overall.h" -#ifndef DND_FUNCTIONS int loadConfig(const char *filename); -/* MODULAR ACCESSIBLE */ int get_int_field(char *field_path); -/* MODULAR ACCESSIBLE */ char *get_string_field(char *field_path); +int get_int_field(char *field_path); +char *get_string_field(char *field_path); char **get_all_fieldnames(char *block_path); void free_loaded_config(); #endif -#endif