-/* manually increment this if adding new functionality/config files */
-static const guint XML_FILE_COUNT = 8;
-
-
-/* our buffers for xml config file descriptors */
-static int hostnamed_ispect_xml_descr, hostnamed_dbus_xml_descr,
- localed_ispect_xml_descr, localed_dbus_xml_descr,
- timedated_ispect_xml_descr, timedated_dbus_xml_descr,
- logind_ispect_xml_descr, logind_dbus_xml_descr;
-
-static int *xml_descriptors[] = {
-
- &hostnamed_ispect_xml_descr, &hostnamed_dbus_xml_descr,
- &localed_ispect_xml_descr, &localed_dbus_xml_descr,
- &timedated_ispect_xml_descr, &timedated_dbus_xml_descr,
- &logind_ispect_xml_descr, &logind_dbus_xml_descr
-};
-
/*our buffers for xml config file contents */
static gchar **hostnamed_ispect_xml, **hostnamed_dbus_xml,
- **localed_ispect_xml, **localed_dbus_xml,
- **timedated_ispect_xml, **timedated_dbus_xml,
- **logind_ispect_xml, **logind_dbus_xml;
+ **localed_ispect_xml, **localed_dbus_xml,
+ **timedated_ispect_xml, **timedated_dbus_xml,
+ **logind_ispect_xml, **logind_dbus_xml;
-static gchar ***xml_contents[] = {
+/* manually increment this if adding new functionality/config files */
+static const guint XML_FILE_COUNT = 8;
- &hostnamed_ispect_xml, &hostnamed_dbus_xml,
- &localed_ispect_xml, &localed_dbus_xml,
- &timedated_ispect_xml, &timedated_dbus_xml,
- &logind_ispect_xml, &logind_dbus_xml
+static gchar **xml_contents[] = {
+ hostnamed_ispect_xml, hostnamed_dbus_xml,
+ localed_ispect_xml, localed_dbus_xml,
+ timedated_ispect_xml, timedated_dbus_xml,
+ logind_ispect_xml, logind_dbus_xml
};
+/* TODO ifdef allowed editable xml only take files that meet exact sizes
+ * of ones hashed below */
+
#ifndef ALLOW_EDITED_XML
static const gchar *hostnamed_dbus_sum = "ad7536541463e426388c7562b0e7a693c3b646539b3ae163a7caf6ad95f10e08";
#endif
-static gboolean set_xml_descriptors() {
-
-}
-
static gboolean populate_xml_data_dir() {
}