| libnm-glib Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
enum NMObjectError; #define NM_OBJECT_ERROR GQuark nm_object_error_quark (void); #define NM_OBJECT_DBUS_CONNECTION #define NM_OBJECT_DBUS_PATH DBusGConnection * nm_object_get_connection (NMObject *object); const char * nm_object_get_path (NMObject *object);
typedef enum {
NM_OBJECT_ERROR_UNKNOWN = 0,
NM_OBJECT_ERROR_OBJECT_CREATION_FAILURE,
} NMObjectError;
Describes errors that may result from operations involving a NMObject.
GQuark nm_object_error_quark (void);
Registers an error quark for NMObject if necessary.
Returns : |
the error quark used for NMObject errors. |
DBusGConnection * nm_object_get_connection (NMObject *object);
Gets the NMObject's DBusGConnection.
|
a NMObject |
Returns : |
the connection. [transfer none] |