bus-util: add bus_property_get_string_set() helper

This is a common implementation of a property getter for a Set of
strings.
This commit is contained in:
Lennart Poettering
2023-06-12 11:35:52 +02:00
parent 9298af8dd3
commit fefefcd573
5 changed files with 23 additions and 53 deletions
+2
View File
@@ -71,3 +71,5 @@ int bus_register_malloc_status(sd_bus *bus, const char *destination);
extern const struct hash_ops bus_message_hash_ops;
int bus_message_append_string_set(sd_bus_message *m, Set *s);
int bus_property_get_string_set(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error);