Function
AstalGreetlogin_with_env
Declaration
void
astal_greet_login_with_env (
const gchar* username,
const gchar* password,
const gchar* cmd,
gchar** env,
gint env_length1,
GAsyncReadyCallback _callback_,
void* _callback__target
)
Description
Same as astal_greet_login(), but allows setting additional environment variables in the form of name=value pairs.
Parameters
username-
Type:
const gchar*User to log in as .
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. password-
Type:
const gchar*Password of the user .
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. cmd-
Type:
const gchar*Command used to start the session .
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. env-
Type: An array of
gchar*Additional environment variables to set for the session .
The length of the array is specified in the env_length1argument.The data is owned by the caller of the function. Each element is a NUL terminated UTF-8 string. env_length1-
Type:
gintNo description available.
_callback_-
Type:
GAsyncReadyCallbackNo description available.
The argument can be NULL. _callback__target-
Type:
void*No description available.
The argument can be NULL.The data is owned by the caller of the function.