![]() |
![]() |
![]() |
libnm-glib Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
enum NMDeviceOlpcMeshError; #define NM_DEVICE_OLPC_MESH_ERROR GQuark nm_device_olpc_mesh_error_quark (void
); #define NM_DEVICE_OLPC_MESH_HW_ADDRESS #define NM_DEVICE_OLPC_MESH_COMPANION #define NM_DEVICE_OLPC_MESH_ACTIVE_CHANNEL GObject * nm_device_olpc_mesh_new (DBusGConnection *connection
,const char *path
); const char * nm_device_olpc_mesh_get_hw_address (NMDeviceOlpcMesh *device
); NMDeviceWifi * nm_device_olpc_mesh_get_companion (NMDeviceOlpcMesh *device
); guint32 nm_device_olpc_mesh_get_active_channel (NMDeviceOlpcMesh *device
);
typedef enum { NM_DEVICE_OLPC_MESH_ERROR_UNKNOWN = 0, /*< nick=UnknownError >*/ NM_DEVICE_OLPC_MESH_ERROR_NOT_OLPC_MESH_CONNECTION, /*< nick=NotOlpcMeshConnection >*/ NM_DEVICE_OLPC_MESH_ERROR_INVALID_OLPC_MESH_CONNECTION, /*< nick=InvalidOlpcMeshConnection >*/ } NMDeviceOlpcMeshError;
GQuark nm_device_olpc_mesh_error_quark (void
);
Registers an error quark for NMDeviceOlpcMesh if necessary.
Returns : |
the error quark used for NMDeviceOlpcMesh errors. |
GObject * nm_device_olpc_mesh_new (DBusGConnection *connection
,const char *path
);
Creates a new NMDeviceOlpcMesh.
|
the DBusGConnection |
|
the DBus object path of the device |
Returns : |
a new OlpcMesh device. [transfer full] |
const char * nm_device_olpc_mesh_get_hw_address (NMDeviceOlpcMesh *device
);
Gets the hardware (MAC) address of the NMDeviceOlpcMesh
|
a NMDeviceOlpcMesh |
Returns : |
the hardware address. This is the internal string used by the device, and must not be modified. |
NMDeviceWifi * nm_device_olpc_mesh_get_companion (NMDeviceOlpcMesh *device
);
Gets the companion device of the NMDeviceOlpcMesh.
|
a NMDeviceOlpcMesh |
Returns : |
the companion of the device of NULL . [transfer none]
|