From 2c032d8f1c6292c1338a615e6ec40252889ba85c Mon Sep 17 00:00:00 2001
From: Michael Biebl
@@ -273,11 +280,25 @@ Describes errors that may result from operations involving a NMSetting object
+
+
+Does some basic normalization and fixup of well known inconsistencies
+and deprecated fields. If the connection was modified in any way,
+the output parameter
+Finally the connection will be verified and Returns : Since 1.0
+Returns the interface name as stored in NMSettingConnection:interface_name.
+If the connection contains no NMSettingConnection, it will return
+For hardware devices and software devices created outside of NetworkManager,
+this name is used to match the device. for software devices created by
+NetworkManager, this is the name of the created interface.
+ Returns : Since 1.0
-Returns the name that
@@ -819,6 +845,18 @@ These values indicate the result of a setting difference operation.
void);
NMConnection;
@@ -84,6 +85,10 @@ enum GHashTable **out_settings);
gboolean nm_connection_verify (NMConnection *connection,
GError **error);
+gboolean nm_connection_normalize (NMConnection *connection,
+ GHashTable *parameters,
+ gboolean *modified,
+ GError **error);
const char * nm_connection_need_secrets (NMConnection *connection,
GPtrArray **hints);
void nm_connection_clear_secrets (NMConnection *connection);
@@ -100,6 +105,7 @@ const char * char * nm_connection_get_path (NMConnection *connection);
const char * nm_connection_get_virtual_iface_name
(NMConnection *connection);
+const char * nm_connection_get_interface_name (NMConnection *connection);
gboolean nm_connection_is_type (NMConnection *connection,
const char *type);
void nm_connection_for_each_setting_value
@@ -235,7 +241,8 @@ parameters (MTU, SSID, APN, channel, rate, etc) and IP-level parameters
NM_CONNECTION_ERROR_UNKNOWN = 0, /*< nick=UnknownError >*/
NM_CONNECTION_ERROR_CONNECTION_SETTING_NOT_FOUND, /*< nick=ConnectionSettingNotFound >*/
NM_CONNECTION_ERROR_CONNECTION_TYPE_INVALID, /*< nick=ConnectionTypeInvalid >*/
- NM_CONNECTION_ERROR_SETTING_NOT_FOUND /*< nick=SettingNotFound >*/
+ NM_CONNECTION_ERROR_SETTING_NOT_FOUND, /*< nick=SettingNotFound >*/
+ NM_CONNECTION_ERROR_INVALID_SETTING, /*< nick=InvalidSetting >*/
} NMConnectionError;
+
+ the NMConnection object contains
+ a conflicting setting object
+
+
NM_CONNECTION_NORMALIZE_PARAM_IP6_CONFIG_METHOD
+#define NM_CONNECTION_NORMALIZE_PARAM_IP6_CONFIG_METHOD "ip6-config-method"
+
+
+NM_CONNECTION_ERROR
#define NM_CONNECTION_ERROR nm_connection_error_quark ()
@@ -727,7 +748,7 @@ Validates the connection and all its settings. Each setting's properties
have allowed values, and some values are dependent on other values. For
example, if a Wi-Fi connection is security enabled, the NMSettingWireless
setting object's 'security' property must contain the setting name of the
-NMSettingWirelessSecurity object, which must also be present in the
+NMSettingWirelessSecurity object, which must also be present in the
connection for the connection to be valid. As another example, the
NMSettingWired object's 'mac-address' property must be a validly formatted
MAC address. The returned GError contains information about which
@@ -758,6 +779,62 @@ setting and which property failed validation, and how it failed validation.
nm_connection_normalize ()
+gboolean nm_connection_normalize (
+NMConnection *connection,
+ GHashTable *parameters,
+ gboolean *modified,
+ GError **error);modified is set TRUE.
+TRUE returns if the connection
+is valid. As this function only performs some specific normalization steps
+it cannot repair all connections. If the connection has errors that
+cannot be normalized, the connection will not be modified.
+
+
+
+
+connection :the NMConnection to normalize
+
+
+
+parameters :a GHashTable with
+normalization parameters to allow customization of the normalization by providing
+specific arguments. Unknown arguments will be ignored and the default will be
+used. The keys must be strings, hashed by
+g_str_hash() and g_str_equal() functions.
+The values are opaque and depend on the parameter name. [allow-none][element-type utf8 gpointer]
+
+
+
+modified :outputs whether any settings were modified. [out][allow-none]
+
+
+
+
+error :location to store error, or
+NULL. Contains the reason,
+why the connection is invalid, if the function returns an error.
+
+
+
+
+
+TRUE if the connection is valid, FALSE if it is not
+nm_connection_need_secrets ()
const char * nm_connection_need_secrets (
@@ -988,6 +1065,39 @@ connection types, this function will return
+NMConnection *connection,
GPtrArray **hints);nm_connection_get_interface_name ()
+const char * nm_connection_get_interface_name (
+NMConnection *connection);NULL.
+
+
+
+
+connection :The NMConnection
+
+
+
+
+
+Name of the kernel interface or
+NULL
+
+nm_connection_is_type ()
gboolean nm_connection_is_type (
@@ -1247,7 +1357,7 @@ A shortcut to return the type from the connection's char * nm_connection_get_virtual_device_description
(NMConnection *connection,
const char *type);NMConnection *connection);
nm_device_disambiguate_names() would
+Returns the name that nm_device_disambiguate_names() would
return for the virtual device that would be created for connection.
Eg, "VLAN (eth1.1)".
NM_SETTING_SECRET_FLAG_NOT_SAVED)
+
+
+
+ if this flag is set,
+
+nm_setting_diff() and nm_connection_diff() will also include properties that
+are set to their default value. See also NM_SETTING_COMPARE_FLAG_DIFF_RESULT_NO_DEFAULT.
+
+
+ if this flag is set,
+
+nm_setting_diff() and nm_connection_diff() will not include properties that
+are set to their default value. This is the opposite of
+NM_SETTING_COMPARE_FLAG_DIFF_RESULT_WITH_DEFAULT. If both flags are set together,
+NM_SETTING_COMPARE_FLAG_DIFF_RESULT_WITH_DEFAULT wins. If both flags are unset,
+this means to exclude default properties if there is a setting to compare,
+but include all properties, if the setting 'b' is missing. This is the legacy
+behaviour of libnm-util, where nm_setting_diff() behaved differently depending
+on whether the setting 'b' was available. If NM_SETTING_COMPARE_FLAG_DIFF_RESULT_WITH_DEFAULT
+is set, nm_setting_diff() will also set the flags NM_SETTING_DIFF_RESULT_IN_A_DEFAULT
+and NM_SETTING_DIFF_RESULT_IN_B_DEFAULT, if the values are default values.
+the property is present in setting B
+
+
+
+ the property is present in
+setting A but is set to the default value. This flag is only set,
+if you specify
+NM_SETTING_COMPARE_FLAG_DIFF_RESULT_WITH_DEFAULT.
+
+
diff --git a/docs/libnm-util/html/NMSetting8021x.html b/docs/libnm-util/html/NMSetting8021x.html
index a0bd18de..10ee02e0 100644
--- a/docs/libnm-util/html/NMSetting8021x.html
+++ b/docs/libnm-util/html/NMSetting8021x.html
@@ -369,7 +369,7 @@ or DER private key
+ analog to
+NM_SETTING_DIFF_RESULT_IN_A_DEFAULT.
+
@@ -1587,7 +1587,7 @@ authentication method.
- file contains a PKCS12 certificate
+ file contains a PKCS#12 certificate
and private key
cert_path :when
@@ -2203,7 +2203,7 @@ authentication method.
scheme is set to either NM_SETTING_802_1X_CK_SCHEME_PATH
or NM_SETTING_802_1X_CK_SCHEME_BLOB, pass the path of the client
-certificate file (PEM, DER, or PKCS12 format). The path must be UTF-8
+certificate file (PEM, DER, or PKCS#12 format). The path must be UTF-8
encoded; use g_filename_to_utf8() to convert if needed. Passing NULL with
any scheme clears the client certificate.cert_path :when
@@ -2511,7 +2511,7 @@ key password to prevent unauthorized access to unencrypted private key data.
scheme is set to either NM_SETTING_802_1X_CK_SCHEME_PATH
or NM_SETTING_802_1X_CK_SCHEME_BLOB, pass the path of the "phase2" client
-certificate file (PEM, DER, or PKCS12 format). The path must be UTF-8
+certificate file (PEM, DER, or PKCS#12 format). The path must be UTF-8
encoded; use g_filename_to_utf8() to convert if needed. Passing NULL with
any scheme clears the "phase2" client certificate.key_path :when
@@ -2757,7 +2757,7 @@ key password to prevent unauthorized access to unencrypted private key data.
scheme is set to either NM_SETTING_802_1X_CK_SCHEME_PATH or
NM_SETTING_802_1X_CK_SCHEME_BLOB, pass the path of the private key file
-(PEM, DER, or PKCS12 format). The path must be UTF-8 encoded; use
+(PEM, DER, or PKCS#12 format). The path must be UTF-8 encoded; use
g_filename_to_utf8() to convert if needed. Passing NULL with any scheme
clears the private key.key_path :when
@@ -3165,15 +3165,15 @@ and path. When using the blob scheme and private keys, this property
should be set to the key's encrypted PEM encoded data. When using private
keys with the path scheme, this property should be set to the full UTF-8
encoded path of the key, prefixed with the string "file://" and ending
-with a terminating NUL byte. When using PKCS12 format private keys and
-the blob scheme, this property should be set to the PKCS12 data and the
+with a terminating NUL byte. When using PKCS#12 format private keys and
+the blob scheme, this property should be set to the PKCS#12 data and the
"phase2-private-key-password" property must be set to
-password used to decrypt the PKCS12 certificate and key. When using
-PKCS12 files and the path scheme, this property should be set to the
+password used to decrypt the PKCS#12 certificate and key. When using
+PKCS#12 files and the path scheme, this property should be set to the
full UTF-8 encoded path of the key, prefixed with the string "file://"
and and ending with a terminating NUL byte, and as with the blob scheme
the "phase2-private-key-password" property must be set to
-the password used to decode the PKCS12 private key and certificate.
+the password used to decode the PKCS#12 private key and certificate.
scheme is set to either NM_SETTING_802_1X_CK_SCHEME_PATH or
NM_SETTING_802_1X_CK_SCHEME_BLOB, pass the path of the "phase2" private
-key file (PEM, DER, or PKCS12 format). The path must be UTF-8 encoded;
+key file (PEM, DER, or PKCS#12 format). The path must be UTF-8 encoded;
use g_filename_to_utf8() to convert if needed. Passing NULL with any
scheme clears the private key.
Setting this property directly is discouraged; use the @@ -3187,7 +3187,7 @@ Setting this property directly is discouraged; use the
The password used to decrypt the "phase 2" private key specified in the
"phase2-private-key" property when the private key either
-uses the path scheme, or is a PKCS12 format key. Setting this property
+uses the path scheme, or is a PKCS#12 format key. Setting this property
directly is not generally necessary except when returning secrets to
NetworkManager; it is generally set automatically when setting the
private key by the nm_setting_802_1x_set_phase2_private_key() function.
@@ -3250,15 +3250,15 @@ and path. When using the blob scheme and private keys, this property
should be set to the key's encrypted PEM encoded data. When using private
keys with the path scheme, this property should be set to the full UTF-8
encoded path of the key, prefixed with the string "file://" and ending
-with a terminating NUL byte. When using PKCS12 format private keys and
-the blob scheme, this property should be set to the PKCS12 data and the
+with a terminating NUL byte. When using PKCS#12 format private keys and
+the blob scheme, this property should be set to the PKCS#12 data and the
"private-key-password" property must be set to password
-used to decrypt the PKCS12 certificate and key. When using PKCS12 files
+used to decrypt the PKCS#12 certificate and key. When using PKCS#12 files
and the path scheme, this property should be set to the full UTF-8
encoded path of the key, prefixed with the string "file://" and and
ending with a terminating NUL byte, and as with the blob scheme the
"private-key-password" property must be set to the password used to
-decode the PKCS12 private key and certificate.
+decode the PKCS#12 private key and certificate.
Setting this property directly is discouraged; use the @@ -3279,7 +3279,7 @@ private key data.
The password used to decrypt the private key specified in the
"private-key" property when the private key either uses the
-path scheme, or if the private key is a PKCS12 format key. Setting this
+path scheme, or if the private key is a PKCS#12 format key. Setting this
property directly is not generally necessary except when returning
secrets to NetworkManager; it is generally set automatically when setting
the private key by the nm_setting_802_1x_set_private_key() function.
diff --git a/docs/libnm-util/html/NMSettingBluetooth.html b/docs/libnm-util/html/NMSettingBluetooth.html
index d627ed93..622a3c2c 100644
--- a/docs/libnm-util/html/NMSettingBluetooth.html
+++ b/docs/libnm-util/html/NMSettingBluetooth.html
@@ -291,7 +291,8 @@ either DUN to a DUN-capable device or PANU to a NAP-capable device).
Returns :
NM_SETTING_BLUETOOTH_PANU or NM_SETTING_BLUETOOTH_DUN
+NM_SETTING_BLUETOOTH_TYPE_PANU or
+NM_SETTING_BLUETOOTH_TYPE_DUN
void);
@@ -324,6 +325,14 @@ Registers an error quark for
+#define NM_SETTING_BOND_OPTION_LACP_RATE "lacp_rate" ++
+
+ +typedef struct _NMSettingBond NMSettingBond;
diff --git a/docs/libnm-util/html/NMSettingConnection.html b/docs/libnm-util/html/NMSettingConnection.html index 7bf190c2..508a3b8f 100644 --- a/docs/libnm-util/html/NMSettingConnection.html +++ b/docs/libnm-util/html/NMSettingConnection.html @@ -1131,6 +1131,9 @@ set, then the connection can be attached to any interface of the appropriate type (subject to restrictions imposed by other settings).
+For software devices this specifies the name of the created device. +
+
For connection types where interface names cannot easily be made
persistent (e.g. mobile broadband or USB Ethernet), this property should
not be used. Setting this property restricts the interfaces a connection
diff --git a/docs/libnm-util/html/NMSettingIP4Config.html b/docs/libnm-util/html/NMSettingIP4Config.html
index e44b6d49..20a04ac1 100644
--- a/docs/libnm-util/html/NMSettingIP4Config.html
+++ b/docs/libnm-util/html/NMSettingIP4Config.html
@@ -53,6 +53,7 @@ enum NM_SETTING_IP4_CONFIG_DNS_SEARCH
#define NM_SETTING_IP4_CONFIG_ADDRESSES
#define NM_SETTING_IP4_CONFIG_ROUTES
+#define NM_SETTING_IP4_CONFIG_ROUTE_METRIC
#define NM_SETTING_IP4_CONFIG_IGNORE_AUTO_ROUTES
#define NM_SETTING_IP4_CONFIG_IGNORE_AUTO_DNS
#define NM_SETTING_IP4_CONFIG_DHCP_CLIENT_ID
@@ -157,6 +158,8 @@ const char * NMSettingIP4Config *setting,
NMIP4Route *route);
void nm_setting_ip4_config_clear_routes (NMSettingIP4Config *setting);
+gint64 nm_setting_ip4_config_get_route_metric
+ (NMSettingIP4Config *setting);
gboolean nm_setting_ip4_config_get_ignore_auto_routes
(NMSettingIP4Config *setting);
gboolean nm_setting_ip4_config_get_ignore_auto_dns
@@ -195,7 +198,6 @@ const char *
- "address-labels" GSList_gchararray_* : Read / Write "addresses" GPtrArray_GArray_guint__* : Read / Write "dhcp-client-id" gchar* : Read / Write "dhcp-hostname" gchar* : Read / Write @@ -207,6 +209,7 @@ const char * may-fail" gboolean : Read / Write / Construct "method" gchar* : Read / Write "never-default" gboolean : Read / Write / Construct + "route-metric" gint64 : Read / Write / Construct "routes" GPtrArray_GArray_guint__* : Read / Write
#define NM_SETTING_IP4_CONFIG_ROUTE_METRIC "route-metric" ++
+
+#define NM_SETTING_IP4_CONFIG_IGNORE_AUTO_ROUTES "ignore-auto-routes"@@ -1765,6 +1776,35 @@ Removes all configured routes.
gint64 nm_setting_ip4_config_get_route_metric
+ (NMSettingIP4Config *setting);
++Returns the value contained in the "route-metric" +property. +
+
|
+the NMSettingIP4Config + | +
Returns : |
+the route metric that is used for IPv4 routes that don't explicitly +specify a metric. See "route-metric" for more details. | +
Since 1.0
+gboolean nm_setting_ip4_config_get_ignore_auto_routes
(NMSettingIP4Config *setting);
@@ -1967,14 +2007,6 @@ for the connection to succeed.
"address-labels" property "address-labels" GSList_gchararray_* : Read / Write
--Internal use only. -
-"addresses" property "addresses" GPtrArray_GArray_guint__* : Read / Write
@@ -2116,6 +2148,24 @@ meaning it will never be assigned the default route by NetworkManager.
"route-metric" property"route-metric" gint64 : Read / Write / Construct+
+The default metric for routes that don't explicitly specify a metric. +The default value -1 means that the metric is choosen automatically +based on the device type. +The metric applies to dynamic routes, manual (static) routes that +don't have an explicit metric setting, address prefix routes, and +the default route. +As the linux kernel accepts zero (0) as a valid metric, zero is +a valid value. +
+Allowed values: [-1,4294967295]
+Default value: -1
+Since 1.0
+"routes" property "routes" GPtrArray_GArray_guint__* : Read / Write
diff --git a/docs/libnm-util/html/NMSettingIP6Config.html b/docs/libnm-util/html/NMSettingIP6Config.html
index 71ac6e05..b785114d 100644
--- a/docs/libnm-util/html/NMSettingIP6Config.html
+++ b/docs/libnm-util/html/NMSettingIP6Config.html
@@ -53,6 +53,7 @@ enum NM_SETTING_IP6_CONFIG_DNS_SEARCH
#define NM_SETTING_IP6_CONFIG_ADDRESSES
#define NM_SETTING_IP6_CONFIG_ROUTES
+#define NM_SETTING_IP6_CONFIG_ROUTE_METRIC
#define NM_SETTING_IP6_CONFIG_IGNORE_AUTO_ROUTES
#define NM_SETTING_IP6_CONFIG_IGNORE_AUTO_DNS
#define NM_SETTING_IP6_CONFIG_NEVER_DEFAULT
@@ -160,6 +161,8 @@ const char * void nm_setting_ip6_config_clear_routes (NMSettingIP6Config *setting);
gboolean nm_setting_ip6_config_get_ignore_auto_routes
(NMSettingIP6Config *setting);
+gint64 nm_setting_ip6_config_get_route_metric
+ (NMSettingIP6Config *setting);
gboolean nm_setting_ip6_config_get_ignore_auto_dns
(NMSettingIP6Config *setting);
const char * nm_setting_ip6_config_get_dhcp_hostname
@@ -208,6 +211,7 @@ const char * may-fail" gboolean : Read / Write / Construct
"method" gchar* : Read / Write
"never-default" gboolean : Read / Write / Construct
+ "route-metric" gint64 : Read / Write / Construct
"routes" GPtrArray_GValueArray_GArray_guchar_+guint+GArray_guchar_+guint__* : Read / Write
#define NM_SETTING_IP6_CONFIG_ROUTE_METRIC "route-metric" ++
+
+#define NM_SETTING_IP6_CONFIG_IGNORE_AUTO_ROUTES "ignore-auto-routes"@@ -1845,6 +1857,35 @@ ignored.
gint64 nm_setting_ip6_config_get_route_metric
+ (NMSettingIP6Config *setting);
++Returns the value contained in the "route-metric" +property. +
+
|
+the NMSettingIP6Config + | +
Returns : |
+the route metric that is used for IPv6 routes that don't explicitly +specify a metric. See "route-metric" for more details. | +
Since 1.0
+gboolean nm_setting_ip6_config_get_ignore_auto_dns
(NMSettingIP6Config *setting);
@@ -2125,6 +2166,24 @@ NetworkManager.
"route-metric" property"route-metric" gint64 : Read / Write / Construct+
+The default metric for routes that don't explicitly specify a metric. +The default value -1 means that the metric is choosen automatically +based on the device type. +The metric applies to dynamic routes, manual (static) routes that +don't have an explicit metric setting, address prefix routes, and +the default route. +As the linux kernel replaces zero (0) by 1024 (user-default), setting +this property to 0 means effectively setting it to 1024. +
+Allowed values: [-1,4294967295]
+Default value: -1
+Since 1.0
+"routes" property "routes" GPtrArray_GValueArray_GArray_guchar_+guint+GArray_guchar_+guint__* : Read / Write
diff --git a/docs/libnm-util/html/NMSettingVPN.html b/docs/libnm-util/html/NMSettingVPN.html
index 646871a0..97cc809f 100644
--- a/docs/libnm-util/html/NMSettingVPN.html
+++ b/docs/libnm-util/html/NMSettingVPN.html
@@ -50,6 +50,7 @@ enum GQuark nm_setting_vpn_error_quark (void);
#define NM_SETTING_VPN_SERVICE_TYPE
#define NM_SETTING_VPN_USER_NAME
+#define NM_SETTING_VPN_PERSISTENT
#define NM_SETTING_VPN_DATA
#define NM_SETTING_VPN_SECRETS
NMSettingVPN;
@@ -60,6 +61,7 @@ enum NMSetting * nm_setting_vpn_new (void);
const char * nm_setting_vpn_get_service_type (NMSettingVPN *setting);
const char * nm_setting_vpn_get_user_name (NMSettingVPN *setting);
+gboolean nm_setting_vpn_get_persistent (NMSettingVPN *setting);
guint32 nm_setting_vpn_get_num_data_items (NMSettingVPN *setting);
void nm_setting_vpn_add_data_item (NMSettingVPN *setting,
const char *key,
@@ -100,6 +102,7 @@ const char *
"data" GHashTable_gchararray+gchararray_* : Read / Write + "persistent" gboolean : Read / Write "secrets" GHashTable_gchararray+gchararray_* : Read / Write "service-type" gchar* : Read / Write "user-name" gchar* : Read / Write @@ -204,6 +207,14 @@ Registers an error quark for +NM_SETTING_VPN_PERSISTENT
+#define NM_SETTING_VPN_PERSISTENT "persistent" +++
+
#define NM_SETTING_VPN_DATA "data"@@ -339,6 +350,28 @@ plugin that should be used to connect to this VPN.
gboolean nm_setting_vpn_get_persistent (NMSettingVPN *setting);
+
|
+the NMSettingVPN + | +
Returns : |
+the "persistent" property of the setting | +
guint32 nm_setting_vpn_get_num_data_items (NMSettingVPN *setting);
@@ -667,6 +700,17 @@ values must be strings.
"persistent" property"persistent" gboolean : Read / Write+
+If the VPN service supports persistence, and this property is TRUE,
+the VPN will attempt to stay connected across link changes and outages,
+until explicitly disconnected.
+
Default value: FALSE
+"secrets" property "secrets" GHashTable_gchararray+gchararray_* : Read / Write
diff --git a/docs/libnm-util/html/NMSettingWireless.html b/docs/libnm-util/html/NMSettingWireless.html
index 803beb00..4d97a075 100644
--- a/docs/libnm-util/html/NMSettingWireless.html
+++ b/docs/libnm-util/html/NMSettingWireless.html
@@ -107,10 +107,10 @@ const char * gboolean nm_setting_wireless_ap_security_compatible
(NMSettingWireless *s_wireless,
NMSettingWirelessSecurity *s_wireless_sec,
- NM80211ApFlags ap_flags,
- NM80211ApSecurityFlags ap_wpa,
- NM80211ApSecurityFlags ap_rsn,
- NM80211Mode ap_mode);
+ NM80211ApFlags ap_flags,
+ NM80211ApSecurityFlags ap_wpa,
+ NM80211ApSecurityFlags ap_rsn,
+ NM80211Mode ap_mode);
const char * nm_setting_wireless_get_security (NMSettingWireless *setting);
gboolean nm_setting_wireless_ap_security_compatible (+NMSettingWireless *s_wireless,NMSettingWirelessSecurity *s_wireless_sec, -NM80211ApFlags ap_flags, -NM80211ApSecurityFlags ap_wpa, -NM80211ApSecurityFlags ap_rsn, -NM80211Mode ap_mode);
NM80211ApFlags ap_flags,
+ NM80211ApSecurityFlags ap_wpa,
+ NM80211ApSecurityFlags ap_rsn,
+ NM80211Mode ap_mode);
Given a NMSettingWireless and an optional NMSettingWirelessSecurity, determine if the configuration given by the settings is compatible with @@ -980,16 +980,16 @@ compatible with which access points.
ap_flags :
NM80211ApFlags of the given access pointNM80211ApFlags of the given access pointap_wpa :
NM80211ApSecurityFlags of the given access point's WPA
+NM80211ApSecurityFlags of the given access point's WPA
capabilitiesap_rsn :
NM80211ApSecurityFlags of the given access point's WPA2/RSN
+NM80211ApSecurityFlags of the given access point's WPA2/RSN
capabilitiesNULL is ok, both for passing and for returning.
Parameter points to an array of items.
This parameter is a 'user_data', for callbacks; many bindings can pass NULL here.
Generics and defining elements of containers and arrays.