From: kremlin Date: Sun, 8 Jun 2014 01:04:10 +0000 (-0400) Subject: syncing... X-Git-Tag: gsoc-final~141 X-Git-Url: https://uglyman.kremlin.cc/gitweb/gitweb.cgi?p=systembsd.git;a=commitdiff_plain;h=faab2eee0d3cdd778fef60dd7d9e8976a001a1b8 syncing... --- diff --git a/src/interfaces/hostnamed/hostnamed.c b/src/interfaces/hostnamed/hostnamed.c index 0559b8b..b2f9684 100644 --- a/src/interfaces/hostnamed/hostnamed.c +++ b/src/interfaces/hostnamed/hostnamed.c @@ -95,7 +95,7 @@ static void on_name_lost(GDBusConnection *conn, const gchar *name, gpointer user_data) { - g_print("lost name %s, exiting...\n", name); + g_print("lost name %s, exiting...", name); //TODO exit through g_main_loop properly... exit(0); } diff --git a/src/main.h b/src/main.h new file mode 100644 index 0000000..2fd39ea --- /dev/null +++ b/src/main.h @@ -0,0 +1,51 @@ +#include + +#ifdef NO BUILTIN XML +//TODO install conf +#endif + +#ifndef NO_BUILTIN_XML +gchar **hostnamed_config_xml = +"" +"" +" " +" " +" " +" " +" " +" " +" " +" " +" " +" " +" " +""; + +gchar **hostnamed_ispect_xml = +"" +"" +" " +" " +" " +" " +" " +" " +" " +" " +" " +" " +" " +" " +" " +" " +" " +" " +" " +" " +" " +" " +" " +" " +"";