summaryrefslogtreecommitdiff
path: root/src/shared/bus-util.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-03-19 23:46:29 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-03-20 00:42:48 +0900
commitf37f8a61c0d5192bd9dc038d5996a41a6e940caf (patch)
tree63581f2103ae3e0faaa558209d126ff85875d365 /src/shared/bus-util.h
parent4f00a11c736b015f40f513b9349afb560791abdc (diff)
downloadsystemd-f37f8a61c0d5192bd9dc038d5996a41a6e940caf.tar.gz
bus-util: make bus_map_all_properties() not copy string
Diffstat (limited to 'src/shared/bus-util.h')
-rw-r--r--src/shared/bus-util.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/shared/bus-util.h b/src/shared/bus-util.h
index 8103f0e9a7..5e1fe893f9 100644
--- a/src/shared/bus-util.h
+++ b/src/shared/bus-util.h
@@ -51,9 +51,9 @@ struct bus_properties_map {
int bus_map_id128(sd_bus *bus, const char *member, sd_bus_message *m, sd_bus_error *error, void *userdata);
-int bus_message_map_all_properties(sd_bus_message *m, const struct bus_properties_map *map, sd_bus_error *error, void *userdata);
-int bus_message_map_properties_changed(sd_bus_message *m, const struct bus_properties_map *map, sd_bus_error *error, void *userdata);
-int bus_map_all_properties(sd_bus *bus, const char *destination, const char *path, const struct bus_properties_map *map, sd_bus_error *error, void *userdata);
+int bus_message_map_all_properties(sd_bus_message *m, const struct bus_properties_map *map, bool copy_string, sd_bus_error *error, void *userdata);
+int bus_message_map_properties_changed(sd_bus_message *m, const struct bus_properties_map *map, bool copy_string, sd_bus_error *error, void *userdata);
+int bus_map_all_properties(sd_bus *bus, const char *destination, const char *path, const struct bus_properties_map *map, sd_bus_error *error, sd_bus_message **reply, void *userdata);
int bus_async_unregister_and_exit(sd_event *e, sd_bus *bus, const char *name);