export proper xml FINALLY..
[systembsd.git] / src / main.c
1 /* debugging */
2 //#define INSTALL 1
3 //#define NO_BUILTIN_XML 1
4 /* end debugging */
5
6 #include <gio/gio.h>
7 #include "interfaces/hostnamed/hostnamed.c"
8 //#include "main.h"
9
10 int main() {
11
12 #if (defined NO_BUILTIN_XML && defined INSTALL)
13 if(!install_conf())
14 g_printf("%s\n", "FAILED to install xml configs!");;
15 #else
16 #endif
17
18 GMainLoop *mloop = NULL;
19
20 mloop = g_main_loop_new(NULL, FALSE);
21 hostnamed_init();
22 g_main_loop_run(mloop);
23
24 return 0;
25 }