mirror of
https://github.com/systemd/systemd
synced 2024-10-15 12:34:37 +00:00
sd-bus: Clarify sd_bus_list_names results ownership
This commit is contained in:
parent
e5f1a3faab
commit
42f5c9a335
|
@ -45,10 +45,9 @@
|
||||||
<parameter>acquired</parameter> is not <constant>NULL</constant>, the function calls
|
<parameter>acquired</parameter> is not <constant>NULL</constant>, the function calls
|
||||||
<ulink url="https://dbus.freedesktop.org/doc/dbus-specification.html#bus-messages-list-activatable-names">
|
<ulink url="https://dbus.freedesktop.org/doc/dbus-specification.html#bus-messages-list-activatable-names">
|
||||||
org.freedesktop.DBus.ListActivableNames</ulink> to retrieve the list of all names on the bus that can be
|
org.freedesktop.DBus.ListActivableNames</ulink> to retrieve the list of all names on the bus that can be
|
||||||
activated. Note that ownership of any string arrays returned by <function>sd_bus_list_names()</function>
|
activated. Note that ownership of the arrays returned by <function>sd_bus_list_names()</function> in
|
||||||
is transferred to the caller and hence, the caller is responsible for freeing any results stored by
|
<parameter>acquired</parameter> and <parameter>activatable</parameter> is transferred to the caller and
|
||||||
<function>sd_bus_list_names()</function> in <parameter>acquired</parameter> and
|
hence, the caller is responsible for freeing these arrays and their contents.</para>
|
||||||
<parameter>activatable</parameter>.</para>
|
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
||||||
<refsect1>
|
<refsect1>
|
||||||
|
|
Loading…
Reference in a new issue