mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-23 10:27:51 +02:00
gdbus: Add FD support for gdbus call
Gdbus call could not take file handle (parameter 'h') as a parameter. Original patch from Tim Waugh <twaugh@redhat.com>. Fixes: #961
This commit is contained in:
committed by
Philip Withnall
parent
63dfceedd2
commit
a879c46a39
@@ -321,6 +321,18 @@ $ gdbus call --session \
|
||||
5000
|
||||
(uint32 12,)
|
||||
</programlisting>
|
||||
<para>
|
||||
Call a method with file handle argument:
|
||||
</para>
|
||||
<programlisting>
|
||||
$ gdbus call --session \
|
||||
--dest org.example.foo \
|
||||
--object-path /org/example/foo \
|
||||
--method SendFDs \
|
||||
1 \
|
||||
10 \
|
||||
10<file.foo
|
||||
</programlisting>
|
||||
<para>
|
||||
Monitoring all objects on a service:
|
||||
</para>
|
||||
|
Reference in New Issue
Block a user