![]() |
![]() |
![]() |
libnm-glib Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
enum NMDeviceGenericError; #define NM_DEVICE_GENERIC_ERROR GQuark nm_device_generic_error_quark (void
); #define NM_DEVICE_GENERIC_HW_ADDRESS #define NM_DEVICE_GENERIC_TYPE_DESCRIPTION GObject * nm_device_generic_new (DBusGConnection *connection
,const char *path
); const char * nm_device_generic_get_hw_address (NMDeviceGeneric *device
);
typedef enum { NM_DEVICE_GENERIC_ERROR_UNKNOWN = 0, /*< nick=UnknownError >*/ NM_DEVICE_GENERIC_ERROR_NOT_GENERIC_CONNECTION, /*< nick=NotGenericConnection >*/ NM_DEVICE_GENERIC_ERROR_MISSING_INTERFACE_NAME, /*< nick=MissingInterfaceName >*/ } NMDeviceGenericError;
GQuark nm_device_generic_error_quark (void
);
Registers an error quark for NMDeviceGeneric if necessary.
Returns : |
the error quark used for NMDeviceGeneric errors. |
Since 0.9.10
GObject * nm_device_generic_new (DBusGConnection *connection
,const char *path
);
Creates a new NMDeviceGeneric.
|
the DBusGConnection |
|
the DBus object path of the device |
Returns : |
a new device. [transfer full] |
Since 0.9.10
const char * nm_device_generic_get_hw_address (NMDeviceGeneric *device
);
Gets the hardware address of the NMDeviceGeneric
|
a NMDeviceGeneric |
Returns : |
the hardware address. This is the internal string used by the device, and must not be modified. |
Since 0.9.10