From 08e17ea271a99eba8d1437a8ddf46e32a2be2c9b Mon Sep 17 00:00:00 2001 From: kremlin- Date: Sun, 8 Jun 2014 01:19:46 -0500 Subject: started work on xml file installation/configuration --- src/main.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index c19b489..59e23fe 100644 --- a/src/main.c +++ b/src/main.c @@ -1,7 +1,21 @@ +/* debugging */ +#define INSTALL 1 +#define NO_BUILTIN_XML 1 + +/* end debugging */ + #include #include "interfaces/hostnamed/hostnamed.c" +#include "main.h" int main() { + + #if (defined NO_BUILTIN_XML && defined INSTALL) + if(!install_conf()) + g_printf("%s\n", "FAILED to install xml configs!");; + #else + #endif + GMainLoop *mloop = NULL; mloop = g_main_loop_new(NULL, FALSE); -- cgit v1.2.3