summaryrefslogtreecommitdiffstats
path: root/bus/config-parser.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-03-26 03:58:11 +0000
committerHavoc Pennington <hp@redhat.com>2003-03-26 03:58:11 +0000
commit90ed1d84588a84697051e643175452c50d682ece (patch)
treea8ee3ecb05c584194d5c74e98038c24e5fdabe9b /bus/config-parser.h
parent17e82f5728d3fc8abd41c816b1c34c506339c7a7 (diff)
2003-03-25 Havoc Pennington <hp@redhat.com>
* throughout - add more _DBUS_ASSERT_ERROR_IS_CLEAR * configure.in: add --with-xml option to specify XML library, right now only libxml is supported. * bus/config-loader-libxml.c, config-parser.c: sync some minor nonworking code between home and work, still just stubs
Diffstat (limited to 'bus/config-parser.h')
-rw-r--r--bus/config-parser.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/bus/config-parser.h b/bus/config-parser.h
index 371a658c..2fa651a3 100644
--- a/bus/config-parser.h
+++ b/bus/config-parser.h
@@ -50,6 +50,18 @@ dbus_bool_t bus_config_parser_end_element (BusConfigParser *parser,
dbus_bool_t bus_config_parser_content (BusConfigParser *parser,
const DBusString *content,
DBusError *error);
+dbus_bool_t bus_config_parser_finished (BusConfigParser *parser,
+ DBusError *error);
+
+/* Functions for extracting the parse results */
+const char* bus_config_parser_get_user (BusConfigParser *parser);
+
+
+/* Loader functions (backended off one of the XML parsers). Returns a
+ * finished ConfigParser.
+ */
+BusConfigParser* bus_config_load (const DBusString *file,
+ DBusError *error);
#endif /* BUS_CONFIG_PARSER_H */