![]() |
![]() |
![]() |
libnm Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
#define NM_SETTING_CDMA_SETTING_NAME #define NM_SETTING_CDMA_NUMBER #define NM_SETTING_CDMA_USERNAME #define NM_SETTING_CDMA_PASSWORD #define NM_SETTING_CDMA_PASSWORD_FLAGS struct NMSettingCdma; NMSettingCdmaClass; NMSetting * nm_setting_cdma_new (void
); const char * nm_setting_cdma_get_number (NMSettingCdma *setting
); const char * nm_setting_cdma_get_username (NMSettingCdma *setting
); const char * nm_setting_cdma_get_password (NMSettingCdma *setting
); NMSettingSecretFlags nm_setting_cdma_get_password_flags (NMSettingCdma *setting
);
"number" gchar* : Read / Write "password" gchar* : Read / Write "password-flags" NMSettingSecretFlags : Read / Write "username" gchar* : Read / Write
The NMSettingCdma object is a NMSetting subclass that describes properties that allow connections to IS-95-based mobile broadband networks, including those using CDMA2000/EVDO technology.
NMSetting * nm_setting_cdma_new (void
);
Creates a new NMSettingCdma object with default values.
Returns : |
the new empty NMSettingCdma object |
const char * nm_setting_cdma_get_number (NMSettingCdma *setting
);
|
the NMSettingCdma |
Returns : |
the "number" property of the setting |
const char * nm_setting_cdma_get_username (NMSettingCdma *setting
);
|
the NMSettingCdma |
Returns : |
the "username" property of the setting |
const char * nm_setting_cdma_get_password (NMSettingCdma *setting
);
|
the NMSettingCdma |
Returns : |
the "password" property of the setting |
NMSettingSecretFlags nm_setting_cdma_get_password_flags (NMSettingCdma *setting
);
|
the NMSettingCdma |
Returns : |
the NMSettingSecretFlags pertaining to the "password" |
"number"
property "number" gchar* : Read / Write
The number to dial to establish the connection to the CDMA-based mobile broadband network, if any. If not specified, the default number (777) is used when required.
Default value: NULL
"password"
property "password" gchar* : Read / Write
The password used to authenticate with the network, if required. Many providers do not require a password, or accept any password. But if a password is required, it is specified here.
Default value: NULL
"password-flags"
property"password-flags" NMSettingSecretFlags : Read / Write
Flags indicating how to handle the "password" property.