From afcd268ea7b1149fbfb66bce4eca659b675da0a2 Mon Sep 17 00:00:00 2001
From: Michael Biebl Creates a new NMAccessPoint. connection the DBusGConnection the DBusGConnection a new access point. a new access point. [transfer full] Gets the flags of the access point. Gets the WPA (version 1) flags of the access point. Gets the RSN (Robust Secure Network, ie WPA version 2) flags of the access
point. Gets the SSID of the access point. the GByteArray containing the SSID. This is the internal copy used by the
+ the GByteArray containing the SSID. This is the internal copy used by the
access point, and must not be modified. Gets the frequency of the access point. Gets the mode of the access point. Gets the maximum bit rate of the access point in kbit/s. Gets the current signal strength of the access point. Returns the timestamp (in CLOCK_BOOTTIME seconds) for the last time the
access point was found in scan results. A value of -1 means the access
@@ -593,9 +593,9 @@ point has not been found in a scan. Filters a given list of connections for a given NMAccessPoint object and
return connections which may be activated with the access point. Any
returned connections will match the connections a list of
-NMConnection objects to filter. a list of
+NMConnection objects to filter.
-GObject *
+GObject *
nm_access_point_new ()
@@ -51,7 +51,7 @@
-NM80211ApFlags
+NM80211ApFlags
nm_access_point_get_flags ()
@@ -59,7 +59,7 @@
-NM80211ApSecurityFlags
+NM80211ApSecurityFlags
nm_access_point_get_wpa_flags ()
@@ -67,14 +67,14 @@
-NM80211ApSecurityFlags
+NM80211ApSecurityFlags
nm_access_point_get_rsn_flags ()
-
const GByteArray *
+ const GByteArray *
nm_access_point_get_ssid ()
@@ -89,7 +89,7 @@
-guint32
+guint32
nm_access_point_get_frequency ()
@@ -97,7 +97,7 @@
-NM80211Mode
+NM80211Mode
nm_access_point_get_mode ()
@@ -105,7 +105,7 @@
-guint32
+guint32
nm_access_point_get_max_bitrate ()
@@ -113,7 +113,7 @@
-guint8
+guint8
nm_access_point_get_strength ()
@@ -121,7 +121,7 @@
-gint
+gint
nm_access_point_get_last_seen ()
@@ -129,7 +129,7 @@
-GSList *
+GSList *
nm_access_point_filter_connections ()
@@ -137,7 +137,7 @@
-gboolean
+gboolean
nm_access_point_connection_valid ()
@@ -164,43 +164,43 @@
-gchar *
+gchar *
bssid
Read
-
guint
+guint
flags
Read
-
guint
+guint
frequency
Read
-gchar *
+gchar *
hw-address
Read
-
gint
+gint
last-seen
Read
-
guint
+guint
max-bitrate
Read
-
guint
+guint
mode
Read
-
@@ -211,12 +211,12 @@
guint
+guint
rsn-flags
Read
Read
-
guchar
+guchar
strength
Read
-
@@ -280,7 +280,7 @@
guint
+guint
wpa-flags
Read
Object Hierarchy
- GObject
+
GObject
╰── NMObject
╰── NMAccessPoint
@@ -292,8 +292,8 @@
Functions
nm_access_point_new ()
-GObject *
-nm_access_point_new (
DBusGConnection *connection,
+GObject *
+nm_access_point_new (
DBusGConnection *connection,
const char *path);
+
@@ -320,14 +320,14 @@ nm_access_point_new (
Returns
-
nm_access_point_get_flags ()
-NM80211ApFlags
+
NM80211ApFlags
nm_access_point_get_flags (
NMAccessPoint *ap);
nm_access_point_get_wpa_flags ()
-NM80211ApSecurityFlags
+
NM80211ApSecurityFlags
nm_access_point_get_wpa_flags (
NMAccessPoint *ap);
nm_access_point_get_rsn_flags ()
-NM80211ApSecurityFlags
+
NM80211ApSecurityFlags
nm_access_point_get_rsn_flags (
NMAccessPoint *ap);
nm_access_point_get_ssid ()
-const GByteArray *
+
const GByteArray *
nm_access_point_get_ssid (
NMAccessPoint *ap);
Returns
-
nm_access_point_get_frequency ()
-guint32
+
guint32
nm_access_point_get_frequency (
NMAccessPoint *ap);
nm_access_point_get_mode ()
-NM80211Mode
+
NM80211Mode
nm_access_point_get_mode (
NMAccessPoint *ap);
nm_access_point_get_max_bitrate ()
-guint32
+
guint32
nm_access_point_get_max_bitrate (
NMAccessPoint *ap);
nm_access_point_get_strength ()
-guint8
+
guint8
nm_access_point_get_strength (
NMAccessPoint *ap);
nm_access_point_get_last_seen ()
-gint
+
gint
nm_access_point_get_last_seen (
NMAccessPoint *ap);
nm_access_point_filter_connections ()
-GSList *
+
GSList *
nm_access_point_filter_connections (
+ NMAccessPoint *ap,
- const GSList *connections);const GSList *connections);ap
@@ -621,8 +621,8 @@ filter that list with this function.
-
+[element-type NMConnection]
a
-list of NMConnection objects that could be activated with the given ap
+
a
+list of NMConnection objects that could be activated with the given ap
.
The elements of the list are owned by their creator and should not be freed
by the caller, but the returned list itself is owned by the caller and should
-be freed with g_slist_free() when it is no longer required.
g_slist_free() when it is no longer required.
[transfer container][element-type NMConnection]
gboolean +gboolean nm_access_point_connection_valid (+NMAccessPoint *ap, -NMConnection *connection);NMConnection *connection);
Validates a given connection against a given Wi-Fi access point to ensure that
the connection may be activated with that AP. The connection must match the
ap
@@ -667,7 +667,7 @@ against
connection
an NMConnection to validate against ap
+
an NMConnection to validate against ap
TRUE if the connection may be activated with this Wi-Fi AP,
-FALSE if it cannot be.
TRUE if the connection may be activated with this Wi-Fi AP,
+FALSE if it cannot be.
“bssid” property“bssid” gchar *+
“bssid” gchar *
The BSSID of the access point.
Flags: Read
Default value: NULL
@@ -792,7 +792,7 @@ access point and must not be modified.“flags” property“flags” guint+
“flags” guint
The flags of the access point.
Flags: Read
Allowed values: <= 1
@@ -801,7 +801,7 @@ access point and must not be modified.“frequency” property“frequency” guint+
“frequency” guint
The frequency of the access point.
Flags: Read
Allowed values: <= 10000
@@ -810,7 +810,7 @@ access point and must not be modified.“hw-address” property“hw-address” gchar *+
“hw-address” gchar *
The hardware address of the access point.
Flags: Read
Default value: NULL
@@ -818,7 +818,7 @@ access point and must not be modified.“last-seen” property“last-seen” gint+
“last-seen” gint
The timestamp (in CLOCK_BOOTTIME seconds) for the last time the access point was found in scan results. A value of -1 means the access point has not been found in a scan.
@@ -830,7 +830,7 @@ access point has not been found in a scan.“max-bitrate” property“max-bitrate” guint+
“max-bitrate” guint
The maximum bit rate of the access point in kbit/s.
Flags: Read
Default value: 0
@@ -838,7 +838,7 @@ access point has not been found in a scan.“mode” property“mode” guint+
“mode” guint
The mode of the access point; either "infrastructure" (a central coordinator of the wireless network allowing clients to connect) or "ad-hoc" (a network with no central controller).
@@ -849,7 +849,7 @@ coordinator of the wireless network allowing clients to connect) or“rsn-flags” property“rsn-flags” guint+
“rsn-flags” guint
The RSN flags of the access point.
Flags: Read
Default value: 0
@@ -864,7 +864,7 @@ coordinator of the wireless network allowing clients to connect) or“strength” property“strength” guchar+
“strength” guchar
The current signal strength of the access point.
Flags: Read
Default value: 0
@@ -872,7 +872,7 @@ coordinator of the wireless network allowing clients to connect) or