| libnm-glib Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
NMDeviceAdsl; NMDeviceAdslClass; enum NMDeviceAdslError; #define NM_DEVICE_ADSL_CARRIER #define NM_DEVICE_ADSL_ERROR GQuark nm_device_adsl_error_quark (void); gboolean nm_device_adsl_get_carrier (NMDeviceAdsl *device); GObject * nm_device_adsl_new (DBusGConnection *connection,const char *path);
typedef struct {
NMDeviceClass parent;
/* Padding for future expansion */
void (*_reserved1) (void);
void (*_reserved2) (void);
void (*_reserved3) (void);
void (*_reserved4) (void);
void (*_reserved5) (void);
void (*_reserved6) (void);
} NMDeviceAdslClass;
typedef enum {
NM_DEVICE_ADSL_ERROR_UNKNOWN = 0, /*< nick=UnknownError >*/
NM_DEVICE_ADSL_ERROR_NOT_ADSL_CONNECTION, /*< nick=NotAdslConnection >*/
NM_DEVICE_ADSL_ERROR_INVALID_ADSL_CONNECTION, /*< nick=InvalidAdslConnection >*/
} NMDeviceAdslError;
GQuark nm_device_adsl_error_quark (void);
Registers an error quark for NMDeviceAdsl if necessary.
Returns : |
the error quark used for NMDeviceAdsl errors. |
gboolean nm_device_adsl_get_carrier (NMDeviceAdsl *device);
Whether the device has carrier.
|
a NMDeviceAdsl |
Returns : |
TRUE if the device has carrier |
GObject * nm_device_adsl_new (DBusGConnection *connection,const char *path);
Creates a new NMDeviceAdsl.
|
the DBusGConnection |
|
the DBus object path of the device |
Returns : |
a new device |
"carrier" property"carrier" gboolean : Read
Whether the device has carrier.
Default value: FALSE