NMSettingsService
NMSettingsService
|
|
Details
NM_SETTINGS_SERVICE_BUS
#define NM_SETTINGS_SERVICE_BUS "bus"
NM_SETTINGS_SERVICE_SCOPE
#define NM_SETTINGS_SERVICE_SCOPE "scope"
NMSettingsService
typedef struct {
GObject parent;
} NMSettingsService;
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_export ()
void nm_settings_service_export (NMSettingsService *self);