merge license, hostname buffer changes from master branch
[systembsd.git] / src / config.c
index ac9ecf468e2df72c62f6f4e2be478da8304b4491..3c20820d9b7d08cd31aa8ba5005d2c86c858b21e 100644 (file)
 #include <gio/gio.h>
 
 static GKeyFile *config;
+static int config_descr;
+
+static gchar *data_dir;
+
+static int hostnamed_ispect_xml_descr, hostnamed_dbus_xml_descr;
+static int localed_ispect_xml_descr, localed_dbus_xml_descr;
+static int timedated_ispect_xml_descr, timedated_dbus_xml_descr;
+static int logind_ispect_xml_descr, logind_dbus_xml_descr;
+
+/*TODO depending on builtin xml flag, these should be matched to checksums */
+static gchar **hostnamed_ispect_xml, hostnamed_dbus_xml;
+static gchar **localed_ispect_xml, localed_dbus_xml;
+static gchar **timedated_ispect_xml, timedated_dbus_xml;
+static gchar **logind_ispect_xml, logind_dbus_xml;
 
 static const gchar *CONFIG_KEYS[] = {
     "PrettyHostname",
@@ -109,3 +123,4 @@ gboolean config_init() {
         return FALSE;
     }
 }
+}