From f408e27bccfacf347605a8d98649975a68f38a17 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Tue, 5 May 2015 17:48:57 +0200 Subject: Imported Upstream version 1.0.2 --- docs/libnm-glib/html/NMAccessPoint.html | 1152 ++++++++++++++++++------------- 1 file changed, 659 insertions(+), 493 deletions(-) (limited to 'docs/libnm-glib/html/NMAccessPoint.html') diff --git a/docs/libnm-glib/html/NMAccessPoint.html b/docs/libnm-glib/html/NMAccessPoint.html index 97ae9c96..e0e5660a 100644 --- a/docs/libnm-glib/html/NMAccessPoint.html +++ b/docs/libnm-glib/html/NMAccessPoint.html @@ -2,36 +2,28 @@ -NMAccessPoint +libnm-glib Reference Manual: NMAccessPoint - + - - - - - - - - - - + + + + + + +
@@ -39,649 +31,823 @@

NMAccessPoint

NMAccessPoint

- +
- -
-

Object Hierarchy

-
-  GObject
-   +----NMObject
-         +----NMAccessPoint
-
-
-
-

Implemented Interfaces

-

-NMAccessPoint implements - GInitable and GAsyncInitable.

-
-
-

Properties

-
-  "bssid"                    gchar*                : Read
-  "flags"                    guint                 : Read
-  "frequency"                guint                 : Read
-  "hw-address"               gchar*                : Read
-  "max-bitrate"              guint                 : Read
-  "mode"                     guint                 : Read
-  "rsn-flags"                guint                 : Read
-  "ssid"                     NMSsid*               : Read
-  "strength"                 guchar                : Read
-  "wpa-flags"                guint                 : Read
-
-
-

Description

-

-

-
-
-

Details

-
-

NM_ACCESS_POINT_FLAGS

-
#define NM_ACCESS_POINT_FLAGS       "flags"
-
-

-

-
-
-
-

NM_ACCESS_POINT_WPA_FLAGS

-
#define NM_ACCESS_POINT_WPA_FLAGS   "wpa-flags"
-
-

-

-
-
-
-

NM_ACCESS_POINT_RSN_FLAGS

-
#define NM_ACCESS_POINT_RSN_FLAGS   "rsn-flags"
-
-

-

-
-
-
-

NM_ACCESS_POINT_SSID

-
#define NM_ACCESS_POINT_SSID        "ssid"
-
-

-

-
-
-
-

NM_ACCESS_POINT_BSSID

-
#define NM_ACCESS_POINT_BSSID       "bssid"
-
-

-

-
-
-
-

NM_ACCESS_POINT_FREQUENCY

-
#define NM_ACCESS_POINT_FREQUENCY   "frequency"
-
-

-

-
-
-
-

NM_ACCESS_POINT_MODE

-
#define NM_ACCESS_POINT_MODE        "mode"
-
-

-

-
-
-
-

NM_ACCESS_POINT_MAX_BITRATE

-
#define NM_ACCESS_POINT_MAX_BITRATE "max-bitrate"
-
-

-

-
-
-
-

NM_ACCESS_POINT_STRENGTH

-
#define NM_ACCESS_POINT_STRENGTH    "strength"
-
-

-

-
-
-
-

NM_ACCESS_POINT_HW_ADDRESS

-
#define NM_ACCESS_POINT_HW_ADDRESS  "hw-address"
-
-

-

-
-
-
-

NMAccessPoint

-
typedef struct _NMAccessPoint NMAccessPoint;
-

-

-
-
-
-

NMAccessPointClass

-
typedef struct {
-	NMObjectClass parent;
-
-	/* Padding for future expansion */
-	void (*_reserved1) (void);
-	void (*_reserved2) (void);
-	void (*_reserved3) (void);
-	void (*_reserved4) (void);
-	void (*_reserved5) (void);
-	void (*_reserved6) (void);
-} NMAccessPointClass;
-
-

-

-
-
-
-

nm_access_point_new ()

