From b678359235008e795d7da0ef12935e652c7109f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 13 Feb 2019 10:27:36 +0100 Subject: man: use for SD_BUS_ERROR_* and SD_BUS_NAME_* constants This moves them to the right section in systemd.directives. --- man/sd_bus_request_name.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'man/sd_bus_request_name.xml') diff --git a/man/sd_bus_request_name.xml b/man/sd_bus_request_name.xml index 3c98b60c6a..cf0b552116 100644 --- a/man/sd_bus_request_name.xml +++ b/man/sd_bus_request_name.xml @@ -74,23 +74,23 @@ - SD_BUS_NAME_ALLOW_REPLACEMENT + SD_BUS_NAME_ALLOW_REPLACEMENT After acquiring the name successfully, permit other peers to take over the name when they try - to acquire it with the SD_BUS_NAME_REPLACE_EXISTING flag set. If - SD_BUS_NAME_ALLOW_REPLACEMENT is not set on the original request, such a request by other + to acquire it with the SD_BUS_NAME_REPLACE_EXISTING flag set. If + SD_BUS_NAME_ALLOW_REPLACEMENT is not set on the original request, such a request by other peers will be denied. - SD_BUS_NAME_REPLACE_EXISTING + SD_BUS_NAME_REPLACE_EXISTING Take over the name if it is already acquired by another peer, and that other peer has permitted - takeover by setting SD_BUS_NAME_ALLOW_REPLACEMENT while acquiring it. + takeover by setting SD_BUS_NAME_ALLOW_REPLACEMENT while acquiring it. - SD_BUS_NAME_QUEUE + SD_BUS_NAME_QUEUE Queue the acquisition of the name when the name is already taken. @@ -130,7 +130,7 @@ On success, these calls return 0 or a positive integer. On failure, these calls return a negative errno-style error code. - If SD_BUS_NAME_QUEUE is specified, sd_bus_request_name() will return + If SD_BUS_NAME_QUEUE is specified, sd_bus_request_name() will return 0 when the name is already taken by another peer and the client has been added to the queue for the name. In that case, the caller can subscribe to NameOwnerChanged signals to be notified when the name is successfully acquired. sd_bus_request_name() returns > 0 when the name has immediately -- cgit v1.2.1