X-Git-Url: http://git.pk910.de/?p=NeonServV5.git;a=blobdiff_plain;f=src%2FConfigParser.h;h=efdd23783efba198547332c3845c914d825bb769;hp=1657765b4427400eb17d2017cb4671bd1c144dc4;hb=HEAD;hpb=be180588e158f3b1297ffaf3a715577fb3d73f85 diff --git a/src/ConfigParser.h b/src/ConfigParser.h index 1657765..efdd237 100644 --- a/src/ConfigParser.h +++ b/src/ConfigParser.h @@ -1,5 +1,5 @@ -/* ConfigParser.h - NeonServ v5.2 - * Copyright (C) 2011 Philipp Kreil (pk910) +/* ConfigParser.h - NeonServ v5.6 + * Copyright (C) 2011-2012 Philipp Kreil (pk910) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -19,9 +19,11 @@ #define _ConfigParser_h #include "main.h" +#ifndef DND_FUNCTIONS int loadConfig(const char *filename); -int get_int_field(char *field_path); -char *get_string_field(char *field_path); +/* MODULAR ACCESSIBLE */ int get_int_field(char *field_path); +/* MODULAR ACCESSIBLE */ char *get_string_field(char *field_path); +char **get_all_fieldnames(char *block_path); void free_loaded_config(); - -#endif \ No newline at end of file +#endif +#endif