Method
PhoshDBusLoginManagercall_inhibit_sync
Declaration [src]
gboolean
phosh_dbus_login_manager_call_inhibit_sync (
PhoshDBusLoginManager* proxy,
const gchar* arg_what,
const gchar* arg_who,
const gchar* arg_why,
const gchar* arg_mode,
GUnixFDList* fd_list,
GVariant** out_pipe_fd,
GUnixFDList** out_fd_list,
GCancellable* cancellable,
GError** error
)
Description [src]
Synchronously invokes the Inhibit() D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See phosh_dbus_login_manager_call_inhibit()
for the asynchronous version of this method.
Parameters
arg_what |
const gchar* |
Argument to pass with the method invocation. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
arg_who |
const gchar* |
Argument to pass with the method invocation. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
arg_why |
const gchar* |
Argument to pass with the method invocation. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
arg_mode |
const gchar* |
Argument to pass with the method invocation. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
fd_list |
GUnixFDList |
A |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
out_pipe_fd |
GVariant |
Return location for return parameter or |
|
The argument will be set by the function. | |
The argument can be NULL . | |
The instance takes ownership of the data, and is responsible for freeing it. | |
out_fd_list |
GUnixFDList |
Return location for a |
|
The argument will be set by the function. | |
The instance takes ownership of the data, and is responsible for freeing it. | |
cancellable |
GCancellable |
A |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
error |
GError ** |
The return location for a GError* , or NULL . |