-
GObject *           nm_access_point_new                 (DBusGConnection *connection,
-                                                         const char *path);
-

-Creates a new NMAccessPoint. -

-
+

Functions

+
--++ - - + - - + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

connection :

the DBusGConnection + +GObject * + +nm_access_point_new ()

path :

the DBusobject path of the access point +NM80211ApFlags + +nm_access_point_get_flags () +
+NM80211ApSecurityFlags + +nm_access_point_get_wpa_flags () +

Returns :

a new access point. [transfer full] + +NM80211ApSecurityFlags + +nm_access_point_get_rsn_flags () +
const GByteArray * + +nm_access_point_get_ssid () +
const char * + +nm_access_point_get_bssid () +
+guint32 + +nm_access_point_get_frequency () +
+NM80211Mode + +nm_access_point_get_mode () +
+guint32 + +nm_access_point_get_max_bitrate () +
+guint8 + +nm_access_point_get_strength () +
+GSList * + +nm_access_point_filter_connections () +
+gboolean + +nm_access_point_connection_valid () +
const char * + +nm_access_point_get_hw_address ()
-
-
-

nm_access_point_get_flags ()

-
NM80211ApFlags      nm_access_point_get_flags           (NMAccessPoint *ap);
-

-Gets the flags of the access point. -

-
+
+

Properties

+
--+++ - - + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + +

ap :

a NMAccessPoint - +gchar *bssidRead
guintflagsRead
guintfrequencyRead
+gchar *hw-addressRead
guintmax-bitrateRead

Returns :

the flagsguintmodeRead
guintrsn-flagsRead
+NMSsid *ssidRead
gucharstrengthRead
guintwpa-flagsRead
-
-
-

nm_access_point_get_wpa_flags ()

-
NM80211ApSecurityFlags nm_access_point_get_wpa_flags    (NMAccessPoint *ap);
-

-Gets the WPA (version 1) flags of the access point. -

-
+
+

Types and Values

+
--++ - - + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + +

ap :

a NMAccessPoint -#defineNM_ACCESS_POINT_FLAGS
#defineNM_ACCESS_POINT_WPA_FLAGS
#defineNM_ACCESS_POINT_RSN_FLAGS
#defineNM_ACCESS_POINT_SSID
#defineNM_ACCESS_POINT_BSSID
#defineNM_ACCESS_POINT_FREQUENCY
#defineNM_ACCESS_POINT_MODE

Returns :

the WPA flags#defineNM_ACCESS_POINT_MAX_BITRATE
#defineNM_ACCESS_POINT_STRENGTH
#defineNM_ACCESS_POINT_HW_ADDRESS
-
-
-

nm_access_point_get_rsn_flags ()

-
NM80211ApSecurityFlags nm_access_point_get_rsn_flags    (NMAccessPoint *ap);
+
+

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ╰── NMAccessPoint
+
+
+
+

Description

-Gets the RSN (Robust Secure Network, ie WPA version 2) flags of the access -point.

-
+ +
+

Functions

+
+

nm_access_point_new ()

+
GObject *
+nm_access_point_new (DBusGConnection *connection,
+                     const char *path);
+

Creates a new NMAccessPoint.

+
+

Parameters

+
--+++ - - + + + - - + + +

ap :

a NMAccessPoint -

connection

the DBusGConnection

 

Returns :

the RSN flags

path

the DBusobject path of the access point

 
+
+

Returns

+

a new access point.

+

[transfer full]

+
+

-

nm_access_point_get_ssid ()

-
const GByteArray *  nm_access_point_get_ssid            (NMAccessPoint *ap);
-

-Gets the SSID of the access point. -

-
+

nm_access_point_get_flags ()

+
NM80211ApFlags
+nm_access_point_get_flags (NMAccessPoint *ap);
+

Gets the flags of the access point.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

ap :

a NMAccessPoint -

Returns :

the GByteArray containing the SSID. This is the internal copy used by the -access point, and must not be modified.

ap

a NMAccessPoint

 
+
+

