diff options
author | Havoc Pennington <hp@redhat.com> | 2003-03-26 03:58:11 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-03-26 03:58:11 +0000 |
commit | 90ed1d84588a84697051e643175452c50d682ece (patch) | |
tree | a8ee3ecb05c584194d5c74e98038c24e5fdabe9b /bus/config-parser.h | |
parent | 17e82f5728d3fc8abd41c816b1c34c506339c7a7 (diff) | |
download | dbus-90ed1d84588a84697051e643175452c50d682ece.tar.gz |
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.h | 12 |
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 */ |