Method
GioDBusProxycall_with_unix_fd_list_sync
since: 2.30
Declaration [src]
GVariant*
g_dbus_proxy_call_with_unix_fd_list_sync (
GDBusProxy* proxy,
const gchar* method_name,
GVariant* parameters,
GDBusCallFlags flags,
gint timeout_msec,
GUnixFDList* fd_list,
GUnixFDList** out_fd_list,
GCancellable* cancellable,
GError** error
)
Description [src]
Like g_dbus_proxy_call_sync() but also takes and returns GUnixFDList objects.
This method is only available on UNIX.
Available since: 2.30
Parameters
method_name-
Type:
const gchar*Name of method to invoke.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. parameters-
Type:
GVariantA
GVarianttuple with parameters for the signal orNULLif not passing parameters.The argument can be NULL.The data is owned by the caller of the method. flags-
Type:
GDBusCallFlagsFlags from the
GDBusCallFlagsenumeration. timeout_msec-
Type:
gintThe timeout in milliseconds (with
G_MAXINTmeaning “infinite”) or -1 to use the proxy default timeout. fd_list-
Type:
GUnixFDListA
GUnixFDListorNULL.The argument can be NULL.The data is owned by the caller of the method. out_fd_list-
Type:
GUnixFDListReturn location for a
GUnixFDListorNULL.The argument will be set by the function. The argument can be set to NULLby the method.The argument can be NULL.The caller of the method takes ownership of the returned data, and is responsible for freeing it. cancellable-
Type:
GCancellableA
GCancellableorNULL.The argument can be NULL.The data is owned by the caller of the method. error-
Type:
GError **The return location for a recoverable error.
The argument can be NULL.If the return location is not NULL, then you must initialize it to aNULLGError*.The argument will be left initialized to NULLby the method if there are no errors.In case of error, the argument will be set to a newly allocated GError; the caller will take ownership of the data, and be responsible for freeing it.
Return value
Type: GVariant
NULL if error is set. Otherwise a GVariant tuple with
return values. Free with g_variant_unref().
| The caller of the method takes ownership of the returned data, and is responsible for freeing it. |