NMRemoteSettings

NMRemoteSettings

Synopsis

#define             NM_REMOTE_SETTINGS_BUS
#define             NM_REMOTE_SETTINGS_SCOPE
#define             NM_REMOTE_SETTINGS_SERVICE_RUNNING
                    NMRemoteSettings;
                    NMRemoteSettingsClass;
NMRemoteSettings *  nm_remote_settings_new              (DBusGConnection *bus,
                                                         NMConnectionScope scope);

Description

Details

NM_REMOTE_SETTINGS_BUS

#define NM_REMOTE_SETTINGS_BUS "bus"


NM_REMOTE_SETTINGS_SCOPE

#define NM_REMOTE_SETTINGS_SCOPE "scope"


NM_REMOTE_SETTINGS_SERVICE_RUNNING

#define NM_REMOTE_SETTINGS_SERVICE_RUNNING "service-running"


NMRemoteSettings

typedef struct {
	GObject parent;
} NMRemoteSettings;


NMRemoteSettingsClass

typedef struct {
	GObjectClass parent;

	/* Padding for future expansion */
	void (*_reserved1) (void);
	void (*_reserved2) (void);
	void (*_reserved3) (void);
	void (*_reserved4) (void);
	void (*_reserved5) (void);
	void (*_reserved6) (void);
} NMRemoteSettingsClass;


nm_remote_settings_new ()

NMRemoteSettings *  nm_remote_settings_new              (DBusGConnection *bus,
                                                         NMConnectionScope scope);

Creates a new object representing the remote settings service.

bus :

a valid and connected D-Bus connection

scope :

the settings service scope (either user or system)

Returns :

the new remote settings object on success, or NULL on failure