NMExportedConnection

NMExportedConnection

Object Hierarchy

  GObject
   +----NMConnection
         +----NMExportedConnection

Implemented Interfaces

NMExportedConnection implements NMSettingsConnectionInterface.

Description

Details

NMExportedConnection

typedef struct _NMExportedConnection NMExportedConnection;


NMExportedConnectionClass

typedef struct {
	NMConnectionClass parent;

	GHashTable * (*get_settings) (NMExportedConnection *self,
	                              GError **error);

	void (*update) (NMExportedConnection *self,
	                GHashTable *new_settings,
	                DBusGMethodInvocation *context);

	void (*delete) (NMExportedConnection *self,
	                DBusGMethodInvocation *context);

	void (*get_secrets) (NMExportedConnection *self,
	                     const gchar *setting_name,
	                     const gchar **hints,
	                     gboolean request_new,
	                     DBusGMethodInvocation *context);

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


nm_exported_connection_new ()

NMExportedConnection * nm_exported_connection_new       (NMConnectionScope scope);

Creates a new object representing the remote connection.

scope :

the Connection scope (either user or system)

Returns :

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