chiark / gitweb /
bus: allow peeking signatures recusively inside of containers
[elogind.git] / src / libsystemd-bus / bus-message.h
index cd1fb0e546ff44217ff31846c03716554f5f5d7a..a973e9fd6c5b9cdb58eb3cac9ae2e71f92fb1328 100644 (file)
@@ -48,6 +48,8 @@ struct bus_container {
         /* gvariant: list of offsets to end of children if this is struct/dict entry/array */
         size_t *offsets, n_offsets, offsets_allocated, offset_index;
         size_t item_size;
+
+        char *peeked_signature;
 };
 
 struct bus_header {
@@ -234,3 +236,5 @@ int bus_message_to_errno(sd_bus_message *m);
 int bus_message_new_synthetic_error(sd_bus *bus, uint64_t serial, const sd_bus_error *e, sd_bus_message **m);
 
 int bus_message_remarshal(sd_bus *bus, sd_bus_message **m);
+
+int bus_message_append_sender(sd_bus_message *m, const char *sender);