Method

AstalNetworkAccessPointactivate

Declaration

void
astal_network_access_point_activate (
  AstalNetworkAccessPoint* self,
  const gchar* password,
  GAsyncReadyCallback _callback_,
  void* _callback__target
)

Description

Activates the first saved connection of this access point, or creates and activates a new one if there is none. When a password is given it is saved to the connection, it is ignored for open networks. Enterprise (802.1X) networks need an already configured connection. Resolves once the connection is activated and throws an AstalNetworkActivationError if the activation fails.

Parameters

password

Type: const gchar*

No description available.

The argument can be NULL.
The data is owned by the caller of the method.
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 method.