-/* 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
#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