]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - man/sd_bus_add_object_vtable.xml
test/test-functions: avoid stderr noise, only umount on cleanup if mountpoint
[thirdparty/systemd.git] / man / sd_bus_add_object_vtable.xml
index 92be236afdd1bb01d4253ffe13a6ebcef9037671..9d7e30a5048457e79b059bc3b0837c6a7a4029df 100644 (file)
     <replaceable>userdata</replaceable> parameter contains a pointer that will be passed to various callback
     functions. It may be specified as <constant>NULL</constant> if no value is necessary.</para>
 
-    <para><function>sd_bus_add_object_vtable()</function> is similar to
+    <para><function>sd_bus_add_fallback_vtable()</function> is similar to
     <function>sd_bus_add_object_vtable()</function>, but is used to register "fallback" attributes. When
     looking for an attribute declaration, bus object paths registered with
     <function>sd_bus_add_object_vtable()</function> are checked first. If no match is found, the fallback
           </para>
 
           <para>Equivalent to <constant>SD_BUS_SIGNAL_WITH_NAMES()</constant> with the
-          <replaceable>names</replaceable> paramater unset (i.e. no parameter names).</para>
+          <replaceable>names</replaceable> parameter unset (i.e. no parameter names).</para>
           </listitem>
         </varlistentry>
 
         </varlistentry>
 
         <varlistentry>
-          <term><constant>SD_BUS_VTABLE_CONST</constant></term>
-          <term><constant>SD_BUS_VTABLE_EMITS_CHANGE</constant></term>
-          <term><constant>SD_BUS_VTABLE_EMITS_INVALIDATION</constant></term>
+          <term><constant>SD_BUS_VTABLE_PROPERTY_CONST</constant></term>
+          <term><constant>SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE</constant></term>
+          <term><constant>SD_BUS_VTABLE_PROPERTY_EMITS_INVALIDATION</constant></term>
 
           <listitem><para>Those three flags correspond to different values of the
           <constant>org.freedesktop.DBus.Property.EmitsChangedSignal</constant> annotation, which specifies
           whether the <constant>org.freedesktop.DBus.Properties.PropertiesChanged</constant> signal is
-          emitted whenever the property changes. <constant>SD_BUS_VTABLE_CONST</constant> corresponds to
+          emitted whenever the property changes. <constant>SD_BUS_VTABLE_PROPERTY_CONST</constant> corresponds to
           <constant>const</constant> and means that the property never changes during the lifetime of the
           object it belongs to, so no signal needs to be emitted.
-          <constant>SD_BUS_VTABLE_EMITS_CHANGE</constant> corresponds to <constant>true</constant> and means
-          that the signal is emitted. <constant>SD_BUS_VTABLE_EMITS_INVALIDATION</constant> corresponds to
-          <constant>invalides</constant> and means that the signal is emitted, but the value is not included
+          <constant>SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE</constant> corresponds to <constant>true</constant> and means
+          that the signal is emitted. <constant>SD_BUS_VTABLE_PROPERTY_EMITS_INVALIDATION</constant> corresponds to
+          <constant>invalidates</constant> and means that the signal is emitted, but the value is not included
           in the signal.</para>
           </listitem>
         </varlistentry>
 
           <listitem><para>Mark this vtable property entry as requiring explicit request to for the value to
           be shown (generally because the value is large or slow to calculate). This entry cannot be combined
-          with <constant>SD_BUS_VTABLE_EMITS_CHANGE</constant>, and will not be shown in property listings by
+          with <constant>SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE</constant>, and will not be shown in property listings by
           default (e.g. <command>busctl introspect</command>).  This corresponds to the
           <constant>org.freedesktop.systemd1.Explicit</constant> annotation in introspection data.</para>
           </listitem>