Returns

+

the flags

+

+
+

-

nm_access_point_get_bssid ()

-
const char *        nm_access_point_get_bssid           (NMAccessPoint *ap);
-

-Gets the Basic Service Set ID (BSSID) of the Wi-Fi access point. -

-
+

nm_access_point_get_wpa_flags ()

+
NM80211ApSecurityFlags
+nm_access_point_get_wpa_flags (NMAccessPoint *ap);
+

Gets the WPA (version 1) flags of the access point.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

ap :

a NMAccessPoint -

Returns :

the BSSID of the access point. This is an internal string and must -not be modified or freed.

ap

a NMAccessPoint

 
+
+

Returns

+

the WPA flags

+

+
+

-

nm_access_point_get_frequency ()

-
guint32             nm_access_point_get_frequency       (NMAccessPoint *ap);
-

-Gets the frequency of the access point. -

-
+

nm_access_point_get_rsn_flags ()

+
NM80211ApSecurityFlags
+nm_access_point_get_rsn_flags (NMAccessPoint *ap);
+

Gets the RSN (Robust Secure Network, ie WPA version 2) flags of the access +point.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

ap :

a NMAccessPoint -

Returns :

the frequency

ap

a NMAccessPoint

 
+
+

Returns

+

the RSN flags

+

+
+
-

nm_access_point_get_mode ()

-
NM80211Mode         nm_access_point_get_mode            (NMAccessPoint *ap);
-

-Gets the mode of the access point. -

-
+

nm_access_point_get_ssid ()

+
const GByteArray *
+nm_access_point_get_ssid (NMAccessPoint *ap);
+

Gets the SSID of the access point.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

ap :

a NMAccessPoint -

Returns :

the mode

ap

a NMAccessPoint

 
+
+

Returns

+

the GByteArray containing the SSID. This is the internal copy used by the +access point, and must not be modified.

+

+
+
-

nm_access_point_get_max_bitrate ()

-
guint32             nm_access_point_get_max_bitrate     (NMAccessPoint *ap);
-

-Gets the maximum bit rate of the access point in kbit/s. -

-
+

nm_access_point_get_bssid ()

+
const char *
+nm_access_point_get_bssid (NMAccessPoint *ap);
+

Gets the Basic Service Set ID (BSSID) of the Wi-Fi access point.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

ap :

a NMAccessPoint -

Returns :

the maximum bit rate (kbit/s)

ap

a NMAccessPoint

 
+
+

Returns

+

the BSSID of the access point. This is an internal string and must +not be modified or freed.

+

+
+
-

nm_access_point_get_strength ()

-
guint8              nm_access_point_get_strength        (NMAccessPoint *ap);
-

-Gets the current signal strength of the access point. -

-
+

nm_access_point_get_frequency ()

+
guint32
+nm_access_point_get_frequency (NMAccessPoint *ap);
+

Gets the frequency of the access point.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

ap :

a NMAccessPoint -

Returns :

the signal strength

ap

a NMAccessPoint

 
+
+

Returns

+

the frequency

+

+
+
-

nm_access_point_filter_connections ()

-
GSList *            nm_access_point_filter_connections  (NMAccessPoint *ap,
-                                                         const GSList *connections);
-

-Filters a given list of connections for a given NMAccessPoint object and +

nm_access_point_get_mode ()

+
NM80211Mode
+nm_access_point_get_mode (NMAccessPoint *ap);
+

Gets the mode of the access point.

+
+

Parameters

+
+++++ + + + + + +

ap

a NMAccessPoint

 
+
+
+

Returns

+

the mode

+

+
+
+
+
+

nm_access_point_get_max_bitrate ()

+
guint32
+nm_access_point_get_max_bitrate (NMAccessPoint *ap);
+

Gets the maximum bit rate of the access point in kbit/s.

+
+

Parameters

+
+++++ + + + + + +

ap

a NMAccessPoint

 
+
+
+

Returns

+

the maximum bit rate (kbit/s)

