NMRemoteConnection

NMRemoteConnection

Object Hierarchy

  GObject
   +----NMConnection
         +----NMRemoteConnection

Implemented Interfaces

NMRemoteConnection implements NMSettingsConnectionInterface.

Properties

  "bus"                      DBusGConnection*      : Write / Construct Only
  "init-result"              guint                 : Read

Description

Details

NMRemoteConnection

typedef struct _NMRemoteConnection 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

Property Details

The "bus" property

  "bus"                      DBusGConnection*      : Write / Construct Only

DBusGConnection.


The "init-result" property

  "init-result"              guint                 : Read

Initialization result (PRIVATE).

Allowed values: <= 2

Default value: 0