Function

AstalGreetlogin

Declaration

void
astal_greet_login (
  const gchar* username,
  const gchar* password,
  const gchar* cmd,
  GAsyncReadyCallback _callback_,
  void* _callback__target
)

Description

Create a session, post the password, and start the session in one go.

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.
_callback_

Type: GAsyncReadyCallback

No 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.