NMRemoteSettings

NMRemoteSettings

Object Hierarchy

  GObject
   +----NMRemoteSettings

Implemented Interfaces

NMRemoteSettings implements NMSettingsInterface.

Properties

  "bus"                      DBusGConnection*      : Read / Write / Construct Only
  "scope"                    guint                 : Read / Write / Construct Only
  "service-running"          gboolean              : Read

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 _NMRemoteSettings 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

Property Details

The "bus" property

  "bus"                      DBusGConnection*      : Read / Write / Construct Only

DBusGConnection.


The "scope" property

  "scope"                    guint                 : Read / Write / Construct Only

NMConnection scope.

Allowed values: <= 2

Default value: 2


The "service-running" property

  "service-running"          gboolean              : Read

Is service running.

Default value: FALSE