+

+
+
+
+
+

nm_access_point_get_strength ()

+
guint8
+nm_access_point_get_strength (NMAccessPoint *ap);
+

Gets the current signal strength of the access point.

+
+

Parameters

+
+++++ + + + + + +

ap

a NMAccessPoint

 
+
+
+

Returns

+

the signal strength

+

+
+
+
+
+

nm_access_point_filter_connections ()

+
GSList *
+nm_access_point_filter_connections (NMAccessPoint *ap,
+                                    const GSList *connections);
+

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 ap's SSID and (if given) BSSID and -other attributes like security settings, channel, etc. -

-

-To obtain the list of connections that are compatible with this access point, -use nm_remote_settings_list_connections() and then filter the returned list -for a given NMDevice using nm_device_filter_connections() and finally -filter that list with this function. -

-
+returned connections will match the ap +'s SSID and (if given) BSSID and +other attributes like security settings, channel, etc.

+

To obtain the list of connections that are compatible with this access point, +use nm_remote_settings_list_connections() and then filter the returned list +for a given NMDevice using nm_device_filter_connections() and finally +filter that list with this function.

+
+

Parameters

+
--+++ - - + + + - - - - - - + + +

ap :

an NMAccessPoint to filter connections for

ap

an NMAccessPoint to filter connections for

 

connections :

a list of -NMConnection objects to filter. [element-type NMConnection] -

Returns :

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. [transfer container][element-type NMConnection] -

connections

a list of +NMConnection objects to filter.

[element-type NMConnection]
+
+

Returns

+

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.

+

[transfer container][element-type NMConnection]

+
+
-

nm_access_point_connection_valid ()

-
gboolean            nm_access_point_connection_valid    (NMAccessPoint *ap,
-                                                         NMConnection *connection);
-

-Validates a given connection against a given Wi-Fi access point to ensure that +

nm_access_point_connection_valid ()

