X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2FConfigParser.h;h=ea5a1b566aa56113e2cef338782a283fd3f0f966;hb=902ebfe5551be2daa3edf8141bcee91f62c0a5e0;hp=030dded750fa72a096687b54ac1bf279c99a342f;hpb=44436a96352a38631237978c9fd431cef3d85cfb;p=NeonServV5.git diff --git a/src/ConfigParser.h b/src/ConfigParser.h index 030dded..ea5a1b5 100644 --- a/src/ConfigParser.h +++ b/src/ConfigParser.h @@ -1,5 +1,5 @@ /* ConfigParser.h - NeonServ v5.3 - * Copyright (C) 2011 Philipp Kreil (pk910) + * 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