Added basic configuration file parsing

* Created example configuration file
* Added wmud_config_init() to parse configuration file

Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
This commit is contained in:
Gergely Polonkai (W00d5t0ck)
2012-03-22 12:21:05 +01:00
parent ec5fec631f
commit c0a85622be
5 changed files with 100 additions and 4 deletions

1
conf/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
wmud.conf

3
conf/wmud.conf.example Normal file
View File

@@ -0,0 +1,3 @@
[global]
world file = iminiru.db
port = 4000