Method
GioDBusProxycall_with_unix_fd_list
since: 2.30
Declaration [src]
void
g_dbus_proxy_call_with_unix_fd_list (
GDBusProxy* proxy,
const gchar* method_name,
GVariant* parameters,
GDBusCallFlags flags,
gint timeout_msec,
GUnixFDList* fd_list,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Like g_dbus_proxy_call() but also takes a GUnixFDList object.
This method is only available on UNIX.
Available since: 2.30
This method completes asynchronously. Use g_dbus_proxy_call_with_unix_fd_list_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
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. cancellable-
Type:
GCancellableA
GCancellableorNULL.The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackA
GAsyncReadyCallbackto call when the request is satisfied orNULLif you don’t care about the result of the method invocation.The argument can be NULL. user_data-
Type:
gpointerThe data to pass to
callback.The argument can be NULL.The data is owned by the caller of the method.