summaryrefslogtreecommitdiff
path: root/man/sd_bus_set_description.xml
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-03-18 17:00:02 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-03-18 19:57:44 +0100
commit92b6df1d68a4d590c56fdcf2e09bc3f9e7e526b3 (patch)
tree4ae714d3382f9415f5f9e3f1c9646ea94fce061b /man/sd_bus_set_description.xml
parentcc3d85eb9714c52a513fd95ea6e4c16e1a4f224c (diff)
downloadsystemd-92b6df1d68a4d590c56fdcf2e09bc3f9e7e526b3.tar.gz
man: mention sd_bus_is_anonymous() and sd_bus_is_trusted()
Diffstat (limited to 'man/sd_bus_set_description.xml')
-rw-r--r--man/sd_bus_set_description.xml20
1 files changed, 19 insertions, 1 deletions
diff --git a/man/sd_bus_set_description.xml b/man/sd_bus_set_description.xml
index 3c5580e27c..776a257943 100644
--- a/man/sd_bus_set_description.xml
+++ b/man/sd_bus_set_description.xml
@@ -19,7 +19,9 @@
<refname>sd_bus_set_description</refname>
<refname>sd_bus_get_description</refname>
<refname>sd_bus_set_anonymous</refname>
+ <refname>sd_bus_is_anonymous</refname>
<refname>sd_bus_set_trusted</refname>
+ <refname>sd_bus_is_trusted</refname>
<refname>sd_bus_set_allow_interactive_authorization</refname>
<refname>sd_bus_get_allow_interactive_authorization</refname>
@@ -49,12 +51,22 @@
</funcprototype>
<funcprototype>
+ <funcdef>int <function>sd_bus_is_anonymous</function></funcdef>
+ <paramdef>sd_bus *<parameter>bus</parameter></paramdef>
+ </funcprototype>
+
+ <funcprototype>
<funcdef>int <function>sd_bus_set_trusted</function></funcdef>
<paramdef>sd_bus *<parameter>bus</parameter></paramdef>
<paramdef>int <parameter>b</parameter></paramdef>
</funcprototype>
<funcprototype>
+ <funcdef>int <function>sd_bus_is_trusted</function></funcdef>
+ <paramdef>sd_bus *<parameter>bus</parameter></paramdef>
+ </funcprototype>
+
+ <funcprototype>
<funcdef>int <function>sd_bus_set_allow_interactive_authorization</function></funcdef>
<paramdef>sd_bus *<parameter>bus</parameter></paramdef>
<paramdef>int <parameter>b</parameter></paramdef>
@@ -91,11 +103,17 @@
url="view-source:https://dbus.freedesktop.org/doc/dbus-specification.html#auth-mechanisms">Authentication
Mechanisms</ulink> section of the D-Bus specification for details.</para>
+ <para><function>sd_bus_is_anonymous()</function> returns true if the bus connection allows anonymous
+ authentication (in the sense described in previous paragraph).</para>
+
<para><function>sd_bus_set_trusted()</function> sets the "trusted" state on the
<parameter>bus</parameter> object. If true, all connections on the bus are
- trusted and access to all privileged and unprivileged methods is granted. This
+ trusted and access to all privileged and unprivileged methods is granted. This
function must be called before the bus has been started.</para>
+ <para><function>sd_bus_is_trusted()</function> returns true if the bus connection is trusted (in the
+ sense described in previous paragraph).</para>
+
<para><function>sd_bus_set_allow_interactive_authorization()</function>
enables or disables interactive authorization for method calls. If true,
messages are marked with the