NMRemoteConnection

NMRemoteConnection

Synopsis

                    NMRemoteConnection;
                    NMRemoteConnectionClass;
NMRemoteConnection * nm_remote_connection_new           (DBusGConnection *bus,
                                                         NMConnectionScope scope,
                                                         const char *path);

Description

Details

NMRemoteConnection

typedef struct {
	NMConnection parent;
} NMRemoteConnection;


NMRemoteConnectionClass

typedef struct {
	NMConnectionClass parent_class;

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


nm_remote_connection_new ()

NMRemoteConnection * nm_remote_connection_new           (DBusGConnection *bus,
                                                         NMConnectionScope scope,
                                                         const char *path);

Creates a new object representing the remote connection.

bus :

a valid and connected D-Bus connection

scope :

the Connection scope (either user or system)

path :

the D-Bus path of the connection as exported by the settings service indicated by scope

Returns :

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