libnm-glib Reference Manual | ||||
---|---|---|---|---|
Top | Description |
Synopsis
#define NM_SETTINGS_SERVICE_BUS #define NM_SETTINGS_SERVICE_SCOPE NMSettingsService; NMSettingsServiceClass; NMExportedConnection * nm_settings_service_get_connection_by_path (NMSettingsService *self
,const char *path
); void nm_settings_service_export (NMSettingsService *self
); void nm_settings_service_export_connection (NMSettingsService *self
,NMSettingsConnectionInterface *exported
);
Details
NMSettingsServiceClass
typedef struct { GObjectClass parent; /* Returned list must contain all NMExportedConnection objects exported * by the settings service. The list (but not the NMExportedConnection * objects) will be freed by caller. */ GSList * (*list_connections) (NMSettingsService *self); void (*add_connection) (NMSettingsService *self, NMConnection *connection, DBusGMethodInvocation *context, /* Only present for D-Bus calls */ NMSettingsAddConnectionFunc callback, gpointer user_data); /* Padding for future expansion */ void (*_reserved1) (void); void (*_reserved2) (void); void (*_reserved3) (void); void (*_reserved4) (void); void (*_reserved5) (void); void (*_reserved6) (void); } NMSettingsServiceClass;
nm_settings_service_get_connection_by_path ()
NMExportedConnection * nm_settings_service_get_connection_by_path (NMSettingsService *self
,const char *path
);
|
|
|
|
Returns : |
nm_settings_service_export_connection ()
void nm_settings_service_export_connection (NMSettingsService *self
,NMSettingsConnectionInterface *exported
);
|
|
|