From b436a68a20ff3114ded32a7a3d70cdd4954039f9 Mon Sep 17 00:00:00 2001
From: Michael Biebl
#include <nm-setting-wireless-security.h> -#define NM_SETTING_WIRELESS_SECURITY_SETTING_NAME -enum NMSettingWirelessSecurityError; -#define NM_TYPE_SETTING_WIRELESS_SECURITY_ERROR -#define NM_SETTING_WIRELESS_SECURITY_ERROR -GQuark nm_setting_wireless_security_error_quark - (void); + NMSettingWirelessSecurity; + NMSettingWirelessSecurityClass; +enum NMSettingWirelessSecurityError; enum NMWepKeyType; -#define NM_SETTING_WIRELESS_SECURITY_KEY_MGMT -#define NM_SETTING_WIRELESS_SECURITY_WEP_TX_KEYIDX #define NM_SETTING_WIRELESS_SECURITY_AUTH_ALG -#define NM_SETTING_WIRELESS_SECURITY_PROTO -#define NM_SETTING_WIRELESS_SECURITY_PAIRWISE #define NM_SETTING_WIRELESS_SECURITY_GROUP +#define NM_SETTING_WIRELESS_SECURITY_KEY_MGMT +#define NM_SETTING_WIRELESS_SECURITY_LEAP_PASSWORD +#define NM_SETTING_WIRELESS_SECURITY_LEAP_PASSWORD_FLAGS #define NM_SETTING_WIRELESS_SECURITY_LEAP_USERNAME +#define NM_SETTING_WIRELESS_SECURITY_PAIRWISE +#define NM_SETTING_WIRELESS_SECURITY_PROTO +#define NM_SETTING_WIRELESS_SECURITY_PSK +#define NM_SETTING_WIRELESS_SECURITY_PSK_FLAGS +#define NM_SETTING_WIRELESS_SECURITY_SETTING_NAME #define NM_SETTING_WIRELESS_SECURITY_WEP_KEY0 #define NM_SETTING_WIRELESS_SECURITY_WEP_KEY1 #define NM_SETTING_WIRELESS_SECURITY_WEP_KEY2 #define NM_SETTING_WIRELESS_SECURITY_WEP_KEY3 #define NM_SETTING_WIRELESS_SECURITY_WEP_KEY_FLAGS #define NM_SETTING_WIRELESS_SECURITY_WEP_KEY_TYPE -#define NM_SETTING_WIRELESS_SECURITY_PSK -#define NM_SETTING_WIRELESS_SECURITY_PSK_FLAGS -#define NM_SETTING_WIRELESS_SECURITY_LEAP_PASSWORD -#define NM_SETTING_WIRELESS_SECURITY_LEAP_PASSWORD_FLAGS - NMSettingWirelessSecurity; - NMSettingWirelessSecurityClass; -GType nm_setting_wireless_security_get_type - (void); -NMSetting * nm_setting_wireless_security_new (void); -const char * nm_setting_wireless_security_get_key_mgmt - (NMSettingWirelessSecurity *setting); -guint32 nm_setting_wireless_security_get_num_protos - (NMSettingWirelessSecurity *setting); -const char * nm_setting_wireless_security_get_proto +#define NM_SETTING_WIRELESS_SECURITY_WEP_TX_KEYIDX +gboolean nm_setting_wireless_security_add_group (NMSettingWirelessSecurity *setting, -guint32 i); +const char *group); +gboolean nm_setting_wireless_security_add_pairwise + (NMSettingWirelessSecurity *setting, +const char *pairwise); gboolean nm_setting_wireless_security_add_proto (NMSettingWirelessSecurity *setting,const char *proto); -void nm_setting_wireless_security_remove_proto - (NMSettingWirelessSecurity *setting, -guint32 i); +void nm_setting_wireless_security_clear_groups + (NMSettingWirelessSecurity *setting); +void nm_setting_wireless_security_clear_pairwise + (NMSettingWirelessSecurity *setting); void nm_setting_wireless_security_clear_protos (NMSettingWirelessSecurity *setting); -guint32 nm_setting_wireless_security_get_num_pairwise +GQuark nm_setting_wireless_security_error_quark + (void); +const char * nm_setting_wireless_security_get_auth_alg (NMSettingWirelessSecurity *setting); -const char * nm_setting_wireless_security_get_pairwise - (NMSettingWirelessSecurity *setting, -guint32 i); -gboolean nm_setting_wireless_security_add_pairwise - (NMSettingWirelessSecurity *setting, -const char *pairwise); -void nm_setting_wireless_security_remove_pairwise +const char * nm_setting_wireless_security_get_group (NMSettingWirelessSecurity *setting,guint32 i); -void nm_setting_wireless_security_clear_pairwise +const char * nm_setting_wireless_security_get_key_mgmt + (NMSettingWirelessSecurity *setting); +const char * nm_setting_wireless_security_get_leap_password + (NMSettingWirelessSecurity *setting); +NMSettingSecretFlags nm_setting_wireless_security_get_leap_password_flags + (NMSettingWirelessSecurity *setting); +const char * nm_setting_wireless_security_get_leap_username (NMSettingWirelessSecurity *setting); guint32 nm_setting_wireless_security_get_num_groups (NMSettingWirelessSecurity *setting); -const char * nm_setting_wireless_security_get_group +guint32 nm_setting_wireless_security_get_num_pairwise + (NMSettingWirelessSecurity *setting); +guint32 nm_setting_wireless_security_get_num_protos + (NMSettingWirelessSecurity *setting); +const char * nm_setting_wireless_security_get_pairwise (NMSettingWirelessSecurity *setting,guint32 i); -gboolean nm_setting_wireless_security_add_group - (NMSettingWirelessSecurity *setting, -const char *group); -void nm_setting_wireless_security_remove_group +const char * nm_setting_wireless_security_get_proto (NMSettingWirelessSecurity *setting,guint32 i); -void nm_setting_wireless_security_clear_groups - (NMSettingWirelessSecurity *setting); const char * nm_setting_wireless_security_get_psk (NMSettingWirelessSecurity *setting); -NMSettingSecretFlags nm_setting_wireless_security_get_psk_flags +NMSettingSecretFlags nm_setting_wireless_security_get_psk_flags (NMSettingWirelessSecurity *setting); -const char * nm_setting_wireless_security_get_leap_username +const char * nm_setting_wireless_security_get_wep_key + (NMSettingWirelessSecurity *setting, +guint32 idx); +NMSettingSecretFlags nm_setting_wireless_security_get_wep_key_flags (NMSettingWirelessSecurity *setting); -const char * nm_setting_wireless_security_get_leap_password +NMWepKeyType nm_setting_wireless_security_get_wep_key_type (NMSettingWirelessSecurity *setting); -NMSettingSecretFlags nm_setting_wireless_security_get_leap_password_flags +guint32 nm_setting_wireless_security_get_wep_tx_keyidx (NMSettingWirelessSecurity *setting); -const char * nm_setting_wireless_security_get_wep_key +NMSetting * nm_setting_wireless_security_new (void); +void nm_setting_wireless_security_remove_group (NMSettingWirelessSecurity *setting, -guint32 idx); +guint32 i); +void nm_setting_wireless_security_remove_pairwise + (NMSettingWirelessSecurity *setting, +guint32 i); +void nm_setting_wireless_security_remove_proto + (NMSettingWirelessSecurity *setting, +guint32 i); void nm_setting_wireless_security_set_wep_key (NMSettingWirelessSecurity *setting,guint32 idx,const char *key); -guint32 nm_setting_wireless_security_get_wep_tx_keyidx - (NMSettingWirelessSecurity *setting); -const char * nm_setting_wireless_security_get_auth_alg - (NMSettingWirelessSecurity *setting); -NMSettingSecretFlags nm_setting_wireless_security_get_wep_key_flags - (NMSettingWirelessSecurity *setting); -NMWepKeyType nm_setting_wireless_security_get_wep_key_type - (NMSettingWirelessSecurity *setting);
- GEnum - +----NMSettingWirelessSecurityError -
GObject +----NMSetting +----NMSettingWirelessSecurity+
+ GEnum + +----NMSettingWirelessSecurityError +
#define NM_SETTING_WIRELESS_SECURITY_SETTING_NAME "802-11-wireless-security" +NMSettingWirelessSecurity
+typedef struct _NMSettingWirelessSecurity NMSettingWirelessSecurity;++
+
typedef struct {
+ NMSettingClass parent;
+
+ /* Padding for future expansion */
+ void (*_reserved1) (void);
+ void (*_reserved2) (void);
+ void (*_reserved3) (void);
+ void (*_reserved4) (void);
+} NMSettingWirelessSecurityClass;
typedef enum {
NM_SETTING_WIRELESS_SECURITY_ERROR_UNKNOWN = 0,
NM_SETTING_WIRELESS_SECURITY_ERROR_INVALID_PROPERTY,
@@ -270,30 +281,6 @@ encryption protocol
#define NM_TYPE_SETTING_WIRELESS_SECURITY_ERROR (nm_setting_wireless_security_error_get_type ()) --
-
-#define NM_SETTING_WIRELESS_SECURITY_ERROR nm_setting_wireless_security_error_quark () --
-
-GQuark nm_setting_wireless_security_error_quark
- (void);
--
-typedef enum {
NM_WEP_KEY_TYPE_UNKNOWN = 0,
@@ -348,48 +335,40 @@ the actual WEP key using the MD5 hash algorithm.
#define NM_SETTING_WIRELESS_SECURITY_KEY_MGMT "key-mgmt" --
-
-#define NM_SETTING_WIRELESS_SECURITY_WEP_TX_KEYIDX "wep-tx-keyidx" +NM_SETTING_WIRELESS_SECURITY_AUTH_ALG
+#define NM_SETTING_WIRELESS_SECURITY_AUTH_ALG "auth-alg"
#define NM_SETTING_WIRELESS_SECURITY_AUTH_ALG "auth-alg" +NM_SETTING_WIRELESS_SECURITY_GROUP
+#define NM_SETTING_WIRELESS_SECURITY_GROUP "group"
#define NM_SETTING_WIRELESS_SECURITY_PROTO "proto" +NM_SETTING_WIRELESS_SECURITY_KEY_MGMT
+#define NM_SETTING_WIRELESS_SECURITY_KEY_MGMT "key-mgmt"
#define NM_SETTING_WIRELESS_SECURITY_PAIRWISE "pairwise" +NM_SETTING_WIRELESS_SECURITY_LEAP_PASSWORD
+#define NM_SETTING_WIRELESS_SECURITY_LEAP_PASSWORD "leap-password"
#define NM_SETTING_WIRELESS_SECURITY_GROUP "group" +NM_SETTING_WIRELESS_SECURITY_LEAP_PASSWORD_FLAGS
+#define NM_SETTING_WIRELESS_SECURITY_LEAP_PASSWORD_FLAGS "leap-password-flags"@@ -404,138 +383,114 @@ the actual WEP key using the MD5 hash algorithm.
#define NM_SETTING_WIRELESS_SECURITY_WEP_KEY0 "wep-key0" +NM_SETTING_WIRELESS_SECURITY_PAIRWISE
+#define NM_SETTING_WIRELESS_SECURITY_PAIRWISE "pairwise"
#define NM_SETTING_WIRELESS_SECURITY_WEP_KEY1 "wep-key1" +NM_SETTING_WIRELESS_SECURITY_PROTO
+#define NM_SETTING_WIRELESS_SECURITY_PROTO "proto"
#define NM_SETTING_WIRELESS_SECURITY_WEP_KEY2 "wep-key2" +NM_SETTING_WIRELESS_SECURITY_PSK
+#define NM_SETTING_WIRELESS_SECURITY_PSK "psk"
#define NM_SETTING_WIRELESS_SECURITY_WEP_KEY3 "wep-key3" +NM_SETTING_WIRELESS_SECURITY_PSK_FLAGS
+#define NM_SETTING_WIRELESS_SECURITY_PSK_FLAGS "psk-flags"
#define NM_SETTING_WIRELESS_SECURITY_WEP_KEY_FLAGS "wep-key-flags" +NM_SETTING_WIRELESS_SECURITY_SETTING_NAME
+#define NM_SETTING_WIRELESS_SECURITY_SETTING_NAME "802-11-wireless-security"
#define NM_SETTING_WIRELESS_SECURITY_WEP_KEY_TYPE "wep-key-type" +NM_SETTING_WIRELESS_SECURITY_WEP_KEY0
+#define NM_SETTING_WIRELESS_SECURITY_WEP_KEY0 "wep-key0"
#define NM_SETTING_WIRELESS_SECURITY_PSK "psk" +NM_SETTING_WIRELESS_SECURITY_WEP_KEY1
+#define NM_SETTING_WIRELESS_SECURITY_WEP_KEY1 "wep-key1"
#define NM_SETTING_WIRELESS_SECURITY_PSK_FLAGS "psk-flags" +NM_SETTING_WIRELESS_SECURITY_WEP_KEY2
+#define NM_SETTING_WIRELESS_SECURITY_WEP_KEY2 "wep-key2"
#define NM_SETTING_WIRELESS_SECURITY_LEAP_PASSWORD "leap-password" +NM_SETTING_WIRELESS_SECURITY_WEP_KEY3
+#define NM_SETTING_WIRELESS_SECURITY_WEP_KEY3 "wep-key3"
#define NM_SETTING_WIRELESS_SECURITY_LEAP_PASSWORD_FLAGS "leap-password-flags" +NM_SETTING_WIRELESS_SECURITY_WEP_KEY_FLAGS
+#define NM_SETTING_WIRELESS_SECURITY_WEP_KEY_FLAGS "wep-key-flags"
typedef struct _NMSettingWirelessSecurity NMSettingWirelessSecurity;-
-
-typedef struct {
- NMSettingClass parent;
-
- /* Padding for future expansion */
- void (*_reserved1) (void);
- void (*_reserved2) (void);
- void (*_reserved3) (void);
- void (*_reserved4) (void);
-} NMSettingWirelessSecurityClass;
+NM_SETTING_WIRELESS_SECURITY_WEP_KEY_TYPE
+#define NM_SETTING_WIRELESS_SECURITY_WEP_KEY_TYPE "wep-key-type"
GType nm_setting_wireless_security_get_type
- (void);
+#define NM_SETTING_WIRELESS_SECURITY_WEP_TX_KEYIDX "wep-tx-keyidx" +
NMSetting * nm_setting_wireless_security_new (void);
+gboolean nm_setting_wireless_security_add_group + (NMSettingWirelessSecurity *setting, +const char *group);
-Creates a new NMSettingWirelessSecurity object with default values. +Adds an encryption algorithm to the list of allowed groupwise encryption +algorithms. If the list is not empty, then only access points that support +one or more of the encryption algorithms in the list will be considered +compatible with this connection.
Returns : |
-the new empty NMSettingWirelessSecurity object. [transfer full] - | -
const char * nm_setting_wireless_security_get_key_mgmt
- (NMSettingWirelessSecurity *setting);
-
|
@@ -543,39 +498,31 @@ Creates a new Returns :
-the "key-mgmt" property of the setting | -
guint32 nm_setting_wireless_security_get_num_protos
- (NMSettingWirelessSecurity *setting);
-
|
-the NMSettingWirelessSecurity - | +
|
+the encryption algorithm to add, one of "wep40", "wep104", +"tkip", or "ccmp" |
Returns : |
-the number of security protocols this connection allows when -connecting to secure WiFi networks | +
+TRUE if the algorithm was added to the list, FALSE if it was
+already in the list |
const char * nm_setting_wireless_security_get_proto ++nm_setting_wireless_security_add_pairwise ()
+gboolean nm_setting_wireless_security_add_pairwise (+NMSettingWirelessSecurity *setting, -guint32 i);const char *pairwise);
+Adds an encryption algorithm to the list of allowed pairwise encryption +algorithms. If the list is not empty, then only access points that support +one or more of the encryption algorithms in the list will be considered +compatible with this connection. +
|
-an index into the protocol list | +
|
+the encryption algorithm to add, one of "wep40", "wep104", +"tkip", or "ccmp" |
Returns : |
-the protocol at index i
- |
+
+TRUE if the algorithm was added to the list, FALSE if it was
+already in the list |
void nm_setting_wireless_security_remove_proto - (+NMSettingWirelessSecurity *setting, -guint32 i);
void nm_setting_wireless_security_clear_groups
+ (NMSettingWirelessSecurity *setting);
-Removes a protocol from the allowed protocol list. +Removes all algorithms from the allowed list. If there are no algorithms +specified then all groupwise encryption algorithms are allowed.
|
the NMSettingWirelessSecurity | -
|
-index of the protocol to remove | -
void nm_setting_wireless_security_clear_pairwise
+ (NMSettingWirelessSecurity *setting);
++Removes all algorithms from the allowed list. If there are no algorithms +specified then all pairwise encryption algorithms are allowed. +
+
|
+the NMSettingWirelessSecurity + | +
guint32 nm_setting_wireless_security_get_num_pairwise +nm_setting_wireless_security_error_quark ()
+GQuark nm_setting_wireless_security_error_quark + (+void);+
+
const char * nm_setting_wireless_security_get_auth_alg
(NMSettingWirelessSecurity *setting);
Returns : |
-the number of pairwise encryption algorithms in the allowed list | +the "auth-alg" property of the setting |
const char * nm_setting_wireless_security_get_pairwise +nm_setting_wireless_security_get_group ()
+const char * nm_setting_wireless_security_get_group (NMSettingWirelessSecurity *setting,guint32 i);-Returns the allowed pairwise encryption algorithm from allowed algorithm +Returns the allowed groupwise encryption algorithm from allowed algorithm list.
@@ -713,11 +682,11 @@ list.
-
i:index of an item in the allowed pairwise encryption algorithm list +index of an item in the allowed groupwise encryption algorithm list @@ -725,16 +694,9 @@ list. - Returns :
the pairwise encryption algorithm at index i+the groupwise encryption algorithm at index i
-+nm_setting_wireless_security_add_pairwise ()
-gboolean nm_setting_wireless_security_add_pairwise - (-NMSettingWirelessSecurity *setting, -const char *pairwise);-Adds an encryption algorithm to the list of allowed pairwise encryption -algorithms. If the list is not empty, then only access points that support -one or more of the encryption algorithms in the list will be considered -compatible with this connection. -
+nm_setting_wireless_security_get_key_mgmt ()
+const char * nm_setting_wireless_security_get_key_mgmt + (NMSettingWirelessSecurity *setting);+
@@ -744,29 +706,37 @@ compatible with this connection. - + +-
pairwise:the encryption algorithm to add, one of "wep40", "wep104", -"tkip", or "ccmp" ++ Returns :
the "key-mgmt" property of the setting +
++nm_setting_wireless_security_get_leap_password ()
+const char * nm_setting_wireless_security_get_leap_password + (+NMSettingWirelessSecurity *setting);+
+ + + +
setting:the NMSettingWirelessSecurity + - Returns :
- +TRUEif the algorithm was added to the list,FALSEif it was -already in the listthe "leap-password" property of the setting
-nm_setting_wireless_security_remove_pairwise ()
-void nm_setting_wireless_security_remove_pairwise - (-NMSettingWirelessSecurity *setting, -guint32 i);-Removes an encryption algorithm from the allowed pairwise encryption -algorithm list. -
+nm_setting_wireless_security_get_leap_password_flags ()
+NMSettingSecretFlags nm_setting_wireless_security_get_leap_password_flags + (NMSettingWirelessSecurity *setting);
@@ -776,28 +746,32 @@ algorithm list. - -
i:the index of an item in the allowed pairwise encryption algorithm list ++ Returns :
the NMSettingSecretFlags pertaining to the +"leap-password" +
-nm_setting_wireless_security_clear_pairwise ()
-void nm_setting_wireless_security_clear_pairwise +nm_setting_wireless_security_get_leap_username ()
+const char * nm_setting_wireless_security_get_leap_username (-NMSettingWirelessSecurity *setting);-Removes all algorithms from the allowed list. If there are no algorithms -specified then all pairwise encryption algorithms are allowed. -
- + ++ +
setting:the NMSettingWirelessSecurity -+ ++ Returns :
the "leap-username" property of the setting +
@@ -822,14 +796,9 @@ specified then all pairwise encryption algorithms are allowed.
-nm_setting_wireless_security_get_group ()
-const char * nm_setting_wireless_security_get_group - (-NMSettingWirelessSecurity *setting, -guint32 i);-Returns the allowed groupwise encryption algorithm from allowed algorithm -list. -
+nm_setting_wireless_security_get_num_pairwise ()
+guint32 nm_setting_wireless_security_get_num_pairwise + (NMSettingWirelessSecurity *setting);
@@ -839,29 +808,17 @@ list. - --
i:index of an item in the allowed groupwise encryption algorithm list -- Returns :
the groupwise encryption algorithm at index +i-the number of pairwise encryption algorithms in the allowed list
-nm_setting_wireless_security_add_group ()
-gboolean nm_setting_wireless_security_add_group - (-NMSettingWirelessSecurity *setting, -const char *group);-Adds an encryption algorithm to the list of allowed groupwise encryption -algorithms. If the list is not empty, then only access points that support -one or more of the encryption algorithms in the list will be considered -compatible with this connection. -
+nm_setting_wireless_security_get_num_protos ()
+guint32 nm_setting_wireless_security_get_num_protos + (NMSettingWirelessSecurity *setting);
@@ -871,28 +828,22 @@ compatible with this connection. - --
group:the encryption algorithm to add, one of "wep40", "wep104", -"tkip", or "ccmp" -- Returns :
- +TRUEif the algorithm was added to the list,FALSEif it was -already in the listthe number of security protocols this connection allows when +connecting to secure WiFi networks
-nm_setting_wireless_security_remove_group ()
-void nm_setting_wireless_security_remove_group +nm_setting_wireless_security_get_pairwise ()
+const char * nm_setting_wireless_security_get_pairwise (NMSettingWirelessSecurity *setting,guint32 i);-Removes an encryption algorithm from the allowed groupwise encryption -algorithm list. +Returns the allowed pairwise encryption algorithm from allowed algorithm +list.
@@ -904,27 +855,40 @@ algorithm list. + -
i:the index of an item in the allowed groupwise encryption algorithm list +index of an item in the allowed pairwise encryption algorithm list ++ + Returns :
the pairwise encryption algorithm at index i+
-nm_setting_wireless_security_clear_groups ()
-void nm_setting_wireless_security_clear_groups - (-NMSettingWirelessSecurity *setting);-Removes all algorithms from the allowed list. If there are no algorithms -specified then all groupwise encryption algorithms are allowed. -
+nm_setting_wireless_security_get_proto ()
+const char * nm_setting_wireless_security_get_proto + (NMSettingWirelessSecurity *setting, +guint32 i);
- + ++ +
setting:the NMSettingWirelessSecurity -+ ++
i:an index into the protocol list ++ ++ Returns :
the protocol at index +i+
@@ -950,7 +914,7 @@ specified then all groupwise encryption algorithms are allowed.
nm_setting_wireless_security_get_psk_flags ()
-NMSettingSecretFlags nm_setting_wireless_security_get_psk_flags +NMSettingSecretFlags nm_setting_wireless_security_get_psk_flags (NMSettingWirelessSecurity *setting);
@@ -971,9 +935,10 @@ specified then all groupwise encryption algorithms are allowed.
-nm_setting_wireless_security_get_leap_username ()
-const char * nm_setting_wireless_security_get_leap_username - (+NMSettingWirelessSecurity *setting);nm_setting_wireless_security_get_wep_key ()
+const char * nm_setting_wireless_security_get_wep_key + (NMSettingWirelessSecurity *setting, +guint32 idx);
@@ -983,16 +948,20 @@ specified then all groupwise encryption algorithms are allowed. + ++
idx:the WEP key index (0..3 inclusive) +- Returns :
the "leap-username" property of the setting +the WEP key at the given index
-nm_setting_wireless_security_get_leap_password ()
-const char * nm_setting_wireless_security_get_leap_password +nm_setting_wireless_security_get_wep_key_flags ()
+NMSettingSecretFlags nm_setting_wireless_security_get_wep_key_flags (NMSettingWirelessSecurity *setting);
@@ -1004,15 +973,15 @@ specified then all groupwise encryption algorithms are allowed. - Returns :
the "leap-password" property of the setting +the NMSettingSecretFlags pertaining to the all WEP keys
-nm_setting_wireless_security_get_leap_password_flags ()
-NMSettingSecretFlags nm_setting_wireless_security_get_leap_password_flags +nm_setting_wireless_security_get_wep_key_type ()
+NMWepKeyType nm_setting_wireless_security_get_wep_key_type (NMSettingWirelessSecurity *setting);
@@ -1024,19 +993,16 @@ specified then all groupwise encryption algorithms are allowed. - Returns :
the NMSettingSecretFlags pertaining to the -"leap-password" - +the "wep-key-type" property of the setting
-nm_setting_wireless_security_get_wep_key ()
-const char * nm_setting_wireless_security_get_wep_key - (+NMSettingWirelessSecurity *setting, -guint32 idx);nm_setting_wireless_security_get_wep_tx_keyidx ()
+guint32 nm_setting_wireless_security_get_wep_tx_keyidx + (NMSettingWirelessSecurity *setting);
@@ -1046,52 +1012,38 @@ specified then all groupwise encryption algorithms are allowed. - --
idx:the WEP key index (0..3 inclusive) -- Returns :
the WEP key at the given index +the "wep-tx-keyidx" property of the setting
-nm_setting_wireless_security_set_wep_key ()
-void nm_setting_wireless_security_set_wep_key - (+NMSettingWirelessSecurity *setting, -guint32 idx, -const char *key);nm_setting_wireless_security_new ()
+NMSetting * nm_setting_wireless_security_new (void);-Sets a WEP key in the given index. +Creates a new NMSettingWirelessSecurity object with default values.
- - - -
setting:the NMSettingWirelessSecurity + + -+ Returns :
the new empty NMSettingWirelessSecurity object. [transfer full] -- --
idx:the index of the key (0..3 inclusive) -- - +-
key:the WEP key as a string, in either hexadecimal, ASCII, or passphrase -form as determiend by the value of the "wep-key-type" -property. -
-nm_setting_wireless_security_get_wep_tx_keyidx ()
-guint32 nm_setting_wireless_security_get_wep_tx_keyidx - (+NMSettingWirelessSecurity *setting);nm_setting_wireless_security_remove_group ()
+void nm_setting_wireless_security_remove_group + (+NMSettingWirelessSecurity *setting, +guint32 i);+Removes an encryption algorithm from the allowed groupwise encryption +algorithm list. +
@@ -1101,17 +1053,22 @@ property. - - Returns :
the "wep-tx-keyidx" property of the setting ++
i:the index of an item in the allowed groupwise encryption algorithm list
-nm_setting_wireless_security_get_auth_alg ()
-const char * nm_setting_wireless_security_get_auth_alg - (+NMSettingWirelessSecurity *setting);nm_setting_wireless_security_remove_pairwise ()
+void nm_setting_wireless_security_remove_pairwise + (+NMSettingWirelessSecurity *setting, +guint32 i);+Removes an encryption algorithm from the allowed pairwise encryption +algorithm list. +
@@ -1121,17 +1078,21 @@ property. - - Returns :
the "auth-alg" property of the setting ++
i:the index of an item in the allowed pairwise encryption algorithm list
-nm_setting_wireless_security_get_wep_key_flags ()
-NMSettingSecretFlags nm_setting_wireless_security_get_wep_key_flags - (+NMSettingWirelessSecurity *setting);nm_setting_wireless_security_remove_proto ()
+void nm_setting_wireless_security_remove_proto + (+NMSettingWirelessSecurity *setting, +guint32 i);+Removes a protocol from the allowed protocol list. +
@@ -1141,17 +1102,22 @@ property. - - Returns :
the NMSettingSecretFlags pertaining to the all WEP keys ++
i:index of the protocol to remove
-+ Generated by GTK-Doc V1.18nm_setting_wireless_security_get_wep_key_type ()
-NMWepKeyType nm_setting_wireless_security_get_wep_key_type - (+NMSettingWirelessSecurity *setting);nm_setting_wireless_security_set_wep_key ()
+void nm_setting_wireless_security_set_wep_key + (+NMSettingWirelessSecurity *setting, +guint32 idx, +const char *key);+Sets a WEP key in the given index. +
@@ -1360,6 +1332,6 @@ Linksys WRT54G) number the keys 1 - 4.
@@ -1161,8 +1127,14 @@ property. - +- Returns :
the "wep-key-type" property of the setting ++
idx:the index of the key (0..3 inclusive) ++ +
key:the WEP key as a string, in either hexadecimal, ASCII, or passphrase +form as determiend by the value of the "wep-key-type" +property.