summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/bus-message.h
AgeCommit message (Collapse)Author
2013-12-25bus: rename message "serial" to "cookie"Lennart Poettering
Even if the lower-leveld dbus1 protocol calls it "serial", let's expose the word "cookie" for this instead, as this is what kdbus uses and since it doesn't imply monotonicity the same way "serial" does.
2013-12-24bus: allow peeking signatures recusively inside of containersLennart Poettering
Previously we invalidated the peeked signature as soon as the caller would recurse into a container, making stack based handling difficult. With this change we will keep the peeked signature around until the user advances to the next field.
2013-12-23bus-proxyd: synthesize NameAcquire/NameLost signals for socket clientsLennart Poettering
2013-12-18bus: reduce calls to KDBUS_CMD_MEMFD_SIZE_SET ioctlLennart Poettering
Instead of calling it for each buffer append, increase allocation exponentially and set the real value only at the end, when sealing off the memfd. This should drastically reduce the number of times we invoke the ioctl().
2013-12-17bus: remarshal messages when necessary before sendingLennart Poettering
2013-12-16bus: let's use GREEDY_REALLOC() when allocating space for containersLennart Poettering
2013-12-12bus: always pass valid timeout to kdbusLennart Poettering
2013-12-09bus: demarshal gvariantLennart Poettering
2013-12-05bus: add support for serializing to gvariantLennart Poettering
(deserialization is still missing, hence this is not hooked up to kdbus)
2013-12-03bus: internalize a lot of protocol definitionsLennart Poettering
We shouldn export what isn't necessary or useful to clients, so let's add the protocol definitions we only need internally into a private header.
2013-12-02bus: when replying to an incoming message and the vtable contains the ↵Lennart Poettering
expected return signature generate an error if the response message doesn't match it
2013-11-28bus: add new sd_bus_creds object to encapsulate process credentialsLennart Poettering
This way we can unify handling of credentials that are attached to messages, or can be queried for bus name owners or connection peers. This also adds the ability to extend incomplete credential information with data from /proc, Also, provide a convenience call that will automatically determine the most appropriate credential object for an incoming message, by using the the attached information if possible, the sending name information if available and otherwise the peer's credentials.
2013-11-21bus: let's simplify things by getting rid of unnecessary bus parametersLennart Poettering
2013-11-12bus: beautify bus_message_dump() output a bitLennart Poettering
2013-10-29bus: add new sd_bus_message_verify_type() and sd_bus_message_copy() API callsLennart Poettering
2013-10-16timedated: use libsystemd-bus instead of libdbus for bus communicationLennart Poettering
Among other things this also adds a few things necessary for the change: - Considerably more powerful error returning APIs in libsystemd-bus - Adapter for connecting an sd_bus to an sd_event - As I reworked the PolicyKit logic to the new library I also made it asynchronous, so that PolicyKit requests of one user cannot block out another user anymore. - We always use the macro names for common bus error. That way it is harder to mistype them since the compiler will notice
2013-05-16bus: synthesize timeout message errors instead of returning error codesLennart Poettering
2013-05-16bus: put together messages with memfd payload correctlyLennart Poettering
2013-05-15bus: add support for adding memfds into message payloadLennart Poettering
2013-05-15bus: rework message struct to keep header with fields in same malloc() blockLennart Poettering
This allows us to guarantee that the first payload_vec we pass to the kernel for each message is guaranteed to include the full header and all its field.
2013-05-15bus: add macro for iterating through body parts of a messageLennart Poettering
2013-05-14bus: properly handle message bodies that are a chain of memory areas rather ↵Lennart Poettering
than a single one
2013-05-10bus: catch up with latest kdbusLennart Poettering
2013-05-09bus: add API for appending/reading fixed arraysLennart Poettering
2013-04-23bus: parse capability kdbus meta data of messagesLennart Poettering
2013-04-22bus: parse audit metadata from kdbus messagesLennart Poettering
2013-04-16bus: parse unit/user unit/session from cgroup pathLennart Poettering
2013-04-15kdbus: parse cgroup meta data, tooLennart Poettering
2013-04-14kdbus: also parse cmdline message attributeLennart Poettering
2013-04-13kdbus: parse even more kernel meta data fieldsLennart Poettering
2013-04-12dbus: fill in kdbus sender+destination from kdbus dataLennart Poettering
2013-04-12bus: parse and expose kdbus message timestampsLennart Poettering
2013-04-12bus: also parse PID starttime out of kdbus messageLennart Poettering
2013-04-12bus: add kdbus test caseLennart Poettering
2013-04-11bus: basic implementation of kdbus client sideLennart Poettering
2013-04-11bus: calculate iovec for messages only when we need itLennart Poettering
2013-04-05bus: add convenience functions for constructing and sending method ↵Lennart Poettering
calls/signals in one call
2013-03-31bus: parse matches locally and allow registration of callbacks for themLennart Poettering
This includes code to parse and split up match strings which will also be useful to calculate bloom filter masks when the time comes.
2013-03-25bus: implement support for FD passingLennart Poettering
2013-03-22bus: move attribute to end of structure, so it is not ignoredZbigniew Jędrzejewski-Szmek
src/libsystemd-bus/bus-message.h:41:1: warning: attribute 'packed' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes]
2013-03-22bus: implicitly collect ucred/label informationLennart Poettering
2013-03-21bus: implement full method call timeout logicLennart Poettering
2013-03-20bus: hook up client with socket communicationLennart Poettering
2013-03-20bus: demarshal header fields properlyLennart Poettering
2013-03-20bus: implement demarshallerLennart Poettering
2013-03-20bus: suppress reply messages to method calls with no_reply setLennart Poettering
2013-03-20bus: add basic implementation of a native bus client libraryLennart Poettering