![]() |
![]() |
![]() |
libnm-util Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
#include <nm-setting-adsl.h> #define NM_SETTING_ADSL_SETTING_NAME enum NMSettingAdslError; #define NM_SETTING_ADSL_ERROR GQuark nm_setting_adsl_error_quark (void
); #define NM_SETTING_ADSL_USERNAME #define NM_SETTING_ADSL_PASSWORD #define NM_SETTING_ADSL_PASSWORD_FLAGS #define NM_SETTING_ADSL_PROTOCOL #define NM_SETTING_ADSL_ENCAPSULATION #define NM_SETTING_ADSL_VPI #define NM_SETTING_ADSL_VCI #define NM_SETTING_ADSL_PROTOCOL_PPPOA #define NM_SETTING_ADSL_PROTOCOL_PPPOE #define NM_SETTING_ADSL_PROTOCOL_IPOATM #define NM_SETTING_ADSL_ENCAPSULATION_VCMUX #define NM_SETTING_ADSL_ENCAPSULATION_LLC NMSettingAdsl; NMSettingAdslClass; NMSetting * nm_setting_adsl_new (void
); const char * nm_setting_adsl_get_username (NMSettingAdsl *setting
); const char * nm_setting_adsl_get_password (NMSettingAdsl *setting
); const char * nm_setting_adsl_get_protocol (NMSettingAdsl *setting
); const char * nm_setting_adsl_get_encapsulation (NMSettingAdsl *setting
); guint32 nm_setting_adsl_get_vpi (NMSettingAdsl *setting
); guint32 nm_setting_adsl_get_vci (NMSettingAdsl *setting
); NMSettingSecretFlags nm_setting_adsl_get_password_flags (NMSettingAdsl *setting
);
"encapsulation" gchar* : Read / Write "password" gchar* : Read / Write "password-flags" guint : Read / Write "protocol" gchar* : Read / Write "username" gchar* : Read / Write "vci" guint : Read / Write "vpi" guint : Read / Write
The NMSettingAdsl object is a NMSetting subclass that describes properties of ADSL connections.
typedef enum { NM_SETTING_ADSL_ERROR_UNKNOWN = 0, /*< nick=UnknownError >*/ NM_SETTING_ADSL_ERROR_INVALID_PROPERTY, /*< nick=InvalidProperty >*/ NM_SETTING_ADSL_ERROR_MISSING_PROPERTY /*< nick=MissingProperty >*/ } NMSettingAdslError;
GQuark nm_setting_adsl_error_quark (void
);
Registers an error quark for NMSettingAdsl if necessary.
Returns : |
the error quark used for NMSettingAdsl errors. |
typedef struct { NMSettingClass parent; /* Padding for future expansion */ void (*_reserved1) (void); void (*_reserved2) (void); void (*_reserved3) (void); void (*_reserved4) (void); } NMSettingAdslClass;
NMSetting * nm_setting_adsl_new (void
);
Creates a new NMSettingAdsl object with default values.
Returns : |
the new empty NMSettingAdsl object |
const char * nm_setting_adsl_get_username (NMSettingAdsl *setting
);
|
the NMSettingAdsl |
Returns : |
the "username" property of the setting |
const char * nm_setting_adsl_get_password (NMSettingAdsl *setting
);
|
the NMSettingAdsl |
Returns : |
the "password" property of the setting |
const char * nm_setting_adsl_get_protocol (NMSettingAdsl *setting
);
|
the NMSettingAdsl |
Returns : |
the "protocol" property of the setting |
const char * nm_setting_adsl_get_encapsulation (NMSettingAdsl *setting
);
|
the NMSettingAdsl |
Returns : |
the "encapsulation" property of the setting |
guint32 nm_setting_adsl_get_vpi (NMSettingAdsl *setting
);
|
the NMSettingAdsl |
Returns : |
the "vpi" property of the setting |
guint32 nm_setting_adsl_get_vci (NMSettingAdsl *setting
);
|
the NMSettingAdsl |
Returns : |
the "vci" property of the setting |
NMSettingSecretFlags nm_setting_adsl_get_password_flags (NMSettingAdsl *setting
);
|
the NMSettingAdsl |
Returns : |
the NMSettingSecretFlags pertaining to the "password" |
"encapsulation"
property "encapsulation" gchar* : Read / Write
ADSL connection encapsulation, can be vcmux or llc.
Default value: NULL
"password"
property "password" gchar* : Read / Write
Password used to authenticate with the ADSL service.
Default value: NULL
"password-flags"
property "password-flags" guint : Read / Write
Flags indicating how to handle "password":.
Allowed values: <= 7
Default value: 0
"protocol"
property "protocol" gchar* : Read / Write
ADSL connection protocol, can be pppoa, pppoe or ipoatm.
Default value: NULL
"username"
property "username" gchar* : Read / Write
Username used to authenticate with the ADSL service.
Default value: NULL
"vci"
property "vci" guint : Read / Write
ADSL connection vci.
Allowed values: <= 65536
Default value: 0