From 263bf4c0c89bb88dc995acd9a6a2de9095fbd461 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Tue, 23 Aug 2011 19:16:47 +0200 Subject: Imported Upstream version 0.9.0 --- docs/libnm-glib/html/NMClient.html | 32 ++++- docs/libnm-glib/html/NMDevice.html | 11 +- docs/libnm-glib/html/NMDeviceWifi.html | 4 +- docs/libnm-glib/html/NMDeviceWimax.html | 4 +- docs/libnm-glib/html/NMRemoteConnection.html | 2 +- docs/libnm-glib/html/NMRemoteSettings.html | 2 +- docs/libnm-glib/html/api-index-full.html | 8 +- docs/libnm-glib/html/ch02.html | 5 +- docs/libnm-glib/html/index.html | 5 +- docs/libnm-glib/html/index.sgml | 7 ++ docs/libnm-glib/html/libnm-glib-NMVpnPluginUi.html | 16 +-- .../html/libnm-glib-nm-vpn-plugin-utils.html | 137 +++++++++++++++++++++ docs/libnm-glib/html/libnm-glib.devhelp | 4 + docs/libnm-glib/html/libnm-glib.devhelp2 | 4 + docs/libnm-glib/html/object-tree.html | 4 +- 15 files changed, 215 insertions(+), 30 deletions(-) create mode 100644 docs/libnm-glib/html/libnm-glib-nm-vpn-plugin-utils.html (limited to 'docs/libnm-glib/html') diff --git a/docs/libnm-glib/html/NMClient.html b/docs/libnm-glib/html/NMClient.html index 26d99de0..48fe024f 100644 --- a/docs/libnm-glib/html/NMClient.html +++ b/docs/libnm-glib/html/NMClient.html @@ -62,6 +62,8 @@ enum GPtrArray * nm_client_get_devices (NMClient *client); NMDevice * nm_client_get_device_by_path (NMClient *client, const char *object_path); +NMDevice * nm_client_get_device_by_iface (NMClient *client, + const char *iface); void (*NMClientActivateFn) (NMClient *client, NMActiveConnection *active_connection, GError *error, @@ -370,7 +372,35 @@ Gets a

Returns :

-the
NMDevice for the given object_path or NULL if none is found. [transfer none] +the NMDevice for the given object_path or NULL if none is found. [transfer none] + + + + + +
+
+

nm_client_get_device_by_iface ()

+
NMDevice *          nm_client_get_device_by_iface       (NMClient *client,
+                                                         const char *iface);
+

+Gets a NMDevice from a NMClient. +

+
++ + + + + + + + + + + + diff --git a/docs/libnm-glib/html/NMDevice.html b/docs/libnm-glib/html/NMDevice.html index f7f01aa2..2b01b135 100644 --- a/docs/libnm-glib/html/NMDevice.html +++ b/docs/libnm-glib/html/NMDevice.html @@ -530,7 +530,7 @@ Gets the current - @@ -553,7 +553,7 @@ Gets the current - @@ -577,7 +577,7 @@ Gets the current - @@ -600,7 +600,7 @@ Gets the current - @@ -646,7 +646,8 @@ Gets the Returns :

-
diff --git a/docs/libnm-glib/html/NMDeviceWifi.html b/docs/libnm-glib/html/NMDeviceWifi.html index e7ddf0a9..b107ad45 100644 --- a/docs/libnm-glib/html/NMDeviceWifi.html +++ b/docs/libnm-glib/html/NMDeviceWifi.html @@ -339,7 +339,7 @@ Gets the active - @@ -368,7 +368,7 @@ Gets a - diff --git a/docs/libnm-glib/html/NMDeviceWimax.html b/docs/libnm-glib/html/NMDeviceWimax.html index a9b65251..e24928d7 100644 --- a/docs/libnm-glib/html/NMDeviceWimax.html +++ b/docs/libnm-glib/html/NMDeviceWimax.html @@ -246,7 +246,7 @@ Gets the active - @@ -274,7 +274,7 @@ Gets a Returns :

-
diff --git a/docs/libnm-glib/html/NMRemoteConnection.html b/docs/libnm-glib/html/NMRemoteConnection.html index 8be508be..87aaf32b 100644 --- a/docs/libnm-glib/html/NMRemoteConnection.html +++ b/docs/libnm-glib/html/NMRemoteConnection.html @@ -196,7 +196,7 @@ Creates a new object representing the remote connection. - +

client :

a NMClient +

iface :

the interface name to search for

Returns :

the NMDevice for the given iface or NULL if none is found. [transfer none]

Returns :

the NMIP4Config or NULL if the device is not activated. [transfer none] +the NMIP4Config or NULL if the device is not activated. [transfer none]

Returns :

the NMDHCPConfig or NULL if the device is not activated or not +the NMDHCPConfig or NULL if the device is not activated or not using DHCP. [transfer none]

Returns :

the NMIP6Config or NULL if the device is not activated. [transfer none] +the NMIP6Config or NULL if the device is not activated. [transfer none]

Returns :

the NMDHCPConfig or NULL if the device is not activated or not +the NMDHCPConfig or NULL if the device is not activated or not using DHCP. [transfer none]
the NMActiveConnection +the NMActiveConnection or NULL if the device is +not part of an active connection. [transfer none]

Returns :

the access point or NULL if none is active. [transfer none] +the access point or NULL if none is active. [transfer none]

Returns :

the access point or NULL if none is found. [transfer none] +the access point or NULL if none is found. [transfer none]

Returns :

the access point or NULL if none is active. [transfer full] +the access point or NULL if none is active. [transfer full]
the access point or NULL if none is found. [transfer none] +the access point or NULL if none is found. [transfer none]

Returns :

the new remote connection object on success, or NULL on failurethe new remote connection object on success, or NULL on failure
diff --git a/docs/libnm-glib/html/NMRemoteSettings.html b/docs/libnm-glib/html/NMRemoteSettings.html index 4274c72a..0457a567 100644 --- a/docs/libnm-glib/html/NMRemoteSettings.html +++ b/docs/libnm-glib/html/NMRemoteSettings.html @@ -300,7 +300,7 @@ Creates a new object representing the remote settings service.

Returns :

-the new remote settings object on success, or
NULL on failure +the new remote settings object on success, or NULL on failure
diff --git a/docs/libnm-glib/html/api-index-full.html b/docs/libnm-glib/html/api-index-full.html index 311e8996..adba6f39 100644 --- a/docs/libnm-glib/html/api-index-full.html +++ b/docs/libnm-glib/html/api-index-full.html @@ -388,6 +388,10 @@
+nm_client_get_device_by_iface, function in NMClient +
+
+
nm_client_get_device_by_path, function in NMClient
@@ -1925,11 +1929,11 @@ g_marshal_value_peek_variant, macro in nm-secret-agent-glue
-nm_vpn_plugin_utils_get_secret_flags, function in nm-vpn-plugin-utils +nm_vpn_plugin_utils_get_secret_flags, function in nm-vpn-plugin-utils
-nm_vpn_plugin_utils_read_vpn_details, function in nm-vpn-plugin-utils +nm_vpn_plugin_utils_read_vpn_details, function in nm-vpn-plugin-utils

W

diff --git a/docs/libnm-glib/html/ch02.html b/docs/libnm-glib/html/ch02.html index bfc17007..4aa9ceee 100644 --- a/docs/libnm-glib/html/ch02.html +++ b/docs/libnm-glib/html/ch02.html @@ -21,7 +21,7 @@

-libnm-glib API Reference

+libnm-glib API Reference
NMClient @@ -89,6 +89,9 @@
NMVpnPluginUi
+
+nm-vpn-plugin-utils +
-

+

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later @@ -130,6 +130,9 @@

NMVpnPluginUi
+
+nm-vpn-plugin-utils +
Object Hierarchy
API Index
diff --git a/docs/libnm-glib/html/index.sgml b/docs/libnm-glib/html/index.sgml index db6d2d8a..b12be4b2 100644 --- a/docs/libnm-glib/html/index.sgml +++ b/docs/libnm-glib/html/index.sgml @@ -24,6 +24,7 @@ + @@ -622,6 +623,12 @@ + + + + + + diff --git a/docs/libnm-glib/html/libnm-glib-NMVpnPluginUi.html b/docs/libnm-glib/html/libnm-glib-NMVpnPluginUi.html index 834996c2..468382ce 100644 --- a/docs/libnm-glib/html/libnm-glib-NMVpnPluginUi.html +++ b/docs/libnm-glib/html/libnm-glib-NMVpnPluginUi.html @@ -7,7 +7,7 @@ - + @@ -18,7 +18,7 @@ Up Home libnm-glib Reference Manual -Next +Next Top @@ -212,11 +212,7 @@ struct + + + +nm-vpn-plugin-utils + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

nm-vpn-plugin-utils

+

nm-vpn-plugin-utils

+
+
+

Synopsis

+
gboolean            nm_vpn_plugin_utils_read_vpn_details
+                                                        (int fd,
+                                                         GHashTable **out_data,
+                                                         GHashTable **out_secrets);
+gboolean            nm_vpn_plugin_utils_get_secret_flags
+                                                        (GHashTable *data,
+                                                         const char *secret_name,
+                                                         NMSettingSecretFlags *out_flags);
+
+
+
+

Description

+

+

+
+
+

Details

+
+

nm_vpn_plugin_utils_read_vpn_details ()

+
gboolean            nm_vpn_plugin_utils_read_vpn_details
+                                                        (int fd,
+                                                         GHashTable **out_data,
+                                                         GHashTable **out_secrets);
+

+Parses key/value pairs from a file descriptor (normally stdin) passed by +an applet when the applet calls the authentication dialog of the VPN plugin. +

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

fd :

file descriptor to read from, usually stdin (0)

out_data :

on successful return, a hash table +(mapping char*:char*) containing the key/value pairs of VPN data items. [out][transfer full] +

out_secrets :

on successful return, a hash table +(mapping char*:char*) containing the key/value pairsof VPN secrets. [out][transfer full] +

Returns :

+TRUE if reading values was successful, FALSE if not
+
+
+
+

nm_vpn_plugin_utils_get_secret_flags ()

+
gboolean            nm_vpn_plugin_utils_get_secret_flags
+                                                        (GHashTable *data,
+                                                         const char *secret_name,
+                                                         NMSettingSecretFlags *out_flags);
+

+Given a VPN secret key name, attempts to find the corresponding flags data +item in data. If found, converts the flags data item to +NMSettingSecretFlags and returns it. +

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

data :

hash table containing VPN key/value pair data items

secret_name :

VPN secret key name for which to retrieve flags for

out_flags :

on success, the flags associated with secret_name. [out] +

Returns :

+TRUE if the flag data item was found and successfully converted +to flags, FALSE if not
+
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-glib/html/libnm-glib.devhelp b/docs/libnm-glib/html/libnm-glib.devhelp index cd1d0857..54edc1f6 100644 --- a/docs/libnm-glib/html/libnm-glib.devhelp +++ b/docs/libnm-glib/html/libnm-glib.devhelp @@ -26,6 +26,7 @@ + @@ -50,6 +51,7 @@ + @@ -488,5 +490,7 @@ + + diff --git a/docs/libnm-glib/html/libnm-glib.devhelp2 b/docs/libnm-glib/html/libnm-glib.devhelp2 index a74fd687..866602d8 100644 --- a/docs/libnm-glib/html/libnm-glib.devhelp2 +++ b/docs/libnm-glib/html/libnm-glib.devhelp2 @@ -26,6 +26,7 @@ + @@ -50,6 +51,7 @@ + @@ -488,6 +490,8 @@ + + diff --git a/docs/libnm-glib/html/object-tree.html b/docs/libnm-glib/html/object-tree.html index 6bcd8f42..db0f954b 100644 --- a/docs/libnm-glib/html/object-tree.html +++ b/docs/libnm-glib/html/object-tree.html @@ -6,14 +6,14 @@ - + - + -- cgit 1.3.0-6-gf8a5