![]() |
![]() |
![]() |
libnm-glib Reference Manual | ![]() |
---|---|---|---|---|
#define NM_SETTINGS_ERROR GQuark nm_settings_error_quark (void); #define NM_EXPORTED_CONNECTION_CONNECTION #define NM_EXPORTED_CONNECTION_DBUS_METHOD_INVOCATION NMExportedConnection; NMExportedConnection* nm_exported_connection_new (NMConnection *wrapped); void nm_exported_connection_register_object (NMExportedConnection *connection, NMConnectionScope scope, DBusGConnection *dbus_connection); NMConnection* nm_exported_connection_get_connection (NMExportedConnection *connection); gboolean nm_exported_connection_update (NMExportedConnection *connection, GHashTable *new_settings, GError **err); gboolean nm_exported_connection_delete (NMExportedConnection *connection, GError **err); void nm_exported_connection_signal_updated (NMExportedConnection *connection, GHashTable *new_settings); void nm_exported_connection_signal_removed (NMExportedConnection *connection); #define NM_TYPE_SETTINGS #define NM_SETTINGS (obj) #define NM_SETTINGS_CLASS (klass) #define NM_IS_SETTINGS (obj) #define NM_IS_SETTINGS_CLASS (klass) #define NM_SETTINGS_GET_CLASS (obj) NMSettings; GType nm_settings_get_type (void); GSList* nm_settings_list_connections (NMSettings *settings); void nm_settings_signal_new_connection (NMSettings *settings, NMExportedConnection *connection);
GQuark nm_settings_error_quark (void);
Setting error quark.
Returns : |
the setting error quark |
#define NM_EXPORTED_CONNECTION_DBUS_METHOD_INVOCATION "nm-exported-connection-dbus-method-invocation"
NMExportedConnection* nm_exported_connection_new (NMConnection *wrapped);
|
|
Returns : |
void nm_exported_connection_register_object (NMExportedConnection *connection, NMConnectionScope scope, DBusGConnection *dbus_connection);
|
|
|
|
|
NMConnection* nm_exported_connection_get_connection (NMExportedConnection *connection);
|
|
Returns : |
gboolean nm_exported_connection_update (NMExportedConnection *connection, GHashTable *new_settings, GError **err);
|
|
|
|
|
|
Returns : |
gboolean nm_exported_connection_delete (NMExportedConnection *connection, GError **err);
|
|
|
|
Returns : |
void nm_exported_connection_signal_updated (NMExportedConnection *connection, GHashTable *new_settings);
|
|
|
void nm_exported_connection_signal_removed (NMExportedConnection *connection);
|
#define NM_SETTINGS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NM_TYPE_SETTINGS, NMSettings))
|
#define NM_SETTINGS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), NM_TYPE_SETTINGS, NMSettingsClass))
|
#define NM_IS_SETTINGS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NM_TYPE_SETTINGS))
|
#define NM_IS_SETTINGS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), NM_TYPE_SETTINGS))
|
#define NM_SETTINGS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), NM_TYPE_SETTINGS, NMSettingsClass))
|
GSList* nm_settings_list_connections (NMSettings *settings);
Lists all the available connections.
|
|
Returns : |
the GSList containing NMExportedConnections |
void nm_settings_signal_new_connection (NMSettings *settings, NMExportedConnection *connection);
|
|
|