summaryrefslogtreecommitdiff
path: root/src/shared/bus-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-11-15 19:18:36 +0100
committerLennart Poettering <lennart@poettering.net>2016-11-16 15:03:26 +0100
commit984794baf4af59da7f2496ecab33f2596d6619ff (patch)
tree97cecd77f21e7e48203656d81ad0657c879d716e /src/shared/bus-util.h
parentafc402b76a4520997a7c831a943be75e3072b301 (diff)
shared: split out code for adding multiple names to sd_bus_track object
Let's introduce a new call bus_track_add_name_many() that adds a string list to a tracking object.
Diffstat (limited to 'src/shared/bus-util.h')
-rw-r--r--src/shared/bus-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/bus-util.h b/src/shared/bus-util.h
index 934e0b5b77..af5f133912 100644
--- a/src/shared/bus-util.h
+++ b/src/shared/bus-util.h
@@ -159,3 +159,5 @@ int bus_path_encode_unique(sd_bus *b, const char *prefix, const char *sender_id,
int bus_path_decode_unique(const char *path, const char *prefix, char **ret_sender, char **ret_external);
int bus_property_get_rlimit(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error);
+
+int bus_track_add_name_many(sd_bus_track *t, char **l);