From 03785ad0e51b061efb9f9b3f2e328685f9a866aa Mon Sep 17 00:00:00 2001 From: Daniel Mack Date: Tue, 21 Oct 2014 22:14:03 +0200 Subject: sd-bus: sync kdbus.h (API change: switch to absolute timeouts) kdbus_msg.timeout_ns now takes an absolute value, based on CLOCK_MONOTONIC, in order to eventually support automatically restarted syscalls. Signed-off-by: Daniel Mack --- src/libsystemd/sd-bus/kdbus.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/libsystemd/sd-bus/kdbus.h') diff --git a/src/libsystemd/sd-bus/kdbus.h b/src/libsystemd/sd-bus/kdbus.h index 087d50aabb..50b4ec41b3 100644 --- a/src/libsystemd/sd-bus/kdbus.h +++ b/src/libsystemd/sd-bus/kdbus.h @@ -384,7 +384,8 @@ enum kdbus_payload_type { * @timeout_ns: The time to wait for a message reply from the peer. * If there is no reply, a kernel-generated message * with an attached KDBUS_ITEM_REPLY_TIMEOUT item - * is sent to @src_id. + * is sent to @src_id. The timeout is expected in + * nanoseconds and as absolute CLOCK_MONOTONIC value. * @cookie_reply: A reply to the requesting message with the same * cookie. The requesting connection can match its * request and the reply with this value -- cgit v1.2.3-54-g00ecf