From f60117b41d5433be1b4a96d82cd11d0c3dce9b63 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Mon, 23 Apr 2018 18:00:21 +0200 Subject: New upstream version 1.11.3 --- docs/libnm/html/NMClient.html | 527 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 523 insertions(+), 4 deletions(-) (limited to 'docs/libnm/html/NMClient.html') diff --git a/docs/libnm/html/NMClient.html b/docs/libnm/html/NMClient.html index 6015f726..2af3621c 100644 --- a/docs/libnm/html/NMClient.html +++ b/docs/libnm/html/NMClient.html @@ -568,6 +568,77 @@ nm_client_get_dns_configuration () + +const GPtrArray * + + +nm_client_get_checkpoints () + + + + +void + + +nm_client_checkpoint_create () + + + + +NMCheckpoint * + + +nm_client_checkpoint_create_finish () + + + + +void + + +nm_client_checkpoint_destroy () + + + + +gboolean + + +nm_client_checkpoint_destroy_finish () + + + + +void + + +nm_client_checkpoint_rollback () + + + + +GHashTable * + + +nm_client_checkpoint_rollback_finish () + + + + +void + + +nm_client_checkpoint_adjust_rollback_timeout () + + + + +gboolean + + +nm_client_checkpoint_adjust_rollback_timeout_finish () + + @@ -606,6 +677,12 @@ GPtrArray * +checkpoints +Read + + + +GPtrArray * connections Read @@ -3470,6 +3547,438 @@ and should not be modified.

Since: 1.6

+
+
+

nm_client_get_checkpoints ()

+
const GPtrArray *
+nm_client_get_checkpoints (NMClient *client);
+

Gets all the active checkpoints.

+
+

Parameters

+
+++++ + + + + + +

client

a NMClient

 
+
+
+

Returns

+

a GPtrArray +containing all the NMCheckpoint. The returned array is owned by the +NMClient object and should not be modified.

+

[transfer none][element-type NMCheckpoint]

+
+

Since: 1.12

+
+
+
+

nm_client_checkpoint_create ()

+
void
+nm_client_checkpoint_create (NMClient *client,
+                             const GPtrArray *devices,
+                             guint32 rollback_timeout,
+                             NMCheckpointCreateFlags flags,
+                             GCancellable *cancellable,
+                             GAsyncReadyCallback callback,
+                             gpointer user_data);
+

Creates a checkpoint of the current networking configuration +for given interfaces. An empty devices + argument means all +devices. If rollback_timeout + is not zero, a rollback is +automatically performed after the given timeout.

+
+

Parameters

+
+++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

client

the NMClient

 

devices

a list of devices for which a +checkpoint should be created.

[element-type NMDevice]

rollback_timeout

the rollback timeout in seconds

 

flags

creation flags

 

cancellable

a GCancellable, or NULL

 

callback

callback to be called when the add operation completes.

[scope async]

user_data

caller-specific data passed to callback +.

[closure]
+
+

Since: 1.12

+
+
+
+

nm_client_checkpoint_create_finish ()

+
NMCheckpoint *
+nm_client_checkpoint_create_finish (NMClient *client,
+                                    GAsyncResult *result,
+                                    GError **error);
+

Gets the result of a call to nm_client_checkpoint_create().

+
+

Parameters

+
+++++ + + + + + + + + + + + + + + + + + +

client

the NMClient

 

result

the result passed to the GAsyncReadyCallback

 

error

location for a GError, or NULL

 
+
+
+

Returns

+

the new NMCheckpoint on success, NULL on +failure, in which case error +will be set.

+

[transfer full]

+
+

Since: 1.12

+
+
+
+

nm_client_checkpoint_destroy ()

+
void
+nm_client_checkpoint_destroy (NMClient *client,
+                              const char *checkpoint_path,
+                              GCancellable *cancellable,
+                              GAsyncReadyCallback callback,
+                              gpointer user_data);
+

Destroys an existing checkpoint without performing a rollback.

+
+

Parameters

+
+++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + +

client

the NMClient

 

checkpoint_path

the D-Bus path for the checkpoint

 

cancellable

a GCancellable, or NULL

 

callback

callback to be called when the add operation completes.

[scope async]

user_data

caller-specific data passed to callback +.

[closure]
+
+

Since: 1.12

+
+
+
+

nm_client_checkpoint_destroy_finish ()

+
gboolean
+nm_client_checkpoint_destroy_finish (NMClient *client,
+                                     GAsyncResult *result,
+                                     GError **error);
+

Gets the result of a call to nm_client_checkpoint_destroy().

+
+

Parameters

+
+++++ + + + + + + + + + + + + + + + + + +

client

an NMClient

 

result

the result passed to the GAsyncReadyCallback

 

error

location for a GError, or NULL

 
+
+
+

Returns

+

