| libnm-glib Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
#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);
"bus" DBusGConnection* : Read / Write / Construct Only "scope" guint : Read / Write / Construct Only "service-running" gboolean : Read
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;
NMRemoteSettings * nm_remote_settings_new (DBusGConnection *bus,NMConnectionScope scope);
Creates a new object representing the remote settings service.
|
a valid and connected D-Bus connection |
|
the settings service scope (either user or system) |
Returns : |
the new remote settings object on success, or NULL on failure
|