summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/sd-bus.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-03-22 01:49:56 +0100
committerLennart Poettering <lennart@poettering.net>2013-03-22 01:49:56 +0100
commitd728d708c3ccfcb34f6d7673f7855fbf0c10aeec (patch)
treed6d059970324202b65a5077da38a566f356c403d /src/libsystemd-bus/sd-bus.h
parent9f26c90cb50c45d4549c4dd569917b4ac143b94d (diff)
bus: rework synchronization logic
Instead of allowing certain actions fail during authentication and connection setup, implicitly synchronize on the connection to be set up completely before returning.
Diffstat (limited to 'src/libsystemd-bus/sd-bus.h')
-rw-r--r--src/libsystemd-bus/sd-bus.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libsystemd-bus/sd-bus.h b/src/libsystemd-bus/sd-bus.h
index 3ea4acc76f..adc7f8e2bd 100644
--- a/src/libsystemd-bus/sd-bus.h
+++ b/src/libsystemd-bus/sd-bus.h
@@ -35,8 +35,9 @@
* - always verify container depth
* - merge busctl into systemctl or so?
* - add object handlers
- * - verify object paths
* - implicitly add stub introspection calls
+ * - implement unix exec protocol
+ * - server side
*/
typedef struct sd_bus sd_bus;
@@ -62,8 +63,8 @@ sd_bus *sd_bus_ref(sd_bus *bus);
sd_bus *sd_bus_unref(sd_bus *bus);
int sd_bus_is_open(sd_bus *bus);
-int sd_bus_is_running(sd_bus *bus);
int sd_bus_can_send(sd_bus *bus, char type);
+int sd_bus_get_peer(sd_bus *bus, sd_id128_t *peer);
int sd_bus_send(sd_bus *bus, sd_bus_message *m, uint64_t *serial);
int sd_bus_send_with_reply(sd_bus *bus, sd_bus_message *m, sd_message_handler_t callback, void *userdata, uint64_t usec, uint64_t *serial);