TRUE on success or FALSE on failure, in which case +error +will be set.

+
+

Since: 1.12

+
+
+
+

nm_client_checkpoint_rollback ()

+
void
+nm_client_checkpoint_rollback (NMClient *client,
+                               const char *checkpoint_path,
+                               GCancellable *cancellable,
+                               GAsyncReadyCallback callback,
+                               gpointer user_data);
+

Performs the rollback of a checkpoint before the timeout is reached.

+
+

Parameters

+
+++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + +

client

the NMClient

 

checkpoint_path

the D-Bus path to the checkpoint

 

cancellable

a GCancellable, or NULL

 

callback

callback to be called when the add operation completes.

[scope async]

user_data

caller-specific data passed to callback +.

[closure]
+
+

Since: 1.12

+
+
+
+

nm_client_checkpoint_rollback_finish ()

+
GHashTable *
+nm_client_checkpoint_rollback_finish (NMClient *client,
+                                      GAsyncResult *result,
+                                      GError **error);
+

Gets the result of a call to nm_client_checkpoint_rollback().

+
+

Parameters

+
+++++ + + + + + + + + + + + + + + + + + +

client

an NMClient

 

result

the result passed to the GAsyncReadyCallback

 

error

location for a GError, or NULL

 
+
+
+

Returns

+

an hash table of +devices and results. Devices are represented by their original +D-Bus path; each result is a NMRollbackResult.

+

[transfer full][element-type utf8 guint32]

+
+

Since: 1.12

+
+
+
+

nm_client_checkpoint_adjust_rollback_timeout ()

+
void
+nm_client_checkpoint_adjust_rollback_timeout
+                               (NMClient *client,
+                                const char *checkpoint_path,
+                                guint32 add_timeout,
+                                GCancellable *cancellable,
+                                GAsyncReadyCallback callback,
+                                gpointer user_data);
+

Resets the timeout for the checkpoint with path checkpoint_path + +to timeout_add +.

+
+

Parameters

+
+++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

client

the NMClient

 

checkpoint_path

a D-Bus path to a checkpoint

 

add_timeout

the timeout in seconds counting from now. +Set to zero, to disable the timeout.

 

cancellable

a GCancellable, or NULL

 

callback

callback to be called when the add operation completes.

[scope async]

user_data

caller-specific data passed to callback +.

[closure]
+
+

Since: 1.12

+
+
+
+

nm_client_checkpoint_adjust_rollback_timeout_finish ()

+
gboolean
+nm_client_checkpoint_adjust_rollback_timeout_finish
+                               (NMClient *client,
+                                GAsyncResult *result,
+                                GError **error);
+

Gets the result of a call to nm_client_checkpoint_adjust_rollback_timeout().

+
+

Parameters

+
+++++ + + + + + + + + + + + + + + + + + +

client

an NMClient

 

result

the result passed to the GAsyncReadyCallback

 

error

location for a GError, or NULL

 
+
+
+

Returns

+

TRUE on success or FALSE on failure.

+
+

Since: 1.12

+

Types and Values

@@ -3958,7 +4467,7 @@ likely to become the new

The “active-connections” property

  “active-connections”       GPtrArray *

The active connections.

-

Element-type: NMActiveConnection

+

[type GPtrArray(NMActiveConnection)]

Flags: Read


@@ -3966,7 +4475,7 @@ likely to become the new

The “all-devices” property

  “all-devices”              GPtrArray *

List of both real devices and device placeholders.

-

Element-type: NMDevice

+

[type GPtrArray(NMDevice)]

Flags: Read

Since: 1.2

@@ -3980,13 +4489,22 @@ likely to become the new +

The “checkpoints” property

+
  “checkpoints”              GPtrArray *
+

The list of active checkpoints.

+

[type GPtrArray(NMCheckpoint)]

+

Flags: Read

+

Since: 1.12

+ +
+

The “connections” property

  “connections”              GPtrArray *

The list of configured connections that are available to the user. (Note that this differs from the underlying D-Bus property, which may also contain the object paths of connections that the user does not have permission to read the details of.)

-

Element-type: NMRemoteConnection

+

[type GPtrArray(NMRemoteConnection)]

Flags: Read


@@ -4016,7 +4534,7 @@ permission to read the details of.)

The “devices” property

  “devices”                  GPtrArray *

List of real network devices. Does not include placeholder devices.

-

Element-type: NMDevice

+

[type GPtrArray(NMDevice)]

Flags: Read


@@ -4030,6 +4548,7 @@ dictionaries. Each dictionary has the "nameservers", relative priority, "interface" the interface on which these servers are contacted, "vpn" a boolean telling whether the configuration was obtained from a VPN connection.

+

[type GPtrArray(GVariant)]

Flags: Read

Since: 1.6

-- cgit 1.3.0-6-gf8a5