+
gboolean
+nm_access_point_connection_valid (NMAccessPoint *ap,
+                                  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's SSID, (if given) BSSID, and other attributes like security settings, -channel, band, etc. -

-
+ap +'s SSID, (if given) BSSID, and other attributes like security settings, +channel, band, etc.

+
+

Parameters

+
--+++ - - - - - - + + + - - + + +

ap :

an NMAccessPoint to validate connection against

connection :

an NMConnection to validate against ap -

ap

an NMAccessPoint to validate connection +against

 

Returns :

-TRUE if the connection may be activated with this Wi-Fi AP, -FALSE if it cannot be.

connection

an NMConnection to validate against ap +

 
+
+

Returns

+

TRUE if the connection may be activated with this Wi-Fi AP, +FALSE if it cannot be.

+

+
+
-

nm_access_point_get_hw_address ()

-
const char *        nm_access_point_get_hw_address      (NMAccessPoint *ap);
-
-

Warning

-

nm_access_point_get_hw_address has been deprecated since version 0.9 and should not be used in newly-written code. Use nm_access_point_get_bssid() instead.

+

nm_access_point_get_hw_address ()

+
const char *
+nm_access_point_get_hw_address (NMAccessPoint *ap);
+
+

nm_access_point_get_hw_address has been deprecated since version 0.9 and should not be used in newly-written code.

+

Use nm_access_point_get_bssid() instead.

-

-Gets the hardware (MAC) address of the access point. -

-
+

Gets the hardware (MAC) address of the access point.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

ap :

a NMAccessPoint -

Returns :

the hardware address of the access point. This is the internal string used by the -access point and must not be modified.

ap

a NMAccessPoint

 
+
+

Returns

+

the hardware address of the access point. This is the internal string used by the +access point and must not be modified.

+

+
+
-

Property Details

+

Types and Values

-

The "bssid" property

-
  "bssid"                    gchar*                : Read
+

NM_ACCESS_POINT_FLAGS

+
#define NM_ACCESS_POINT_FLAGS       "flags"
+

-The BSSID of the access point.

-

Default value: NULL


-

The "flags" property

-
  "flags"                    guint                 : Read
+

NM_ACCESS_POINT_WPA_FLAGS

+
#define NM_ACCESS_POINT_WPA_FLAGS   "wpa-flags"
+

-The flags of the access point.

-

Allowed values: <= 1

-

Default value: 0


-

The "frequency" property

-
  "frequency"                guint                 : Read
+

NM_ACCESS_POINT_RSN_FLAGS

+
#define NM_ACCESS_POINT_RSN_FLAGS   "rsn-flags"
+

-The frequency of the access point.

-

Allowed values: <= 10000

-

Default value: 0


-

The "hw-address" property

-
  "hw-address"               gchar*                : Read
+

NM_ACCESS_POINT_SSID

+
#define NM_ACCESS_POINT_SSID        "ssid"
+

-The hardware address of the access point.

-

Default value: NULL


-

The "max-bitrate" property

-
  "max-bitrate"              guint                 : Read
+

NM_ACCESS_POINT_BSSID

+
#define NM_ACCESS_POINT_BSSID       "bssid"
+

-The maximum bit rate of the access point in kbit/s.

-

Default value: 0


-

The "mode" property

-
  "mode"                     guint                 : Read
+

NM_ACCESS_POINT_FREQUENCY

+
#define NM_ACCESS_POINT_FREQUENCY   "frequency"
+

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

-

Allowed values: [1,2]

-

Default value: 2


-

The "rsn-flags" property

-
  "rsn-flags"                guint                 : Read
+

NM_ACCESS_POINT_MODE

+
#define NM_ACCESS_POINT_MODE        "mode"
+

-The RSN flags of the access point.

-

Default value: 0


-

The "ssid" property

-
  "ssid"                     NMSsid*               : Read
+

NM_ACCESS_POINT_MAX_BITRATE

+
#define NM_ACCESS_POINT_MAX_BITRATE "max-bitrate"
+

-The SSID of the access point.


-

The "strength" property

-
  "strength"                 guchar                : Read
+

NM_ACCESS_POINT_STRENGTH

+
#define NM_ACCESS_POINT_STRENGTH    "strength"
+

-The current signal strength of the access point.

-

Default value: 0


-

The "wpa-flags" property

-
  "wpa-flags"                guint                 : Read
+

NM_ACCESS_POINT_HW_ADDRESS

+
#define NM_ACCESS_POINT_HW_ADDRESS  "hw-address"
+

-The WPA flags of the access point.

+
+
+
+

Property Details

+
+

The “bssid” property

+
  “bssid”                    gchar *
+

+

Flags: Read

+

Default value: NULL

+
+
+
+

The “flags” property

+
  “flags”                    guint
+

+

Flags: Read

+

Allowed values: <= 1

+

Default value: 0

+
+
+
+

The “frequency” property

+
  “frequency”                guint
+

+

Flags: Read

+

Allowed values: <= 10000

+

Default value: 0

+
+
+
+

The “hw-address” property

+
  “hw-address”               gchar *
+

+

Flags: Read

+

Default value: NULL

+
+
+
+

The “max-bitrate” property

+
  “max-bitrate”              guint
+

+

Flags: Read

+

Default value: 0

+
+
+
+

The “mode” property

+
  “mode”                     guint
+

+

Flags: Read

+

Allowed values: [1,2]

+

Default value: 2

+
+
+
+

The “rsn-flags” property

+
  “rsn-flags”                guint
+

+

Flags: Read

+

Default value: 0

+
+
+
+

The “ssid” property

+
  “ssid”                     NMSsid *
+

+

Flags: Read

+
+
+
+

The “strength” property

+
  “strength”                 guchar
+

+

Flags: Read

+

Default value: 0

+
+
+
+

The “wpa-flags” property

+
  “wpa-flags”                guint
+

+

Flags: Read

Default value: 0

+ Generated by GTK-Doc V1.21 \ No newline at end of file -- cgit 1.3.0-6-gf8a5