From de06e5715e780baade318f3490ac7a4c9ce84e32 Mon Sep 17 00:00:00 2001
From: Michael Biebl
+
#include <nm-setting-wireless-security.h>
NMSettingWirelessSecurity;
NMSettingWirelessSecurityClass;
enum NMSettingWirelessSecurityError;
-enum NMWepKeyType;
+enum NMWepKeyType;
#define NM_SETTING_WIRELESS_SECURITY_AUTH_ALG
+#define NM_SETTING_WIRELESS_SECURITY_ERROR
#define NM_SETTING_WIRELESS_SECURITY_GROUP
#define NM_SETTING_WIRELESS_SECURITY_KEY_MGMT
#define NM_SETTING_WIRELESS_SECURITY_LEAP_PASSWORD
@@ -93,7 +94,7 @@ const char * NMSettingWirelessSecurity *setting);
const char * nm_setting_wireless_security_get_leap_password
(NMSettingWirelessSecurity *setting);
-NMSettingSecretFlags nm_setting_wireless_security_get_leap_password_flags
+NMSettingSecretFlags nm_setting_wireless_security_get_leap_password_flags
(NMSettingWirelessSecurity *setting);
const char * nm_setting_wireless_security_get_leap_username
(NMSettingWirelessSecurity *setting);
@@ -111,14 +112,14 @@ const char * guint32 i);
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_wep_key
(NMSettingWirelessSecurity *setting,
guint32 idx);
-NMSettingSecretFlags nm_setting_wireless_security_get_wep_key_flags
+NMSettingSecretFlags nm_setting_wireless_security_get_wep_key_flags
(NMSettingWirelessSecurity *setting);
-NMWepKeyType nm_setting_wireless_security_get_wep_key_type
+NMWepKeyType nm_setting_wireless_security_get_wep_key_type
(NMSettingWirelessSecurity *setting);
guint32 nm_setting_wireless_security_get_wep_tx_keyidx
(NMSettingWirelessSecurity *setting);
@@ -149,6 +150,10 @@ const char *
+ GEnum
+ +----NMWepKeyType
+
typedef enum {
- NM_SETTING_WIRELESS_SECURITY_ERROR_UNKNOWN = 0,
- NM_SETTING_WIRELESS_SECURITY_ERROR_INVALID_PROPERTY,
- NM_SETTING_WIRELESS_SECURITY_ERROR_MISSING_PROPERTY,
- NM_SETTING_WIRELESS_SECURITY_ERROR_MISSING_802_1X_SETTING,
- NM_SETTING_WIRELESS_SECURITY_ERROR_LEAP_REQUIRES_802_1X,
- NM_SETTING_WIRELESS_SECURITY_ERROR_LEAP_REQUIRES_USERNAME,
- NM_SETTING_WIRELESS_SECURITY_ERROR_SHARED_KEY_REQUIRES_WEP
+ NM_SETTING_WIRELESS_SECURITY_ERROR_UNKNOWN = 0, /*< nick=UnknownError >*/
+ NM_SETTING_WIRELESS_SECURITY_ERROR_INVALID_PROPERTY, /*< nick=InvalidProperty >*/
+ NM_SETTING_WIRELESS_SECURITY_ERROR_MISSING_PROPERTY, /*< nick=MissingProperty >*/
+ NM_SETTING_WIRELESS_SECURITY_ERROR_MISSING_802_1X_SETTING, /*< nick=Missing8021xSetting >*/
+ NM_SETTING_WIRELESS_SECURITY_ERROR_LEAP_REQUIRES_802_1X, /*< nick=LEAPRequires8021x >*/
+ NM_SETTING_WIRELESS_SECURITY_ERROR_LEAP_REQUIRES_USERNAME, /*< nick=LEAPRequiresUsername >*/
+ NM_SETTING_WIRELESS_SECURITY_ERROR_SHARED_KEY_REQUIRES_WEP /*< nick=SharedKeyRequiresWEP >*/
} NMSettingWirelessSecurityError;
Returns : |
-the NMSettingSecretFlags pertaining to the + | the NMSettingSecretFlags pertaining to the "leap-password" |
Returns : |
-the NMSettingSecretFlags pertaining to the + | the NMSettingSecretFlags pertaining to the "psk" |
Returns : |
-the NMSettingSecretFlags pertaining to the all WEP keys | +the NMSettingSecretFlags pertaining to the all WEP keys |
NMWepKeyType nm_setting_wireless_security_get_wep_key_type +NMWepKeyType nm_setting_wireless_security_get_wep_key_type (NMSettingWirelessSecurity *setting);
@@ -1266,7 +1279,7 @@ Flags indicating how to handle "wep-key-type" guint : Read / Write / Construct Controls the interpretation of WEP keys. Allowed values are those given -by
NMWepKeyType. If set to 1 and the keys are hexadecimal, they must be +byNMWepKeyType. If set to 1 and the keys are hexadecimal, they must be either 10 or 26 characters in length. If set to 1 and the keys are ASCII keys, they must be either 5 or 13 characters in length. If set to 2, the passphrase is hashed using the de-facto MD5 method to derive the -- cgit 1.3.0-6-gf8a5