| Top |
| GQuark | nm_object_error_quark () |
| DBusGConnection * | nm_object_get_connection () |
| const char * | nm_object_get_path () |
| DBusGConnection * | dbus-connection | Read / Write / Construct Only |
| gchar * | dbus-path | Read / Write / Construct Only |
| enum | NMObjectError |
| #define | NM_OBJECT_ERROR |
| #define | NM_OBJECT_DBUS_CONNECTION |
| #define | NM_OBJECT_DBUS_PATH |
| NMObject | |
| NMObjectClass |
GObject
╰── NMObject
├── NMClient
├── NMDevice
├── NMWimaxNsp
├── NMAccessPoint
├── NMIP4Config
├── NMIP6Config
├── NMActiveConnection
├── NMDHCP4Config
╰── NMDHCP6Config
GQuark
nm_object_error_quark (void);
Registers an error quark for NMObject if necessary.
DBusGConnection *
nm_object_get_connection (NMObject *object);
Gets the NMObject's DBusGConnection.
Describes errors that may result from operations involving a NMObject.
typedef struct {
GObjectClass parent;
/* Signals */
/* The "object-creation-failed" signal is PRIVATE for libnm-glib and
* is not meant for any external usage. It indicates that an error
* occured during creation of an object.
*/
void (*object_creation_failed) (NMObject *master_object,
GError *error,
char *failed_path);
/* Padding for future expansion */
void (*_reserved1) (void);
void (*_reserved2) (void);
void (*_reserved3) (void);
void (*_reserved4) (void);
void (*_reserved5) (void);
void (*_reserved6) (void);
} NMObjectClass;
“dbus-connection” property “dbus-connection” DBusGConnection *
Connection.
Flags: Read / Write / Construct Only
“object-creation-failed” signalvoid user_function (NMObject *master_object, gpointer error, gpointer failed_path, gpointer user_data)
Indicates that an error occured while creating an NMObject object
during property handling of master_object
.
Note: Be aware that the signal is private for libnm-glib's internal use.
master_object |
the object that received the signal |
|
error |
the error that occured while creating object |
|
failed_path |
object path of the failed object |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run First