summaryrefslogtreecommitdiff
path: root/bus/config-parser-trivial.c
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2017-02-17 14:49:41 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2017-02-21 13:23:37 +0000
commitca3805b1d9c51e02a229dd7c36abcc7045eee3d9 (patch)
treeacb52a755270219b633633aa5436564c92809e2b /bus/config-parser-trivial.c
parent613dd7dd64d0681dc2d6deb5b213327f12fe5e19 (diff)
downloaddbus-ca3805b1d9c51e02a229dd7c36abcc7045eee3d9.tar.gz
activation-helper: Rename bus_config_parser_get_service_dirs
I'm about to change the version in the full-fat parser to return BusServiceDir structs. Name this one with "paths" instead, to avoid confusion. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=99825 Reviewed-by: Philip Withnall <withnall@endlessm.com> Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Diffstat (limited to 'bus/config-parser-trivial.c')
-rw-r--r--bus/config-parser-trivial.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/bus/config-parser-trivial.c b/bus/config-parser-trivial.c
index d085fe7f..dd65c6d4 100644
--- a/bus/config-parser-trivial.c
+++ b/bus/config-parser-trivial.c
@@ -367,8 +367,11 @@ bus_config_parser_get_type (BusConfigParser *parser)
return _dbus_string_get_const_data (&parser->bus_type);
}
+/*
+ * @returns A list of strings, owned by the BusConfigParser
+ */
DBusList**
-bus_config_parser_get_service_dirs (BusConfigParser *parser)
+bus_config_parser_get_service_paths (BusConfigParser *parser)
{
return &parser->service_dirs;
}
@@ -441,7 +444,7 @@ check_return_values (const DBusString *full_path)
printf (" <type>system</type> OKAY!\n");
/* check dirs return value is okay */
- dirs = bus_config_parser_get_service_dirs (parser);
+ dirs = bus_config_parser_get_service_paths (parser);
if (dirs == NULL)
{
_dbus_warn ("Service dirs are NULL!");