diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-11-30 00:19:01 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-11-30 00:21:06 +0100 |
commit | 7adc46fcce257fcf4c83faa18b8c78f2a577e4f1 (patch) | |
tree | 073a6435743ed0f65abb895a9bd3049b9f136408 /src/libsystemd-bus/bus-internal.h | |
parent | dff55e5db393af91e912e509aac349cff4786de3 (diff) |
bus: don't generate NameAcquired/NameLost messages in the library
The signals appear entirely redundant due to NameOwnerChange, hence
don't do them in the new library, instead leave them for the
compatibility bridge only.
Also, set the serial number for synthesized messages to (uint32_t) -1.
Diffstat (limited to 'src/libsystemd-bus/bus-internal.h')
-rw-r--r-- | src/libsystemd-bus/bus-internal.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libsystemd-bus/bus-internal.h b/src/libsystemd-bus/bus-internal.h index 9c46a78551..4881e0427c 100644 --- a/src/libsystemd-bus/bus-internal.h +++ b/src/libsystemd-bus/bus-internal.h @@ -295,10 +295,9 @@ int bus_ensure_running(sd_bus *bus); int bus_start_running(sd_bus *bus); int bus_next_address(sd_bus *bus); -int bus_seal_message(sd_bus *b, sd_bus_message *m); +int bus_seal_synthetic_message(sd_bus *b, sd_bus_message *m); -int bus_rqueue_make_room(sd_bus *bus, unsigned n); -int bus_rqueue_push(sd_bus *bus, sd_bus_message *m); +int bus_rqueue_make_room(sd_bus *bus); bool bus_pid_changed(sd_bus *bus); |