chiark / gitweb /
sd-bus: move packet header definition to bus-protocol.h
[elogind.git] / src / libsystemd / sd-bus / bus-message.h
index e54543a047b78b3b7dcb5027eeba25a69fef1f68..571d42255c705192aff29732438aa4483d03e875 100644 (file)
@@ -52,20 +52,6 @@ struct bus_container {
         char *peeked_signature;
 };
 
-struct bus_header {
-        uint8_t endian;
-        uint8_t type;
-        uint8_t flags;
-        uint8_t version;
-        uint32_t body_size;
-
-        /* Note that what the bus spec calls "serial" we'll call
-        "cookie" instead, because we don't want to imply that the
-        cookie was in any way monotonically increasing. */
-        uint32_t serial;
-        uint32_t fields_size;
-} _packed_;
-
 struct bus_body_part {
         struct bus_body_part *next;
         void *data;