summaryrefslogtreecommitdiff
path: root/src/common/raconf.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-05-05 18:20:12 +0200
committerHaru <haru@dotalux.com>2014-05-09 08:13:42 +0200
commit1c4e3820d5f4ff9870c28104122f6733db4d55a6 (patch)
tree3857f52c2e34dccf793df0a0dc25527df438e612 /src/common/raconf.h
parent77a62f8ff263c2e1d1412be5a75f874b1f694d8a (diff)
downloadhercules-1c4e3820d5f4ff9870c28104122f6733db4d55a6.tar.gz
hercules-1c4e3820d5f4ff9870c28104122f6733db4d55a6.tar.bz2
hercules-1c4e3820d5f4ff9870c28104122f6733db4d55a6.tar.xz
hercules-1c4e3820d5f4ff9870c28104122f6733db4d55a6.zip
Removed some unused source files
- I don't believe there's a need to keep them if we're not using them. If and when we will ever need them again, this commit can be easily reverted. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/common/raconf.h')
-rw-r--r--src/common/raconf.h59
1 files changed, 0 insertions, 59 deletions
diff --git a/src/common/raconf.h b/src/common/raconf.h
deleted file mode 100644
index 68a2b51b2..000000000
--- a/src/common/raconf.h
+++ /dev/null
@@ -1,59 +0,0 @@
-// Copyright (c) rAthena Project (www.rathena.org) - Licensed under GNU GPL
-// For more information, see LICENCE in the main folder
-
-#ifndef _rA_CONF_H_
-#define _rA_CONF_H_
-
-#include "../common/cbasetypes.h"
-
-// rAthena generic configuration file parser
-//
-// Config file Syntax is athena style
-// extended with ini style support (including sections)
-//
-// Comments are started with // or ; (ini style)
-//
-
-typedef struct raconf *raconf;
-
-
-/**
- * Parses a rAthna Configuration file
- *
- * @param file_name path to the file to parse
- *
- * @returns not NULL incase of success
- */
-raconf raconf_parse(const char *file_name);
-
-
-/**
- * Frees a Handle received from raconf_parse
- *
- * @param rc - the handle to free
- */
-void raconf_destroy(raconf rc);
-
-
-/**
- * Gets the value for Section / Key pair, if key not exists returns _default!
- *
- */
-bool raconf_getbool(raconf rc, const char *section, const char *key, bool _default);
-float raconf_getfloat(raconf rc,const char *section, const char *key, float _default);
-int64 raconf_getint(raconf rc, const char *section, const char *key, int64 _default);
-const char* raconf_getstr(raconf rc, const char *section, const char *key, const char *_default);
-
-/**
- * Gets the value for Section / Key pair, but has fallback section option if not found in section,
- * if not found in both - default gets returned.
- *
- */
-bool raconf_getboolEx(raconf rc, const char *section, const char *fallback_section, const char *key, bool _default);
-float raconf_getfloatEx(raconf rc,const char *section, const char *fallback_section, const char *key, float _default);
-int64 raconf_getintEx(raconf rc, const char *section, const char *fallback_section, const char *key, int64 _default);
-const char* raconf_getstrEx(raconf rc, const char *section, const char *fallback_section, const char *key, const char *_default);
-
-
-
-#endif