summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/bus-message.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-05-15 19:45:05 +0200
committerLennart Poettering <lennart@poettering.net>2013-05-15 19:45:45 +0200
commit453a0c2946da620f99825d39db335e9ea9861829 (patch)
treecb994a26bf2b84d0c6090e88d8ccb113aeef37e6 /src/libsystemd-bus/bus-message.h
parent99271804172f6ac51be9556b2bdf37d6a7e952bc (diff)
bus: add support for adding memfds into message payload
Diffstat (limited to 'src/libsystemd-bus/bus-message.h')
-rw-r--r--src/libsystemd-bus/bus-message.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/libsystemd-bus/bus-message.h b/src/libsystemd-bus/bus-message.h
index 2517514bac..f9c8fc9c08 100644
--- a/src/libsystemd-bus/bus-message.h
+++ b/src/libsystemd-bus/bus-message.h
@@ -33,9 +33,10 @@
struct bus_container {
char enclosing;
- char *signature;
unsigned index, saved_index;
+ char *signature;
+
uint32_t *array_size;
size_t before, begin;
};
@@ -51,13 +52,15 @@ struct bus_header {
} _packed_;
struct bus_body_part {
+ struct bus_body_part *next;
void *data;
size_t size;
size_t mapped;
int memfd;
bool free_this:1;
+ bool munmap_this:1;
bool sealed:1;
- struct bus_body_part *next;
+ bool is_zero:1;
};
struct sd_bus_message {