From 33491bc4279481db8ae47213e34a6d695a0e8830 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Sun, 6 Jul 2014 02:16:10 +0200 Subject: Imported Upstream version 0.9.10.0 --- docs/libnm-glib/Makefile.am | 1 + docs/libnm-glib/Makefile.in | 75 +- docs/libnm-glib/html/NMAccessPoint.html | 1152 +++---- docs/libnm-glib/html/NMActiveConnection.html | 1086 ++++--- docs/libnm-glib/html/NMClient.html | 3181 +++++++++----------- docs/libnm-glib/html/NMDHCP4Config.html | 309 +- docs/libnm-glib/html/NMDHCP6Config.html | 309 +- docs/libnm-glib/html/NMDevice.html | 2636 ++++++++-------- docs/libnm-glib/html/NMDeviceAdsl.html | 340 +-- docs/libnm-glib/html/NMDeviceBond.html | 528 ++-- docs/libnm-glib/html/NMDeviceBridge.html | 536 ++-- docs/libnm-glib/html/NMDeviceBt.html | 539 ++-- docs/libnm-glib/html/NMDeviceEthernet.html | 618 ++-- docs/libnm-glib/html/NMDeviceGeneric.html | 273 ++ docs/libnm-glib/html/NMDeviceInfiniband.html | 453 ++- docs/libnm-glib/html/NMDeviceModem.html | 393 ++- docs/libnm-glib/html/NMDeviceOlpcMesh.html | 510 ++-- docs/libnm-glib/html/NMDeviceTeam.html | 354 +++ docs/libnm-glib/html/NMDeviceVlan.html | 530 ++-- docs/libnm-glib/html/NMDeviceWifi.html | 1093 ++++--- docs/libnm-glib/html/NMDeviceWimax.html | 1084 ++++--- docs/libnm-glib/html/NMIP4Config.html | 646 ++-- docs/libnm-glib/html/NMIP6Config.html | 609 ++-- docs/libnm-glib/html/NMObject.html | 444 +-- docs/libnm-glib/html/NMRemoteConnection.html | 845 +++--- docs/libnm-glib/html/NMRemoteSettings.html | 1337 ++++---- docs/libnm-glib/html/NMSecretAgent.html | 1166 +++---- docs/libnm-glib/html/NMVPNConnection.html | 396 ++- docs/libnm-glib/html/NMWimaxNsp.html | 587 ++-- docs/libnm-glib/html/annotation-glossary.html | 47 +- docs/libnm-glib/html/api-index-full.html | 1431 ++++++--- docs/libnm-glib/html/ch02.html | 28 +- docs/libnm-glib/html/home.png | Bin 256 -> 654 bytes docs/libnm-glib/html/index.html | 18 +- docs/libnm-glib/html/index.sgml | 895 ++++-- docs/libnm-glib/html/left-insensitive.png | Bin 395 -> 0 bytes docs/libnm-glib/html/left.png | Bin 262 -> 459 bytes docs/libnm-glib/html/libnm-glib-NMVPNPlugin.html | 495 ++- docs/libnm-glib/html/libnm-glib-NMVpnPluginUi.html | 397 +++ .../html/libnm-glib-NMVpnPluginUiWidget.html | 446 --- docs/libnm-glib/html/libnm-glib-nm-types.html | 45 +- .../html/libnm-glib-nm-vpn-plugin-utils.html | 195 +- docs/libnm-glib/html/libnm-glib.devhelp2 | 1028 ++++--- docs/libnm-glib/html/object-tree.html | 72 +- docs/libnm-glib/html/ref-overview.html | 18 +- docs/libnm-glib/html/right-insensitive.png | Bin 373 -> 0 bytes docs/libnm-glib/html/right.png | Bin 261 -> 472 bytes docs/libnm-glib/html/style.css | 247 +- docs/libnm-glib/html/up-insensitive.png | Bin 374 -> 0 bytes docs/libnm-glib/html/up.png | Bin 260 -> 406 bytes docs/libnm-glib/libnm-glib-docs.xml | 2 + docs/libnm-glib/libnm-glib-sections.txt | 238 +- docs/libnm-glib/libnm-glib.types | 4 + docs/libnm-glib/tmpl/nm-access-point.sgml | 69 + docs/libnm-glib/tmpl/nm-active-connection.sgml | 208 +- docs/libnm-glib/tmpl/nm-client.sgml | 174 ++ docs/libnm-glib/tmpl/nm-device-adsl.sgml | 24 + docs/libnm-glib/tmpl/nm-device-bond.sgml | 34 + docs/libnm-glib/tmpl/nm-device-bridge.sgml | 34 + docs/libnm-glib/tmpl/nm-device-bt.sgml | 34 + docs/libnm-glib/tmpl/nm-device-ethernet.sgml | 39 + docs/libnm-glib/tmpl/nm-device-generic.sgml | 111 + docs/libnm-glib/tmpl/nm-device-infiniband.sgml | 29 + docs/libnm-glib/tmpl/nm-device-modem.sgml | 29 + docs/libnm-glib/tmpl/nm-device-olpc-mesh.sgml | 34 + docs/libnm-glib/tmpl/nm-device-team.sgml | 142 + docs/libnm-glib/tmpl/nm-device-vlan.sgml | 35 + docs/libnm-glib/tmpl/nm-device-wifi.sgml | 79 + docs/libnm-glib/tmpl/nm-device-wimax.sgml | 78 + docs/libnm-glib/tmpl/nm-device.sgml | 248 ++ docs/libnm-glib/tmpl/nm-dhcp4-config.sgml | 24 + docs/libnm-glib/tmpl/nm-dhcp6-config.sgml | 24 + docs/libnm-glib/tmpl/nm-ip4-config.sgml | 90 +- docs/libnm-glib/tmpl/nm-ip6-config.sgml | 104 +- docs/libnm-glib/tmpl/nm-object.sgml | 39 + docs/libnm-glib/tmpl/nm-remote-connection.sgml | 135 +- docs/libnm-glib/tmpl/nm-remote-settings.sgml | 112 + docs/libnm-glib/tmpl/nm-secret-agent.sgml | 68 + docs/libnm-glib/tmpl/nm-vpn-connection.sgml | 39 + .../tmpl/nm-vpn-plugin-ui-interface.sgml | 33 +- docs/libnm-glib/tmpl/nm-vpn-plugin.sgml | 39 + docs/libnm-glib/tmpl/nm-wimax-nsp.sgml | 34 + docs/libnm-glib/version.xml | 2 +- 83 files changed, 16700 insertions(+), 13080 deletions(-) create mode 100644 docs/libnm-glib/html/NMDeviceGeneric.html create mode 100644 docs/libnm-glib/html/NMDeviceTeam.html delete mode 100644 docs/libnm-glib/html/left-insensitive.png create mode 100644 docs/libnm-glib/html/libnm-glib-NMVpnPluginUi.html delete mode 100644 docs/libnm-glib/html/libnm-glib-NMVpnPluginUiWidget.html delete mode 100644 docs/libnm-glib/html/right-insensitive.png delete mode 100644 docs/libnm-glib/html/up-insensitive.png create mode 100644 docs/libnm-glib/tmpl/nm-device-generic.sgml create mode 100644 docs/libnm-glib/tmpl/nm-device-team.sgml (limited to 'docs/libnm-glib') diff --git a/docs/libnm-glib/Makefile.am b/docs/libnm-glib/Makefile.am index 84807e25..c6c9edf8 100644 --- a/docs/libnm-glib/Makefile.am +++ b/docs/libnm-glib/Makefile.am @@ -76,6 +76,7 @@ GTKDOC_CFLAGS = \ -I$(top_builddir)/libnm-util \ -I$(top_srcdir)/libnm-glib \ -I$(top_builddir)/libnm-glib \ + -DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \ $(GLIB_CFLAGS) \ $(DBUS_CFLAGS) diff --git a/docs/libnm-glib/Makefile.in b/docs/libnm-glib/Makefile.in index 3cfc7313..a6406abe 100644 --- a/docs/libnm-glib/Makefile.in +++ b/docs/libnm-glib/Makefile.in @@ -87,7 +87,8 @@ DIST_COMMON = $(top_srcdir)/gtk-doc.make $(srcdir)/Makefile.in \ $(srcdir)/Makefile.am $(srcdir)/version.xml.in subdir = docs/libnm-glib ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/compiler_warnings.m4 \ +am__aclocal_m4_deps = $(top_srcdir)/m4/ax_lib_readline.m4 \ + $(top_srcdir)/m4/compiler_warnings.m4 \ $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/gnome-code-coverage.m4 \ $(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/iconv.m4 \ @@ -151,12 +152,15 @@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DBUS_CFLAGS = @DBUS_CFLAGS@ +DBUS_GLIB_100_CFLAGS = @DBUS_GLIB_100_CFLAGS@ +DBUS_GLIB_100_LIBS = @DBUS_GLIB_100_LIBS@ DBUS_LIBS = @DBUS_LIBS@ DBUS_SYS_DIR = @DBUS_SYS_DIR@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DHCLIENT_PATH = @DHCLIENT_PATH@ DHCPCD_PATH = @DHCPCD_PATH@ +DISTRO_NETWORK_SERVICE = @DISTRO_NETWORK_SERVICE@ DLLTOOL = @DLLTOOL@ DNSMASQ_PATH = @DNSMASQ_PATH@ DSYMUTIL = @DSYMUTIL@ @@ -181,7 +185,6 @@ GNUTLS_CFLAGS = @GNUTLS_CFLAGS@ GNUTLS_LIBS = @GNUTLS_LIBS@ GREP = @GREP@ GTKDOC_CHECK = @GTKDOC_CHECK@ -GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@ GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@ GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@ GTKDOC_MKPDF = @GTKDOC_MKPDF@ @@ -226,12 +229,16 @@ LIBGCRYPT_LIBS = @LIBGCRYPT_LIBS@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBM = @LIBM@ +LIBNDP_CFLAGS = @LIBNDP_CFLAGS@ +LIBNDP_LIBS = @LIBNDP_LIBS@ LIBNL_CFLAGS = @LIBNL_CFLAGS@ LIBNL_LIBS = @LIBNL_LIBS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@ LIBSOUP_LIBS = @LIBSOUP_LIBS@ +LIBTEAMDCTL_CFLAGS = @LIBTEAMDCTL_CFLAGS@ +LIBTEAMDCTL_LIBS = @LIBTEAMDCTL_LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ @@ -248,6 +255,8 @@ MOC = @MOC@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ +NEWT_CFLAGS = @NEWT_CFLAGS@ +NEWT_LIBS = @NEWT_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ NM_MAJOR_VERSION = @NM_MAJOR_VERSION@ @@ -275,11 +284,16 @@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POLKIT_CFLAGS = @POLKIT_CFLAGS@ POLKIT_LIBS = @POLKIT_LIBS@ POSUB = @POSUB@ +PPPD_PATH = @PPPD_PATH@ PPPD_PLUGIN_DIR = @PPPD_PLUGIN_DIR@ +PPPOE_PATH = @PPPOE_PATH@ QT_CFLAGS = @QT_CFLAGS@ QT_LIBS = @QT_LIBS@ RANLIB = @RANLIB@ +READLINE_LIBS = @READLINE_LIBS@ SED = @SED@ +SELINUX_CFLAGS = @SELINUX_CFLAGS@ +SELINUX_LIBS = @SELINUX_LIBS@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ @@ -294,6 +308,7 @@ UDEV_BASE_DIR = @UDEV_BASE_DIR@ USE_NLS = @USE_NLS@ UUID_CFLAGS = @UUID_CFLAGS@ UUID_LIBS = @UUID_LIBS@ +VALGRIND_RULES = @VALGRIND_RULES@ VAPIGEN = @VAPIGEN@ VAPIGEN_MAKEFILE = @VAPIGEN_MAKEFILE@ VAPIGEN_VAPIDIR = @VAPIGEN_VAPIDIR@ @@ -356,6 +371,7 @@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ +subdirs = @subdirs@ sysconfdir = @sysconfdir@ systemdsystemunitdir = @systemdsystemunitdir@ target_alias = @target_alias@ @@ -366,6 +382,7 @@ with_dhclient = @with_dhclient@ with_dhcpcd = @with_dhcpcd@ with_netconfig = @with_netconfig@ with_resolvconf = @with_resolvconf@ +with_valgrind = @with_valgrind@ AUTOMAKE_OPTIONS = 1.6 # The name of the module @@ -443,6 +460,7 @@ GTKDOC_CFLAGS = \ -I$(top_builddir)/libnm-util \ -I$(top_srcdir)/libnm-glib \ -I$(top_builddir)/libnm-glib \ + -DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \ $(GLIB_CFLAGS) \ $(DBUS_CFLAGS) @@ -490,12 +508,12 @@ REPORT_FILES = \ $(DOC_MODULE)-unused.txt CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS) \ - gtkdoc-check.test libnm-glib-sections.txt \ - libnm-glib-overrides.txt html/* tmpl/* xml/* -@GTK_DOC_BUILD_HTML_FALSE@HTML_BUILD_STAMP = -@GTK_DOC_BUILD_HTML_TRUE@HTML_BUILD_STAMP = html-build.stamp -@GTK_DOC_BUILD_PDF_FALSE@PDF_BUILD_STAMP = -@GTK_DOC_BUILD_PDF_TRUE@PDF_BUILD_STAMP = pdf-build.stamp + libnm-glib-sections.txt libnm-glib-overrides.txt html/* tmpl/* \ + xml/* +@ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_HTML_FALSE@HTML_BUILD_STAMP = +@ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_HTML_TRUE@HTML_BUILD_STAMP = html-build.stamp +@ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_FALSE@PDF_BUILD_STAMP = +@ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_TRUE@PDF_BUILD_STAMP = pdf-build.stamp #### setup #### GTK_DOC_V_SETUP = $(GTK_DOC_V_SETUP_$(V)) @@ -616,7 +634,6 @@ distdir: $(DISTFILES) dist-hook check-am: all-am check: check-am -@ENABLE_GTK_DOC_FALSE@all-local: all-am: Makefile all-local installdirs: install: install-am @@ -734,15 +751,8 @@ uninstall-am: uninstall-local uninstall-am uninstall-local -gtkdoc-check.test: Makefile - $(AM_V_GEN)echo "#!/bin/sh -e" > $@; \ - echo "$(GTKDOC_CHECK_PATH) || exit 1" >> $@; \ - chmod +x $@ - -all-gtk-doc: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP) -.PHONY: all-gtk-doc - -@ENABLE_GTK_DOC_TRUE@all-local: all-gtk-doc +@ENABLE_GTK_DOC_TRUE@all-local: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP) +@ENABLE_GTK_DOC_FALSE@all-local: docs: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP) @@ -753,19 +763,17 @@ setup-build.stamp: files=`echo $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types`; \ if test "x$$files" != "x" ; then \ for file in $$files ; do \ - destdir=`dirname $(abs_builddir)/$$file` ;\ - test -d "$$destdir" || mkdir -p "$$destdir"; \ test -f $(abs_srcdir)/$$file && \ - cp -pf $(abs_srcdir)/$$file $(abs_builddir)/$$file || true; \ + cp -pu $(abs_srcdir)/$$file $(abs_builddir)/$$file || true; \ done; \ fi; \ test -d $(abs_srcdir)/tmpl && \ - { cp -pR $(abs_srcdir)/tmpl $(abs_builddir)/; \ + { cp -rp $(abs_srcdir)/tmpl $(abs_builddir)/; \ chmod -R u+w $(abs_builddir)/tmpl; } \ fi $(AM_V_at)touch setup-build.stamp -scan-build.stamp: setup-build.stamp $(HFILE_GLOB) $(CFILE_GLOB) +scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB) $(GTK_DOC_V_SCAN)_source_dir='' ; \ for i in $(DOC_SOURCE_DIR) ; do \ _source_dir="$${_source_dir} --source-dir=$$i" ; \ @@ -795,7 +803,7 @@ tmpl-build.stamp: setup-build.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DO $(GTK_DOC_V_TMPL)gtkdoc-mktmpl --module=$(DOC_MODULE) $(MKTMPL_OPTIONS) $(AM_V_at)if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \ if test -w $(abs_srcdir) ; then \ - cp -pR $(abs_builddir)/tmpl $(abs_srcdir)/; \ + cp -rp $(abs_builddir)/tmpl $(abs_srcdir)/; \ fi \ fi $(AM_V_at)touch tmpl-build.stamp @@ -807,7 +815,7 @@ $(srcdir)/tmpl/*.sgml: @true sgml-build.stamp: tmpl.stamp $(DOC_MODULE)-sections.txt $(srcdir)/tmpl/*.sgml $(expand_content_files) - -$(GTK_DOC_V_XML)chmod -R u+w $(srcdir) && _source_dir='' ; \ + $(GTK_DOC_V_XML)-chmod -R u+w $(srcdir) && _source_dir='' ; \ for i in $(DOC_SOURCE_DIR) ; do \ _source_dir="$${_source_dir} --source-dir=$$i" ; \ done ; \ @@ -869,9 +877,6 @@ pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) clean-local: @rm -f *~ *.bak @rm -rf .libs - @if echo $(SCAN_OPTIONS) | grep -q "\-\-rebuild-types" ; then \ - rm -f $(DOC_MODULE).types; \ - fi distclean-local: @rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \ @@ -917,14 +922,12 @@ uninstall-local: # # Require gtk-doc when making dist # -@HAVE_GTK_DOC_TRUE@dist-check-gtkdoc: docs -@HAVE_GTK_DOC_FALSE@dist-check-gtkdoc: -@HAVE_GTK_DOC_FALSE@ @echo "*** gtk-doc is needed to run 'make dist'. ***" -@HAVE_GTK_DOC_FALSE@ @echo "*** gtk-doc was not found when 'configure' ran. ***" -@HAVE_GTK_DOC_FALSE@ @echo "*** please install gtk-doc and rerun 'configure'. ***" -@HAVE_GTK_DOC_FALSE@ @false - -dist-hook: dist-check-gtkdoc all-gtk-doc dist-hook-local +@ENABLE_GTK_DOC_TRUE@dist-check-gtkdoc: docs +@ENABLE_GTK_DOC_FALSE@dist-check-gtkdoc: +@ENABLE_GTK_DOC_FALSE@ @echo "*** gtk-doc must be installed and enabled in order to make dist" +@ENABLE_GTK_DOC_FALSE@ @false + +dist-hook: dist-check-gtkdoc dist-hook-local @mkdir $(distdir)/tmpl @mkdir $(distdir)/html @-cp ./tmpl/*.sgml $(distdir)/tmpl diff --git a/docs/libnm-glib/html/NMAccessPoint.html b/docs/libnm-glib/html/NMAccessPoint.html index ee09109e..7c72487c 100644 --- a/docs/libnm-glib/html/NMAccessPoint.html +++ b/docs/libnm-glib/html/NMAccessPoint.html @@ -2,28 +2,36 @@ -libnm-glib Reference Manual: NMAccessPoint +NMAccessPoint - + - - - - - - - + + + + + + + + + +
@@ -31,241 +39,67 @@

NMAccessPoint

NMAccessPoint

- +
-
-

Functions

-
---- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-GObject * - -nm_access_point_new () -
-NM80211ApFlags - -nm_access_point_get_flags () -
-NM80211ApSecurityFlags - -nm_access_point_get_wpa_flags () -
-NM80211ApSecurityFlags - -nm_access_point_get_rsn_flags () -
const GByteArray * - -nm_access_point_get_ssid () -
const char * - -nm_access_point_get_bssid () -
-guint32 - -nm_access_point_get_frequency () -
-NM80211Mode - -nm_access_point_get_mode () -
-guint32 - -nm_access_point_get_max_bitrate () -
-guint8 - -nm_access_point_get_strength () -
-GSList * - -nm_access_point_filter_connections () -
-gboolean - -nm_access_point_connection_valid () -
const char * - -nm_access_point_get_hw_address () -
+
-

Properties

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-gchar *bssidRead
guintflagsRead
guintfrequencyRead
-gchar *hw-addressRead
guintmax-bitrateRead
guintmodeRead
guintrsn-flagsRead
-NMSsid *ssidRead
gucharstrengthRead
guintwpa-flagsRead
+

Object Hierarchy

+
+  GObject
+   +----NMObject
+         +----NMAccessPoint
+
-

Types and Values

-
---- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#defineNM_ACCESS_POINT_FLAGS
#defineNM_ACCESS_POINT_WPA_FLAGS
#defineNM_ACCESS_POINT_RSN_FLAGS
#defineNM_ACCESS_POINT_SSID
#defineNM_ACCESS_POINT_BSSID
#defineNM_ACCESS_POINT_FREQUENCY
#defineNM_ACCESS_POINT_MODE
#defineNM_ACCESS_POINT_MAX_BITRATE
#defineNM_ACCESS_POINT_STRENGTH
#defineNM_ACCESS_POINT_HW_ADDRESS
+

Implemented Interfaces

+

+NMAccessPoint implements + GInitable and GAsyncInitable.

-

Object Hierarchy

-
    GObject
-    ╰── NMObject
-        ╰── NMAccessPoint
+

Properties

+
+  "bssid"                    gchar*                : Read
+  "flags"                    guint                 : Read
+  "frequency"                guint                 : Read
+  "hw-address"               gchar*                : Read
+  "max-bitrate"              guint                 : Read
+  "mode"                     guint                 : Read
+  "rsn-flags"                guint                 : Read
+  "ssid"                     NMSsid*               : Read
+  "strength"                 guchar                : Read
+  "wpa-flags"                guint                 : Read
 
@@ -274,580 +108,580 @@

-

Functions

-
-

nm_access_point_new ()

-
GObject *
-nm_access_point_new (DBusGConnection *connection,
-                     const char *path);
-

Creates a new NMAccessPoint.

-
-

Parameters

-
----- - - - - - - - - - - - - -

connection

the DBusGConnection

 

path

the DBusobject path of the access point

 
-
-
-

Returns

-

a new access point.

-

[transfer full]

-
+

Details

+
+

NM_ACCESS_POINT_FLAGS

+
#define NM_ACCESS_POINT_FLAGS       "flags"
+
+

+


-

nm_access_point_get_flags ()

-
NM80211ApFlags
-nm_access_point_get_flags (NMAccessPoint *ap);
-

Gets the flags of the access point.

-
-

Parameters

-
----- - - - - - -

ap

a NMAccessPoint

 
-
-
-

Returns

-

the flags

-

-
+

NM_ACCESS_POINT_WPA_FLAGS

+
#define NM_ACCESS_POINT_WPA_FLAGS   "wpa-flags"
+
+

+


-

nm_access_point_get_wpa_flags ()

-
NM80211ApSecurityFlags
-nm_access_point_get_wpa_flags (NMAccessPoint *ap);
-

Gets the WPA (version 1) flags of the access point.

-
-

Parameters

-
----- - - - - - -

ap

a NMAccessPoint

 
-
-
-

Returns

-

the WPA flags

-

-
+

NM_ACCESS_POINT_RSN_FLAGS

+
#define NM_ACCESS_POINT_RSN_FLAGS   "rsn-flags"
+
+

+


-

nm_access_point_get_rsn_flags ()

-
NM80211ApSecurityFlags
-nm_access_point_get_rsn_flags (NMAccessPoint *ap);
-

Gets the RSN (Robust Secure Network, ie WPA version 2) flags of the access -point.

-
-

Parameters

-
----- - - - - - -

ap

a NMAccessPoint

 
-
-
-

Returns

-

the RSN flags

-

-
+

NM_ACCESS_POINT_SSID

+
#define NM_ACCESS_POINT_SSID        "ssid"
+
+

+


-

nm_access_point_get_ssid ()

-
const GByteArray *
-nm_access_point_get_ssid (NMAccessPoint *ap);
-

Gets the SSID of the access point.

-
-

Parameters

-
----- - - - - - -

ap

a NMAccessPoint

 
-
-
-

Returns

-

the GByteArray containing the SSID. This is the internal copy used by the -access point, and must not be modified.

-

-
+

NM_ACCESS_POINT_BSSID

+
#define NM_ACCESS_POINT_BSSID       "bssid"
+
+

+


-

nm_access_point_get_bssid ()

-
const char *
-nm_access_point_get_bssid (NMAccessPoint *ap);
-

Gets the Basic Service Set ID (BSSID) of the WiFi access point.

-
-

Parameters

-
----- - - - - - -

ap

a NMAccessPoint

 
-
-
-

Returns

-

the BSSID of the access point. This is an internal string and must -not be modified or freed.

-

-
+

NM_ACCESS_POINT_FREQUENCY

+
#define NM_ACCESS_POINT_FREQUENCY   "frequency"
+
+

+


-

nm_access_point_get_frequency ()

-
guint32
-nm_access_point_get_frequency (NMAccessPoint *ap);
-

Gets the frequency of the access point.

-
-

Parameters

-
----- - - - - - -

ap

a NMAccessPoint

 
-
-
-

Returns

-

the frequency

-

-
+

NM_ACCESS_POINT_MODE

+
#define NM_ACCESS_POINT_MODE        "mode"
+
+

+


-

nm_access_point_get_mode ()

-
NM80211Mode
-nm_access_point_get_mode (NMAccessPoint *ap);
-

Gets the mode of the access point.

-
-

Parameters

-
----- - - - - - -

ap

a NMAccessPoint

 
-
-
-

Returns

-

the mode

-

+

NM_ACCESS_POINT_MAX_BITRATE

+
#define NM_ACCESS_POINT_MAX_BITRATE "max-bitrate"
+
+

+

+
+
+

NM_ACCESS_POINT_STRENGTH

+
#define NM_ACCESS_POINT_STRENGTH    "strength"
+
+

+


-

nm_access_point_get_max_bitrate ()

-
guint32
-nm_access_point_get_max_bitrate (NMAccessPoint *ap);
-

Gets the maximum bit rate of the access point.

-
-

Parameters

-
----- - - - - - -

ap

a NMAccessPoint

 
+

NM_ACCESS_POINT_HW_ADDRESS

+
#define NM_ACCESS_POINT_HW_ADDRESS  "hw-address"
+
+

+

-
-

Returns

-

the maximum bit rate

-

+
+
+

NMAccessPoint

+
typedef struct _NMAccessPoint NMAccessPoint;
+

+

+
+
+

NMAccessPointClass

+
typedef struct {
+	NMObjectClass parent;
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+	void (*_reserved5) (void);
+	void (*_reserved6) (void);
+} NMAccessPointClass;
+
+

+


-

nm_access_point_get_strength ()

-
guint8
-nm_access_point_get_strength (NMAccessPoint *ap);
-

Gets the current signal strength of the access point.

-
-

Parameters

-
+

nm_access_point_new ()

+
GObject *           nm_access_point_new                 (DBusGConnection *connection,
+                                                         const char *path);
+

+Creates a new NMAccessPoint. +

+
---++ - - - - - + + + + + + + + + + + + + +

ap

a NMAccessPoint

 

connection :

the DBusGConnection +

path :

the DBusobject path of the access point

Returns :

a new access point. [transfer full] +
-
-

Returns

-

the signal strength

-

-
-

-

nm_access_point_filter_connections ()

-
GSList *
-nm_access_point_filter_connections (NMAccessPoint *ap,
-                                    const GSList *connections);
-

Filters a given list of connections for a given NMAccessPoint object and -return connections which may be activated with the access point. Any -returned connections will match the ap -'s SSID and (if given) BSSID and -other attributes like security settings, channel, etc.

-

To obtain the list of connections that are compatible with this access point, -use nm_remote_settings_list_connections() and then filter the returned list -for a given NMDevice using nm_device_filter_connections() and finally -filter that list with this function.

-
-

Parameters

-
+

nm_access_point_get_flags ()

+
NM80211ApFlags      nm_access_point_get_flags           (NMAccessPoint *ap);
+

+Gets the flags of the access point. +

+
---++ - - - + + - - - + +

ap

an NMAccessPoint to filter connections for

 

ap :

a NMAccessPoint +

connections

a list of -NMConnection objects to filter.

[element-type NetworkManager.Connection]

Returns :

the flags
-
-

Returns

-

a -list of NMConnection objects that could be activated with the given ap -. -The elements of the list are owned by their creator and should not be freed -by the caller, but the returned list itself is owned by the caller and should -be freed with g_slist_free() when it is no longer required.

-

[transfer container][element-type NetworkManager.Connection]

-
-

-

nm_access_point_connection_valid ()

-
gboolean
-nm_access_point_connection_valid (NMAccessPoint *ap,
-                                  NMConnection *connection);
-

Validates a given connection against a given WiFi access point to ensure that -the connection may be activated with that AP. The connection must match the -ap -'s SSID, (if given) BSSID, and other attributes like security settings, -channel, band, etc.

-
-

Parameters

-
+

nm_access_point_get_wpa_flags ()

+
NM80211ApSecurityFlags nm_access_point_get_wpa_flags    (NMAccessPoint *ap);
+

+Gets the WPA (version 1) flags of the access point. +

+
---++ - - - + + - - - + +

ap

an NMAccessPoint to validate connection -against

 

ap :

a NMAccessPoint +

connection

an NMConnection to validate against ap -

 

Returns :

the WPA flags
-
-

Returns

-

TRUE if the connection may be activated with this WiFi AP, -FALSE if it cannot be.

-

-
-

-

nm_access_point_get_hw_address ()

-
const char *
-nm_access_point_get_hw_address (NMAccessPoint *ap);
-
-

nm_access_point_get_hw_address has been deprecated since version 0.9 and should not be used in newly-written code.

-

Use nm_access_point_get_bssid() instead.

-
-

Gets the hardware (MAC) address of the access point.

-
-

Parameters

-
+

nm_access_point_get_rsn_flags ()

+
NM80211ApSecurityFlags nm_access_point_get_rsn_flags    (NMAccessPoint *ap);
+

+Gets the RSN (Robust Secure Network, ie WPA version 2) flags of the access +point. +

+
---++ - - - - - + + + + + + + + + +

ap

a NMAccessPoint

 

ap :

a NMAccessPoint +

Returns :

the RSN flags
-
-

Returns

-

the hardware address of the access point. This is the internal string used by the -access point and must not be modified.

-

-
-
-
-
-

Types and Values

+
-

NM_ACCESS_POINT_FLAGS

-
#define NM_ACCESS_POINT_FLAGS       "flags"
-
+

nm_access_point_get_ssid ()

+
const GByteArray *  nm_access_point_get_ssid            (NMAccessPoint *ap);

+Gets the SSID of the access point.

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

ap :

a NMAccessPoint +

Returns :

the GByteArray containing the SSID. This is the internal copy used by the +access point, and must not be modified.

-

NM_ACCESS_POINT_WPA_FLAGS

-
#define NM_ACCESS_POINT_WPA_FLAGS   "wpa-flags"
-
+

nm_access_point_get_bssid ()

+
const char *        nm_access_point_get_bssid           (NMAccessPoint *ap);

+Gets the Basic Service Set ID (BSSID) of the Wi-Fi access point.

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

ap :

a NMAccessPoint +

Returns :

the BSSID of the access point. This is an internal string and must +not be modified or freed.

-

NM_ACCESS_POINT_RSN_FLAGS

-
#define NM_ACCESS_POINT_RSN_FLAGS   "rsn-flags"
-
+

nm_access_point_get_frequency ()

+
guint32             nm_access_point_get_frequency       (NMAccessPoint *ap);

+Gets the frequency of the access point.

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

ap :

a NMAccessPoint +

Returns :

the frequency

-

NM_ACCESS_POINT_SSID

-
#define NM_ACCESS_POINT_SSID        "ssid"
-
+

nm_access_point_get_mode ()

+
NM80211Mode         nm_access_point_get_mode            (NMAccessPoint *ap);

+Gets the mode of the access point.

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

ap :

a NMAccessPoint +

Returns :

the mode

-

NM_ACCESS_POINT_BSSID

-
#define NM_ACCESS_POINT_BSSID       "bssid"
-
+

nm_access_point_get_max_bitrate ()

+
guint32             nm_access_point_get_max_bitrate     (NMAccessPoint *ap);

+Gets the maximum bit rate of the access point in kbit/s.

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

ap :

a NMAccessPoint +

Returns :

the maximum bit rate (kbit/s)

-

NM_ACCESS_POINT_FREQUENCY

-
#define NM_ACCESS_POINT_FREQUENCY   "frequency"
-
+

nm_access_point_get_strength ()

+
guint8              nm_access_point_get_strength        (NMAccessPoint *ap);

+Gets the current signal strength of the access point.

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

ap :

a NMAccessPoint +

Returns :

the signal strength

-

NM_ACCESS_POINT_MODE

-
#define NM_ACCESS_POINT_MODE        "mode"
-
+

nm_access_point_filter_connections ()

+
GSList *            nm_access_point_filter_connections  (NMAccessPoint *ap,
+                                                         const GSList *connections);

+Filters a given list of connections for a given NMAccessPoint object and +return connections which may be activated with the access point. Any +returned connections will match the ap's SSID and (if given) BSSID and +other attributes like security settings, channel, etc.

-
-
-
-

NM_ACCESS_POINT_MAX_BITRATE

-
#define NM_ACCESS_POINT_MAX_BITRATE "max-bitrate"
-

+To obtain the list of connections that are compatible with this access point, +use nm_remote_settings_list_connections() and then filter the returned list +for a given NMDevice using nm_device_filter_connections() and finally +filter that list with this function.

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

ap :

an NMAccessPoint to filter connections for

connections :

a list of +NMConnection objects to filter. [element-type NetworkManager.Connection] +

Returns :

a +list of NMConnection objects that could be activated with the given ap. +The elements of the list are owned by their creator and should not be freed +by the caller, but the returned list itself is owned by the caller and should +be freed with g_slist_free() when it is no longer required. [transfer container][element-type NetworkManager.Connection] +

-

NM_ACCESS_POINT_STRENGTH

-
#define NM_ACCESS_POINT_STRENGTH    "strength"
-
+

nm_access_point_connection_valid ()

+
gboolean            nm_access_point_connection_valid    (NMAccessPoint *ap,
+                                                         NMConnection *connection);

+Validates a given connection against a given Wi-Fi access point to ensure that +the connection may be activated with that AP. The connection must match the +ap's SSID, (if given) BSSID, and other attributes like security settings, +channel, band, etc.

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

ap :

an NMAccessPoint to validate connection against

connection :

an NMConnection to validate against ap +

Returns :

+TRUE if the connection may be activated with this Wi-Fi AP, +FALSE if it cannot be.

-

NM_ACCESS_POINT_HW_ADDRESS

-
#define NM_ACCESS_POINT_HW_ADDRESS  "hw-address"
-
+

nm_access_point_get_hw_address ()

+
const char *        nm_access_point_get_hw_address      (NMAccessPoint *ap);
+
+

Warning

+

nm_access_point_get_hw_address has been deprecated since version 0.9 and should not be used in newly-written code. Use nm_access_point_get_bssid() instead.

+

+Gets the hardware (MAC) address of the access point.

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

ap :

a NMAccessPoint +

Returns :

the hardware address of the access point. This is the internal string used by the +access point and must not be modified.

Property Details

-

The “bssid” property

-
  “bssid”                    gchar *
-

BSSID.

-

Flags: Read

+

The "bssid" property

+
  "bssid"                    gchar*                : Read
+

+The BSSID of the access point. +

Default value: NULL


-

The “flags” property

-
  “flags”                    guint
-

Flags.

-

Flags: Read

+

The "flags" property

+
  "flags"                    guint                 : Read
+

+The flags of the access point. +

Allowed values: <= 1

Default value: 0


-

The “frequency” property

-
  “frequency”                guint
-

Frequency.

-

Flags: Read

+

The "frequency" property

+
  "frequency"                guint                 : Read
+

+The frequency of the access point. +

Allowed values: <= 10000

Default value: 0


-

The “hw-address” property

-
  “hw-address”               gchar *
-

Hardware MAC address.

-

Flags: Read

+

The "hw-address" property

+
  "hw-address"               gchar*                : Read
+

+The hardware address of the access point. +

Default value: NULL


-

The “max-bitrate” property

-
  “max-bitrate”              guint
-

Max Bitrate.

-

Flags: Read

+

The "max-bitrate" property

+
  "max-bitrate"              guint                 : Read
+

+The maximum bit rate of the access point in kbit/s. +

Default value: 0


-

The “mode” property

-
  “mode”                     guint
-

Mode.

-

Flags: Read

+

The "mode" property

+
  "mode"                     guint                 : Read
+

+The mode of the access point; either "infrastructure" (a central +coordinator of the wireless network allowing clients to connect) or +"ad-hoc" (a network with no central controller). +

Allowed values: [1,2]

Default value: 2


-

The “rsn-flags” property

-
  “rsn-flags”                guint
-

RSN Flags.

-

Flags: Read

+

The "rsn-flags" property

+
  "rsn-flags"                guint                 : Read
+

+The RSN flags of the access point. +

Default value: 0


-

The “ssid” property

-
  “ssid”                     NMSsid *
-

SSID.

-

Flags: Read

+

The "ssid" property

+
  "ssid"                     NMSsid*               : Read
+

+The SSID of the access point. +


-

The “strength” property

-
  “strength”                 guchar
-

Strength.

-

Flags: Read

+

The "strength" property

+
  "strength"                 guchar                : Read
+

+The current signal strength of the access point. +

Default value: 0


-

The “wpa-flags” property

-
  “wpa-flags”                guint
-

WPA Flags.

-

Flags: Read

+

The "wpa-flags" property

+
  "wpa-flags"                guint                 : Read
+

+The WPA flags of the access point. +

Default value: 0

+ Generated by GTK-Doc V1.19
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMActiveConnection.html b/docs/libnm-glib/html/NMActiveConnection.html index ba775eab..0e8471d5 100644 --- a/docs/libnm-glib/html/NMActiveConnection.html +++ b/docs/libnm-glib/html/NMActiveConnection.html @@ -2,28 +2,36 @@ -libnm-glib Reference Manual: NMActiveConnection +NMActiveConnection - + - - - - - - - + + + + + + + + + +
@@ -31,595 +39,825 @@

NMActiveConnection

NMActiveConnection

- +
+
+

Synopsis

+
#define             NM_ACTIVE_CONNECTION_CONNECTION
+#define             NM_ACTIVE_CONNECTION_ID
+#define             NM_ACTIVE_CONNECTION_UUID
+#define             NM_ACTIVE_CONNECTION_TYPE
+#define             NM_ACTIVE_CONNECTION_SPECIFIC_OBJECT
+#define             NM_ACTIVE_CONNECTION_DEVICES
+#define             NM_ACTIVE_CONNECTION_STATE
+#define             NM_ACTIVE_CONNECTION_DEFAULT
+#define             NM_ACTIVE_CONNECTION_IP4_CONFIG
+#define             NM_ACTIVE_CONNECTION_DHCP4_CONFIG
+#define             NM_ACTIVE_CONNECTION_DEFAULT6
+#define             NM_ACTIVE_CONNECTION_IP6_CONFIG
+#define             NM_ACTIVE_CONNECTION_DHCP6_CONFIG
+#define             NM_ACTIVE_CONNECTION_VPN
+#define             NM_ACTIVE_CONNECTION_MASTER
+                    NMActiveConnection;
+                    NMActiveConnectionClass;
+GObject *           nm_active_connection_new            (DBusGConnection *connection,
+                                                         const char *path);
+const char *        nm_active_connection_get_connection (NMActiveConnection *connection);
+const char *        nm_active_connection_get_id         (NMActiveConnection *connection);
+const char *        nm_active_connection_get_uuid       (NMActiveConnection *connection);
+const char *        nm_active_connection_get_connection_type
+                                                        (NMActiveConnection *connection);
+const char *        nm_active_connection_get_specific_object
+                                                        (NMActiveConnection *connection);
+const GPtrArray *   nm_active_connection_get_devices    (NMActiveConnection *connection);
+NMActiveConnectionState nm_active_connection_get_state  (NMActiveConnection *connection);
+const char *        nm_active_connection_get_master     (NMActiveConnection *connection);
+gboolean            nm_active_connection_get_default    (NMActiveConnection *connection);
+NMIP4Config *       nm_active_connection_get_ip4_config (NMActiveConnection *connection);
+NMDHCP4Config *     nm_active_connection_get_dhcp4_config
+                                                        (NMActiveConnection *connection);
+gboolean            nm_active_connection_get_default6   (NMActiveConnection *connection);
+NMIP6Config *       nm_active_connection_get_ip6_config (NMActiveConnection *connection);
+NMDHCP6Config *     nm_active_connection_get_dhcp6_config
+                                                        (NMActiveConnection *connection);
+gboolean            nm_active_connection_get_vpn        (NMActiveConnection *connection);
+
+
-

Functions

-
+

Object Hierarchy

+
+  GObject
+   +----NMObject
+         +----NMActiveConnection
+               +----NMVPNConnection
+
+ +
+

Implemented Interfaces

+

+NMActiveConnection implements + GInitable and GAsyncInitable.

+
+
+

Properties

+
+  "connection"               gchar*                : Read
+  "default"                  gboolean              : Read
+  "default6"                 gboolean              : Read
+  "devices"                  NMObjectArray*        : Read
+  "dhcp4-config"             NMDHCP4Config*        : Read
+  "dhcp6-config"             NMDHCP6Config*        : Read
+  "id"                       gchar*                : Read
+  "ip4-config"               NMIP4Config*          : Read
+  "ip6-config"               NMIP6Config*          : Read
+  "master"                   gchar*                : Read
+  "specific-object"          gchar*                : Read
+  "state"                    guint                 : Read
+  "type"                     gchar*                : Read
+  "uuid"                     gchar*                : Read
+  "vpn"                      gboolean              : Read
+
+
+
+

Description

+

+

+
+
+

Details

+
+

NM_ACTIVE_CONNECTION_CONNECTION

+
#define NM_ACTIVE_CONNECTION_CONNECTION          "connection"
+
+

+

+
+
+
+

NM_ACTIVE_CONNECTION_ID

+
#define NM_ACTIVE_CONNECTION_ID                  "id"
+
+

+

+
+
+
+

NM_ACTIVE_CONNECTION_UUID

+
#define NM_ACTIVE_CONNECTION_UUID                "uuid"
+
+

+

+
+
+
+

NM_ACTIVE_CONNECTION_TYPE

+
#define NM_ACTIVE_CONNECTION_TYPE                "type"
+
+

+

+
+
+
+

NM_ACTIVE_CONNECTION_SPECIFIC_OBJECT

+
#define NM_ACTIVE_CONNECTION_SPECIFIC_OBJECT     "specific-object"
+
+

+

+
+
+
+

NM_ACTIVE_CONNECTION_DEVICES

+
#define NM_ACTIVE_CONNECTION_DEVICES             "devices"
+
+

+

+
+
+
+

NM_ACTIVE_CONNECTION_STATE

+
#define NM_ACTIVE_CONNECTION_STATE               "state"
+
+

+

+
+
+
+

NM_ACTIVE_CONNECTION_DEFAULT

+
#define NM_ACTIVE_CONNECTION_DEFAULT             "default"
+
+

+

+
+
+
+

NM_ACTIVE_CONNECTION_IP4_CONFIG

+
#define NM_ACTIVE_CONNECTION_IP4_CONFIG          "ip4-config"
+
+

+

+
+
+
+

NM_ACTIVE_CONNECTION_DHCP4_CONFIG

+
#define NM_ACTIVE_CONNECTION_DHCP4_CONFIG        "dhcp4-config"
+
+

+

+
+
+
+

NM_ACTIVE_CONNECTION_DEFAULT6

+
#define NM_ACTIVE_CONNECTION_DEFAULT6            "default6"
+
+

+

+
+
+
+

NM_ACTIVE_CONNECTION_IP6_CONFIG

+
#define NM_ACTIVE_CONNECTION_IP6_CONFIG          "ip6-config"
+
+

+

+
+
+
+

NM_ACTIVE_CONNECTION_DHCP6_CONFIG

+
#define NM_ACTIVE_CONNECTION_DHCP6_CONFIG        "dhcp6-config"
+
+

+

+
+
+
+

NM_ACTIVE_CONNECTION_VPN

+
#define NM_ACTIVE_CONNECTION_VPN                 "vpn"
+
+

+

+
+
+
+

NM_ACTIVE_CONNECTION_MASTER

+
#define NM_ACTIVE_CONNECTION_MASTER              "master"
+
+

+

+
+
+
+

NMActiveConnection

+
typedef struct _NMActiveConnection NMActiveConnection;
+

+

+
+
+
+

NMActiveConnectionClass

+
typedef struct {
+	NMObjectClass parent;
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+	void (*_reserved5) (void);
+	void (*_reserved6) (void);
+} NMActiveConnectionClass;
+
+

+

+
+
+
+

nm_active_connection_new ()

+
GObject *           nm_active_connection_new            (DBusGConnection *connection,
+                                                         const char *path);
+

+Creates a new NMActiveConnection. +

+
--++ - - + - - + + - - + + +
-GObject * - -nm_active_connection_new () +

connection :

the DBusGConnection
const char * - -nm_active_connection_get_connection () -

path :

the DBus object path of the device
const char * - -nm_active_connection_get_uuid () +

Returns :

a new active connection. [transfer full]
+
+
+
+

nm_active_connection_get_connection ()

+
const char *        nm_active_connection_get_connection (NMActiveConnection *connection);
+

+Gets the NMConnection's DBus object path. This is often used with +nm_remote_settings_get_connection_by_path() to retrieve the +NMRemoteConnection object that describes the connection. +

+
++++ + - - + - - + + + +
const char * - -nm_active_connection_get_specific_object () +

connection :

a NMActiveConnection
const GPtrArray * - -nm_active_connection_get_devices () -

Returns :

the object path of the NMConnection which this NMActiveConnection +is an active instance of. This is the internal string used by the +connection, and must not be modified.
+
+
+
+

nm_active_connection_get_id ()

+
const char *        nm_active_connection_get_id         (NMActiveConnection *connection);
+

+Gets the NMConnection's ID. +

+
++++ + - - + - - + + + +
-NMActiveConnectionState - -nm_active_connection_get_state () +

connection :

a NMActiveConnection
-gboolean - -nm_active_connection_get_default () -

Returns :

the ID of the NMConnection that backs the NMActiveConnection. +This is the internal string used by the connection, and must not be modified.
+

Since 0.9.10

+
+
+
+

nm_active_connection_get_uuid ()

+
const char *        nm_active_connection_get_uuid       (NMActiveConnection *connection);
+

+Gets the NMConnection's UUID. +

+
++++ + - - + - - + +
-gboolean - -nm_active_connection_get_default6 () +

connection :

a NMActiveConnection
const char * - -nm_active_connection_get_master () -

Returns :

the UUID of the NMConnection that backs the NMActiveConnection. +This is the internal string used by the connection, and must not be modified.
-
-

Properties

-
+
+
+

nm_active_connection_get_connection_type ()

+
const char *        nm_active_connection_get_connection_type
+                                                        (NMActiveConnection *connection);
+

+Gets the NMConnection's type. +

+
---++ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - + +
-gchar *connectionRead
gbooleandefaultRead
gbooleandefault6Read
-NMObjectArray *devicesRead
-gchar *masterRead
-gchar *specific-objectRead
guintstateRead

connection :

a NMActiveConnection +
-gchar *uuidRead

Returns :

the type of the NMConnection that backs the NMActiveConnection. +This is the internal string used by the connection, and must not be modified.
+

Since 0.9.10

-
-

Types and Values

-
+
+
+

nm_active_connection_get_specific_object ()

+
const char *        nm_active_connection_get_specific_object
+                                                        (NMActiveConnection *connection);
+

+Gets the "specific object" used at the activation. +

+
--++ - - - - - - - - - - - - - - - - - - + + - - + + + +
#defineNM_ACTIVE_CONNECTION_CONNECTION
#defineNM_ACTIVE_CONNECTION_UUID
#defineNM_ACTIVE_CONNECTION_SPECIFIC_OBJECT
#defineNM_ACTIVE_CONNECTION_DEVICES
#defineNM_ACTIVE_CONNECTION_STATE

connection :

a NMActiveConnection +
#defineNM_ACTIVE_CONNECTION_DEFAULT

Returns :

the specific object's DBus path. This is the internal string used by the +connection, and must not be modified.
+
+
+
+

nm_active_connection_get_devices ()

+
const GPtrArray *   nm_active_connection_get_devices    (NMActiveConnection *connection);
+

+Gets the NMDevices used for the active connections. +

+
++++ + - - + + - - + +
#defineNM_ACTIVE_CONNECTION_DEFAULT6

connection :

a NMActiveConnection +
#defineNM_ACTIVE_CONNECTION_MASTER

Returns :

the GPtrArray containing NMDevices. +This is the internal copy used by the connection, and must not be modified. [element-type NMClient.Device] +
-
-

Object Hierarchy

-
    GObject
-    ╰── NMObject
-        ╰── NMActiveConnection
-            ╰── NMVPNConnection
-
-
-
-

Description

+
+
+

nm_active_connection_get_state ()

+
NMActiveConnectionState nm_active_connection_get_state  (NMActiveConnection *connection);

+Gets the active connection's state.

-
-
-

Functions

-
-

nm_active_connection_new ()

-
GObject *
-nm_active_connection_new (DBusGConnection *connection,
-                          const char *path);
-

Creates a new NMActiveConnection.

-
-

Parameters

-
+
---++ - - - + + - - - + +

connection

the DBusGConnection

 

connection :

a NMActiveConnection +

path

the DBus object path of the device

 

Returns :

the state
-
-

Returns

-

a new active connection.

-

[transfer full]

-
-

-

nm_active_connection_get_connection ()

-
const char *
-nm_active_connection_get_connection (NMActiveConnection *connection);
-

Gets the NMConnection's DBus object path.

-
-

Parameters

-
+

nm_active_connection_get_master ()

+
const char *        nm_active_connection_get_master     (NMActiveConnection *connection);
+

+Gets the path to the master NMDevice of the connection. +

+
---++ - - - - - + + + + + + + + + +

connection

a NMActiveConnection

 

connection :

a NMActiveConnection +

Returns :

the path of the master NMDevice of the NMActiveConnection. +This is the internal string used by the connection, and must not be modified.
-
-

Returns

-

the object path of the NMConnection inside of NMActiveConnection. -This is the internal string used by the connection, and must not be modified.

-

-
-

-

nm_active_connection_get_uuid ()

-
const char *
-nm_active_connection_get_uuid (NMActiveConnection *connection);
-

Gets the NMConnection's UUID.

-
-

Parameters

-
+

nm_active_connection_get_default ()

+
gboolean            nm_active_connection_get_default    (NMActiveConnection *connection);
+

+Whether the active connection is the default IPv4 one (that is, is used for +the default IPv4 route and DNS information). +

+
---++ - - - - - + + + + + + + + + +

connection

a NMActiveConnection

 

connection :

a NMActiveConnection +

Returns :

+TRUE if the active connection is the default IPv4 connection
-
-

Returns

-

the UUID of the NMConnection that backs the NMActiveConnection. -This is the internal string used by the connection, and must not be modified.

-

-
-

-

nm_active_connection_get_specific_object ()

-
const char *
-nm_active_connection_get_specific_object
-                               (NMActiveConnection *connection);
-

Gets the "specific object" used at the activation.

-
-

Parameters

-
+

nm_active_connection_get_ip4_config ()

+
NMIP4Config *       nm_active_connection_get_ip4_config (NMActiveConnection *connection);
+

+Gets the current NMIP4Config associated with the NMActiveConnection. +

+
---++ - - - - - + + + + + + + + + +

connection

a NMActiveConnection

 

connection :

an NMActiveConnection +

Returns :

the NMIP4Config, or NULL if the +connection is not in the NM_ACTIVE_CONNECTION_STATE_ACTIVATED +state. [transfer none] +
-
-
-

Returns

-

the specific object's DBus path. This is the internal string used by the -connection, and must not be modified.

-

-
+

Since 0.9.10


-

nm_active_connection_get_devices ()

-
const GPtrArray *
-nm_active_connection_get_devices (NMActiveConnection *connection);
-

Gets the NMDevices used for the active connections.

-
-

Parameters

-
+

nm_active_connection_get_dhcp4_config ()

+
NMDHCP4Config *     nm_active_connection_get_dhcp4_config
+                                                        (NMActiveConnection *connection);
+

+Gets the current NMDHCP4Config (if any) associated with the +NMActiveConnection. +

+
---++ - - - - - + + + + + + + + + +

connection

a NMActiveConnection

 

connection :

an NMActiveConnection +

Returns :

the NMDHCP4Config, or NULL if the +connection does not use DHCP, or is not in the +NM_ACTIVE_CONNECTION_STATE_ACTIVATED state. [transfer none] +
-
-
-

Returns

-

the GPtrArray containing NMDevices. -This is the internal copy used by the connection, and must not be modified.

-

[element-type NMClient.Device]

-
+

Since 0.9.10


-

nm_active_connection_get_state ()

-
NMActiveConnectionState
-nm_active_connection_get_state (NMActiveConnection *connection);
-

Gets the active connection's state.

-
-

Parameters

-
+

nm_active_connection_get_default6 ()

+
gboolean            nm_active_connection_get_default6   (NMActiveConnection *connection);
+

+Whether the active connection is the default IPv6 one (that is, is used for +the default IPv6 route and DNS information). +

+
---++ - - - - - + + + + + + + + + +

connection

a NMActiveConnection

 

connection :

a NMActiveConnection +

Returns :

+TRUE if the active connection is the default IPv6 connection
-
-

Returns

-

the state

-

-
-

-

nm_active_connection_get_default ()

-
gboolean
-nm_active_connection_get_default (NMActiveConnection *connection);
-

Whether the active connection is the default IPv4 one (that is, is used for -the default IPv4 route and DNS information).

-
-

Parameters

-
+

nm_active_connection_get_ip6_config ()

+
NMIP6Config *       nm_active_connection_get_ip6_config (NMActiveConnection *connection);
+

+Gets the current NMIP6Config associated with the NMActiveConnection. +

+
---++ - - - - - + + + + + + + + + +

connection

a NMActiveConnection

 

connection :

an NMActiveConnection +

Returns :

the NMIP6Config, or NULL if the +connection is not in the NM_ACTIVE_CONNECTION_STATE_ACTIVATED +state. [transfer none] +
-
-
-

Returns

-

TRUE if the active connection is the default IPv4 connection

-

-
+

Since 0.9.10


-

nm_active_connection_get_default6 ()

-
gboolean
-nm_active_connection_get_default6 (NMActiveConnection *connection);
-

Whether the active connection is the default IPv6 one (that is, is used for -the default IPv6 route and DNS information).

-
-

Parameters

-
+

nm_active_connection_get_dhcp6_config ()

+
NMDHCP6Config *     nm_active_connection_get_dhcp6_config
+                                                        (NMActiveConnection *connection);
+

+Gets the current NMDHCP6Config (if any) associated with the +NMActiveConnection. +

+
---++ - - - - - + + + + + + + + + +

connection

a NMActiveConnection

 

connection :

an NMActiveConnection +

Returns :

the NMDHCP6Config, or NULL if the +connection does not use DHCPv6, or is not in the +NM_ACTIVE_CONNECTION_STATE_ACTIVATED state. [transfer none] +
-
-
-

Returns

-

TRUE if the active connection is the default IPv6 connection

-

-
+

Since 0.9.10


-

nm_active_connection_get_master ()

-
const char *
-nm_active_connection_get_master (NMActiveConnection *connection);
-

Gets the path to the master NMDevice of the connection.

-
-

Parameters

-
+

nm_active_connection_get_vpn ()

+
gboolean            nm_active_connection_get_vpn        (NMActiveConnection *connection);
+

+Whether the active connection is a VPN connection. +

+
---++ - - - - - + + + + + + + + + +

connection

a NMActiveConnection

 

connection :

a NMActiveConnection +

Returns :

+TRUE if the active connection is a VPN connection
-
-
-

Returns

-

the path of the master NMDevice of the NMActiveConnection. -This is the internal string used by the connection, and must not be modified.

-

-
+

Since 0.9.10

-

Types and Values

+

Property Details

-

NM_ACTIVE_CONNECTION_CONNECTION

-
#define NM_ACTIVE_CONNECTION_CONNECTION          "connection"
-
+

The "connection" property

+
  "connection"               gchar*                : Read

+The connection's path of the active connection.

+

Default value: NULL


-

NM_ACTIVE_CONNECTION_UUID

-
#define NM_ACTIVE_CONNECTION_UUID                "uuid"
-
+

The "default" property

+
  "default"                  gboolean              : Read

+Whether the active connection is the default IPv4 one.

+

Default value: FALSE


-

NM_ACTIVE_CONNECTION_SPECIFIC_OBJECT

-
#define NM_ACTIVE_CONNECTION_SPECIFIC_OBJECT     "specific-object"
-
+

The "default6" property

+
  "default6"                 gboolean              : Read

+Whether the active connection is the default IPv6 one.

+

Default value: FALSE


-

NM_ACTIVE_CONNECTION_DEVICES

-
#define NM_ACTIVE_CONNECTION_DEVICES             "devices"
-
-

-

+

The "devices" property

+
  "devices"                  NMObjectArray*        : Read
+

Devices.


-

NM_ACTIVE_CONNECTION_STATE

-
#define NM_ACTIVE_CONNECTION_STATE               "state"
-
+

The "dhcp4-config" property

+
  "dhcp4-config"             NMDHCP4Config*        : Read

+The NMDHCP4Config of the connection.

+

Since 0.9.10


-

NM_ACTIVE_CONNECTION_DEFAULT

-
#define NM_ACTIVE_CONNECTION_DEFAULT             "default"
-
+

The "dhcp6-config" property

+
  "dhcp6-config"             NMDHCP6Config*        : Read

+The NMDHCP6Config of the connection.

+

Since 0.9.10


-

NM_ACTIVE_CONNECTION_DEFAULT6

-
#define NM_ACTIVE_CONNECTION_DEFAULT6            "default6"
-
+

The "id" property

+
  "id"                       gchar*                : Read

+The active connection's ID

+

Default value: NULL

+

Since 0.9.10


-

NM_ACTIVE_CONNECTION_MASTER

-
#define NM_ACTIVE_CONNECTION_MASTER              "master"
-
+

The "ip4-config" property

+
  "ip4-config"               NMIP4Config*          : Read

+The NMIP4Config of the connection.

-
-
-
-

Property Details

-
-

The “connection” property

-
  “connection”               gchar *
-

Connection.

-

Flags: Read

-

Default value: NULL

+

Since 0.9.10


-

The “default” property

-
  “default”                  gboolean
-

Is the default IPv4 active connection.

-

Flags: Read

-

Default value: FALSE

+

The "ip6-config" property

+
  "ip6-config"               NMIP6Config*          : Read
+

+The NMIP6Config of the connection. +

+

Since 0.9.10


-

The “default6” property

-
  “default6”                 gboolean
-

Is the default IPv6 active connection.

-

Flags: Read

-

Default value: FALSE

+

The "master" property

+
  "master"                   gchar*                : Read
+

+The path of the master device if one exists. +

+

Default value: NULL


-

The “devices” property

-
  “devices”                  NMObjectArray *
-

Devices.

-

Flags: Read

+

The "specific-object" property

+
  "specific-object"          gchar*                : Read
+

+The specific object's path of the active connection. +

+

Default value: NULL


-

The “master” property

-
  “master”                   gchar *
-

Path of the master device.

-

Flags: Read

-

Default value: NULL

+

The "state" property

+
  "state"                    guint                 : Read
+

+The state of the active connection. +

+

Allowed values: <= 3

+

Default value: 0


-

The “specific-object” property

-
  “specific-object”          gchar *
-

Specific object.

-

Flags: Read

+

The "type" property

+
  "type"                     gchar*                : Read
+

+The active connection's type +

Default value: NULL

+

Since 0.9.10


-

The “state” property

-
  “state”                    guint
-

State.

-

Flags: Read

-

Allowed values: <= 3

-

Default value: 0

+

The "uuid" property

+
  "uuid"                     gchar*                : Read
+

+The active connection's UUID +

+

Default value: NULL


-

The “uuid” property

-
  “uuid”                     gchar *
-

UUID.

-

Flags: Read

-

Default value: NULL

+

The "vpn" property

+
  "vpn"                      gboolean              : Read
+

+Whether the active connection is a VPN connection. +

+

Default value: FALSE

+

Since 0.9.10

+ Generated by GTK-Doc V1.19
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMClient.html b/docs/libnm-glib/html/NMClient.html index 842183d9..67de2786 100644 --- a/docs/libnm-glib/html/NMClient.html +++ b/docs/libnm-glib/html/NMClient.html @@ -2,29 +2,38 @@ -libnm-glib Reference Manual: NMClient +NMClient - + - - - - - - - + + + + + + + + + +
@@ -32,2150 +41,1950 @@

NMClient

NMClient

- +
+
+

Synopsis

+
#define             NM_CLIENT_VERSION
+#define             NM_CLIENT_STATE
+#define             NM_CLIENT_STARTUP
+#define             NM_CLIENT_MANAGER_RUNNING
+#define             NM_CLIENT_NETWORKING_ENABLED
+#define             NM_CLIENT_WIRELESS_ENABLED
+#define             NM_CLIENT_WIRELESS_HARDWARE_ENABLED
+#define             NM_CLIENT_WWAN_ENABLED
+#define             NM_CLIENT_WWAN_HARDWARE_ENABLED
+#define             NM_CLIENT_WIMAX_ENABLED
+#define             NM_CLIENT_WIMAX_HARDWARE_ENABLED
+#define             NM_CLIENT_ACTIVE_CONNECTIONS
+#define             NM_CLIENT_CONNECTIVITY
+#define             NM_CLIENT_PRIMARY_CONNECTION
+#define             NM_CLIENT_ACTIVATING_CONNECTION
+#define             NM_CLIENT_DEVICES
+enum                NMClientPermission;
+enum                NMClientPermissionResult;
+enum                NMClientError;
+#define             NM_CLIENT_ERROR
+GQuark              nm_client_error_quark               (void);
+                    NMClient;
+                    NMClientClass;
+NMClient *          nm_client_new                       (void);
+void                nm_client_new_async                 (GCancellable *cancellable,
+                                                         GAsyncReadyCallback callback,
+                                                         gpointer user_data);
+NMClient *          nm_client_new_finish                (GAsyncResult *result,
+                                                         GError **error);
+const 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,
+                                                         gpointer user_data);
+void                nm_client_activate_connection       (NMClient *client,
+                                                         NMConnection *connection,
+                                                         NMDevice *device,
+                                                         const char *specific_object,
+                                                         NMClientActivateFn callback,
+                                                         gpointer user_data);
+void                (*NMClientAddActivateFn)            (NMClient *client,
+                                                         NMActiveConnection *connection,
+                                                         const char *new_connection_path,
+                                                         GError *error,
+                                                         gpointer user_data);
+void                nm_client_add_and_activate_connection
+                                                        (NMClient *client,
+                                                         NMConnection *partial,
+                                                         NMDevice *device,
+                                                         const char *specific_object,
+                                                         NMClientAddActivateFn callback,
+                                                         gpointer user_data);
+void                nm_client_deactivate_connection     (NMClient *client,
+                                                         NMActiveConnection *active);
+gboolean            nm_client_networking_get_enabled    (NMClient *client);
+void                nm_client_networking_set_enabled    (NMClient *client,
+                                                         gboolean enabled);
+gboolean            nm_client_wireless_get_enabled      (NMClient *client);
+void                nm_client_wireless_set_enabled      (NMClient *client,
+                                                         gboolean enabled);
+gboolean            nm_client_wireless_hardware_get_enabled
+                                                        (NMClient *client);
+gboolean            nm_client_wwan_get_enabled          (NMClient *client);
+void                nm_client_wwan_set_enabled          (NMClient *client,
+                                                         gboolean enabled);
+gboolean            nm_client_wwan_hardware_get_enabled (NMClient *client);
+gboolean            nm_client_wimax_get_enabled         (NMClient *client);
+void                nm_client_wimax_set_enabled         (NMClient *client,
+                                                         gboolean enabled);
+gboolean            nm_client_wimax_hardware_get_enabled
+                                                        (NMClient *client);
+const char *        nm_client_get_version               (NMClient *client);
+NMState             nm_client_get_state                 (NMClient *client);
+gboolean            nm_client_get_startup               (NMClient *client);
+gboolean            nm_client_get_manager_running       (NMClient *client);
+const GPtrArray *   nm_client_get_active_connections    (NMClient *client);
+void                nm_client_sleep                     (NMClient *client,
+                                                         gboolean sleep_);
+NMClientPermissionResult nm_client_get_permission_result
+                                                        (NMClient *client,
+                                                         NMClientPermission permission);
+gboolean            nm_client_get_logging               (NMClient *client,
+                                                         char **level,
+                                                         char **domains,
+                                                         GError **error);
+gboolean            nm_client_set_logging               (NMClient *client,
+                                                         const char *level,
+                                                         const char *domains,
+                                                         GError **error);
+NMConnectivityState nm_client_get_connectivity          (NMClient *client);
+NMConnectivityState nm_client_check_connectivity        (NMClient *client,
+                                                         GCancellable *cancellable,
+                                                         GError **error);
+void                nm_client_check_connectivity_async  (NMClient *client,
+                                                         GCancellable *cancellable,
+                                                         GAsyncReadyCallback callback,
+                                                         gpointer user_data);
+NMConnectivityState nm_client_check_connectivity_finish (NMClient *client,
+                                                         GAsyncResult *result,
+                                                         GError **error);
+NMActiveConnection * nm_client_get_primary_connection   (NMClient *client);
+NMActiveConnection * nm_client_get_activating_connection
+                                                        (NMClient *client);
+
+
-

Functions

-
---- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-NMClient * - -nm_client_new () -
-void - -nm_client_new_async () -
-NMClient * - -nm_client_new_finish () -
const GPtrArray * - -nm_client_get_devices () -
-NMDevice * - -nm_client_get_device_by_path () -
-NMDevice * - -nm_client_get_device_by_iface () -
-void - -(*NMClientActivateFn) () -
-void - -nm_client_activate_connection () -
-void - -(*NMClientAddActivateFn) () -
-void - -nm_client_add_and_activate_connection () -
-void - -nm_client_deactivate_connection () -
-gboolean - -nm_client_networking_get_enabled () -
-void - -nm_client_networking_set_enabled () -
-gboolean - -nm_client_wireless_get_enabled () -
-void - -nm_client_wireless_set_enabled () -
-gboolean - -nm_client_wireless_hardware_get_enabled () -
-gboolean - -nm_client_wwan_get_enabled () -
-void - -nm_client_wwan_set_enabled () -
-gboolean - -nm_client_wwan_hardware_get_enabled () -
-gboolean - -nm_client_wimax_get_enabled () -
-void - -nm_client_wimax_set_enabled () -
-gboolean - -nm_client_wimax_hardware_get_enabled () -
const char * - -nm_client_get_version () -
-NMState - -nm_client_get_state () -
-gboolean - -nm_client_get_manager_running () -
const GPtrArray * - -nm_client_get_active_connections () -
-void - -nm_client_sleep () -
-NMClientPermissionResult - -nm_client_get_permission_result () -
-gboolean - -nm_client_get_logging () -
-gboolean - -nm_client_set_logging () -
-NMConnectivityState - -nm_client_get_connectivity () -
-NMConnectivityState - -nm_client_check_connectivity () -
-void - -nm_client_check_connectivity_async () -
-NMConnectivityState - -nm_client_check_connectivity_finish () -
-NMActiveConnection * - -nm_client_get_primary_connection () -
-NMActiveConnection * - -nm_client_get_activating_connection () -
+

Object Hierarchy

+
+  GObject
+   +----NMObject
+         +----NMClient
+
+
+
+

Implemented Interfaces

+

+NMClient implements + GInitable and GAsyncInitable.

Properties

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-NMActiveConnection *activating-connectionRead
-NMObjectArray *active-connectionsRead
guintconnectivityRead
gbooleanmanager-runningRead
gbooleannetworking-enabledRead / Write
-NMActiveConnection *primary-connectionRead
guintstateRead
-gchar *versionRead
gbooleanwimax-enabledRead / Write
gbooleanwimax-hardware-enabledRead
gbooleanwireless-enabledRead / Write
gbooleanwireless-hardware-enabledRead
gbooleanwwan-enabledRead / Write
gbooleanwwan-hardware-enabledRead
+
+  "activating-connection"    NMActiveConnection*   : Read
+  "active-connections"       NMObjectArray*        : Read
+  "connectivity"             guint                 : Read
+  "devices"                  NMObjectArray*        : Read
+  "manager-running"          gboolean              : Read
+  "networking-enabled"       gboolean              : Read / Write
+  "primary-connection"       NMActiveConnection*   : Read
+  "startup"                  gboolean              : Read
+  "state"                    guint                 : Read
+  "version"                  gchar*                : Read
+  "wimax-enabled"            gboolean              : Read / Write
+  "wimax-hardware-enabled"   gboolean              : Read
+  "wireless-enabled"         gboolean              : Read / Write
+  "wireless-hardware-enabled" gboolean              : Read
+  "wwan-enabled"             gboolean              : Read / Write
+  "wwan-hardware-enabled"    gboolean              : Read
+
-

Types and Values

- +

Description

+

+

-

Object Hierarchy

-
    GObject
-    ╰── NMObject
-        ╰── NMClient
+

Details

+
+

NM_CLIENT_VERSION

+
#define NM_CLIENT_VERSION "version"
 
+

+

-
-

Description

+
+
+

NM_CLIENT_STATE

+
#define NM_CLIENT_STATE "state"
+
+

+

+
+
+
+

NM_CLIENT_STARTUP

+
#define NM_CLIENT_STARTUP "startup"
+
+

+

+
+
+
+

NM_CLIENT_MANAGER_RUNNING

+
#define NM_CLIENT_MANAGER_RUNNING "manager-running"
+
+

+

+
+
+
+

NM_CLIENT_NETWORKING_ENABLED

+
#define NM_CLIENT_NETWORKING_ENABLED "networking-enabled"
+
+

+

+
+
+
+

NM_CLIENT_WIRELESS_ENABLED

+
#define NM_CLIENT_WIRELESS_ENABLED "wireless-enabled"
+
+

+

+
+
+
+

NM_CLIENT_WIRELESS_HARDWARE_ENABLED

+
#define NM_CLIENT_WIRELESS_HARDWARE_ENABLED "wireless-hardware-enabled"
+
+

+

+
+
+
+

NM_CLIENT_WWAN_ENABLED

+
#define NM_CLIENT_WWAN_ENABLED "wwan-enabled"
+
+

+

+
+
+
+

NM_CLIENT_WWAN_HARDWARE_ENABLED

+
#define NM_CLIENT_WWAN_HARDWARE_ENABLED "wwan-hardware-enabled"
+
+

+

+
+
+
+

NM_CLIENT_WIMAX_ENABLED

+
#define NM_CLIENT_WIMAX_ENABLED "wimax-enabled"
+

-
-

Functions

-
-

nm_client_new ()

-
NMClient *
-nm_client_new (void);
-

Creates a new NMClient.

-

Note that this will do blocking D-Bus calls to initialize the -client. You can use nm_client_new_async() if you want to avoid -that.

-

NOTE: NMClient provides information about devices and a mechanism to -control them. To access and modify network configuration data, use the -NMRemoteSettings object.

-
-

Returns

-

a new NMClient

-

-
-

-

nm_client_new_async ()

-
void
-nm_client_new_async (GCancellable *cancellable,
-                     GAsyncReadyCallback callback,
-                     gpointer user_data);
-

Creates a new NMClient and begins asynchronously initializing it. -callback - will be called when it is done; use -nm_client_new_finish() to get the result.

-

NOTE: NMClient provides information about devices and a mechanism to -control them. To access and modify network configuration data, use the -NMRemoteSettings object.

-
-

Parameters

-
----- - - - - - - - - - - - - - - - - - -

cancellable

a GCancellable, or NULL

 

callback

callback to call when the client is created

 

user_data

data for callback -

 
-
+

NM_CLIENT_WIMAX_HARDWARE_ENABLED

+
#define NM_CLIENT_WIMAX_HARDWARE_ENABLED "wimax-hardware-enabled"
+
+

+


-

nm_client_new_finish ()

-
NMClient *
-nm_client_new_finish (GAsyncResult *result,
-                      GError **error);
-

Gets the result of an nm_client_new_async() call.

-
-

Parameters

-
----- - - - - - - - - - - - - -

result

a GAsyncResult

 

error

location for a GError, or NULL

 
-
-
-

Returns

-

a new NMClient, or NULL on error

-

-
+

NM_CLIENT_ACTIVE_CONNECTIONS

+
#define NM_CLIENT_ACTIVE_CONNECTIONS "active-connections"
+
+

+


-

nm_client_get_devices ()

-
const GPtrArray *
-nm_client_get_devices (NMClient *client);
-

Gets all the known network devices. Use nm_device_get_type() or the -NM_IS_DEVICE_XXXX() functions to determine what kind of device member of the -returned array is, and then you may use device-specific methods such as -nm_device_ethernet_get_hw_address().

-
-

Parameters

-
----- - - - - - -

client

a NMClient

 
-
-
-

Returns

-

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

-

[transfer none][element-type NMClient.Device]

-
+

NM_CLIENT_CONNECTIVITY

+
#define NM_CLIENT_CONNECTIVITY "connectivity"
+
+

+


-

nm_client_get_device_by_path ()

-
NMDevice *
-nm_client_get_device_by_path (NMClient *client,
-                              const char *object_path);
-

Gets a NMDevice from a NMClient.

-
-

Parameters

-
----- - - - - - - - - - - - - -

client

a NMClient

 

object_path

the object path to search for

 
-
-
-

Returns

-

the NMDevice for the given object_path -or NULL if none is found.

-

[transfer none]

-
+

NM_CLIENT_PRIMARY_CONNECTION

+
#define NM_CLIENT_PRIMARY_CONNECTION "primary-connection"
+
+

+


-

nm_client_get_device_by_iface ()

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

Gets a NMDevice from a NMClient.

-
-

Parameters

-
----- - - - - - - - - - - - - -

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]

-
+

NM_CLIENT_ACTIVATING_CONNECTION

+
#define NM_CLIENT_ACTIVATING_CONNECTION "activating-connection"
+
+

+


-

NMClientActivateFn ()

-
void
-(*NMClientActivateFn) (NMClient *client,
-                       NMActiveConnection *active_connection,
-                       GError *error,
-                       gpointer user_data);
+

NM_CLIENT_DEVICES

+
#define NM_CLIENT_DEVICES "devices"
+


-

nm_client_activate_connection ()

-
void
-nm_client_activate_connection (NMClient *client,
-                               NMConnection *connection,
-                               NMDevice *device,
-                               const char *specific_object,
-                               NMClientActivateFn callback,
-                               gpointer user_data);
-

Starts a connection to a particular network using the configuration settings -from connection - and the network device device -. Certain connection types -also take a "specific object" which is the object path of a connection- -specific object, like an NMAccessPoint for WiFi connections, or an -NMWimaxNsp for WiMAX connections, to which you wish to connect. If the -specific object is not given, NetworkManager can, in some cases, automatically -determine which network to connect to given the settings in connection -.

-
-

Parameters

-
+

enum NMClientPermission

+
typedef enum {
+	NM_CLIENT_PERMISSION_NONE = 0,
+	NM_CLIENT_PERMISSION_ENABLE_DISABLE_NETWORK = 1,
+	NM_CLIENT_PERMISSION_ENABLE_DISABLE_WIFI = 2,
+	NM_CLIENT_PERMISSION_ENABLE_DISABLE_WWAN = 3,
+	NM_CLIENT_PERMISSION_ENABLE_DISABLE_WIMAX = 4,
+	NM_CLIENT_PERMISSION_SLEEP_WAKE = 5,
+	NM_CLIENT_PERMISSION_NETWORK_CONTROL = 6,
+	NM_CLIENT_PERMISSION_WIFI_SHARE_PROTECTED = 7,
+	NM_CLIENT_PERMISSION_WIFI_SHARE_OPEN = 8,
+	NM_CLIENT_PERMISSION_SETTINGS_MODIFY_SYSTEM = 9,
+	NM_CLIENT_PERMISSION_SETTINGS_MODIFY_OWN = 10,
+	NM_CLIENT_PERMISSION_SETTINGS_MODIFY_HOSTNAME = 11,
+
+	NM_CLIENT_PERMISSION_LAST = NM_CLIENT_PERMISSION_SETTINGS_MODIFY_HOSTNAME
+} NMClientPermission;
+
+

+NMClientPermission values indicate various permissions that NetworkManager +clients can obtain to perform certain tasks on behalf of the current user. +

+
---++ - - - + + + + + + - - - + + - - - + + - - - + + - - - + + - - - + + - -

client

a NMClient

 

NM_CLIENT_PERMISSION_NONE

unknown or no permission +

NM_CLIENT_PERMISSION_ENABLE_DISABLE_NETWORK

controls whether networking + can be globally enabled or disabled +

connection

an NMConnection

 

NM_CLIENT_PERMISSION_ENABLE_DISABLE_WIFI

controls whether Wi-Fi can be + globally enabled or disabled +

device

the NMDevice.

[allow-none]

NM_CLIENT_PERMISSION_ENABLE_DISABLE_WWAN

controls whether WWAN (3G) can be + globally enabled or disabled +

specific_object

the object path of a connection-type-specific -object this activation should use. This parameter is currently ignored for -wired and mobile broadband connections, and the value of NULL should be used -(ie, no specific object). For WiFi or WiMAX connections, pass the object -path of a NMAccessPoint or NMWimaxNsp owned by device -, which you can -get using nm_object_get_path(), and which will be used to complete the -details of the newly added connection.

[allow-none]

NM_CLIENT_PERMISSION_ENABLE_DISABLE_WIMAX

controls whether WiMAX can be + globally enabled or disabled +

callback

the function to call when the call is done.

[scope async][allow-none]

NM_CLIENT_PERMISSION_SLEEP_WAKE

controls whether the client can ask + NetworkManager to sleep and wake +

user_data

user data to pass to the callback function.

[closure]

NM_CLIENT_PERMISSION_NETWORK_CONTROL

controls whether networking connections + can be started, stopped, and changed +
-
-
-
-
-

NMClientAddActivateFn ()

-
void
-(*NMClientAddActivateFn) (NMClient *client,
-                          NMActiveConnection *connection,
-                          const char *new_connection_path,
-                          GError *error,
-                          gpointer user_data);
-

-

-
-
-
-

nm_client_add_and_activate_connection ()

-
void
-nm_client_add_and_activate_connection (NMClient *client,
-                                       NMConnection *partial,
-                                       NMDevice *device,
-                                       const char *specific_object,
-                                       NMClientAddActivateFn callback,
-                                       gpointer user_data);
-

Adds a new connection using the given details (if any) as a template, -automatically filling in missing settings with the capabilities of the -given device and specific object. The new connection is then activated. -Cannot be used for VPN connections at this time.

-
-

Parameters

-
----- - - - - + + - - - + + - - - + + - - - + + - - - + + - - - + +

client

a NMClient

 

NM_CLIENT_PERMISSION_WIFI_SHARE_PROTECTED

controls whether a password + protected Wi-Fi hotspot can be created +

partial

an NMConnection to add; the connection may be -partially filled (or even NULL) and will be completed by NetworkManager -using the given device -and specific_object -before being added.

[allow-none]

NM_CLIENT_PERMISSION_WIFI_SHARE_OPEN

controls whether an open Wi-Fi hotspot + can be created +

device

the NMDevice

 

NM_CLIENT_PERMISSION_SETTINGS_MODIFY_SYSTEM

controls whether connections + that are available to all users can be modified +

specific_object

the object path of a connection-type-specific -object this activation should use. This parameter is currently ignored for -wired and mobile broadband connections, and the value of NULL should be used -(ie, no specific object). For WiFi or WiMAX connections, pass the object -path of a NMAccessPoint or NMWimaxNsp owned by device -, which you can -get using nm_object_get_path(), and which will be used to complete the -details of the newly added connection.

[allow-none]

NM_CLIENT_PERMISSION_SETTINGS_MODIFY_OWN

controls whether connections + owned by the current user can be modified +

callback

the function to call when the call is done.

[scope async][allow-none]

NM_CLIENT_PERMISSION_SETTINGS_MODIFY_HOSTNAME

controls whether the + persistent hostname can be changed +

user_data

user data to pass to the callback function.

[closure]

NM_CLIENT_PERMISSION_LAST

a reserved boundary value +
-

-

nm_client_deactivate_connection ()

-
void
-nm_client_deactivate_connection (NMClient *client,
-                                 NMActiveConnection *active);
-

Deactivates an active NMActiveConnection.

-
-

Parameters

-
+

enum NMClientPermissionResult

+
typedef enum {
+	NM_CLIENT_PERMISSION_RESULT_UNKNOWN = 0,
+	NM_CLIENT_PERMISSION_RESULT_YES,
+	NM_CLIENT_PERMISSION_RESULT_AUTH,
+	NM_CLIENT_PERMISSION_RESULT_NO
+} NMClientPermissionResult;
+
+

+NMClientPermissionResult values indicate what authorizations and permissions +the user requires to obtain a given NMClientPermission +

+
---++ - - - + + - - - + + - -

client

a NMClient

 

NM_CLIENT_PERMISSION_RESULT_UNKNOWN

unknown or no authorization +

active

the NMActiveConnection to deactivate

 

NM_CLIENT_PERMISSION_RESULT_YES

the permission is available +
-
-
-
-
-

nm_client_networking_get_enabled ()

-
gboolean
-nm_client_networking_get_enabled (NMClient *client);
-

Whether networking is enabled or disabled.

-
-

Parameters

-
----- - - - - - -

client

a NMClient

 
-
-
-

Returns

-

TRUE if networking is enabled, FALSE if networking is disabled

-

-
-
-
-
-

nm_client_networking_set_enabled ()

-
void
-nm_client_networking_set_enabled (NMClient *client,
-                                  gboolean enabled);
-

Enables or disables networking. When networking is disabled, all controlled -interfaces are disconnected and deactivated. When networking is enabled, -all controlled interfaces are available for activation.

-
-

Parameters

-
----- - - - - + + - - - + +

client

a NMClient

 

NM_CLIENT_PERMISSION_RESULT_AUTH

authorization is necessary before the + permission is available +

enabled

TRUE to set networking enabled, FALSE to set networking disabled

 

NM_CLIENT_PERMISSION_RESULT_NO

permission to perform the operation is + denied by system policy +
-
-
-
-

nm_client_wireless_get_enabled ()

-
gboolean
-nm_client_wireless_get_enabled (NMClient *client);
-

Determines whether the wireless is enabled.

-
-

Parameters

-
----- - - - - - -

client

a NMClient

 
-
-
-

Returns

-

TRUE if wireless is enabled

-

-
-

-

nm_client_wireless_set_enabled ()

-
void
-nm_client_wireless_set_enabled (NMClient *client,
-                                gboolean enabled);
-

Enables or disables wireless devices.

-
-

Parameters

-
+

enum NMClientError

+
typedef enum {
+	NM_CLIENT_ERROR_UNKNOWN = 0,            /*< nick=UnknownError >*/
+	NM_CLIENT_ERROR_MANAGER_NOT_RUNNING,    /*< nick=ManagerNotRunning >*/
+} NMClientError;
+
+

+Describes errors that may result from operations involving a NMClient. +

+
---++ - - - + + - - - + +

client

a NMClient

 

NM_CLIENT_ERROR_UNKNOWN

unknown or unclassified error +

enabled

TRUE to enable wireless

 

NM_CLIENT_ERROR_MANAGER_NOT_RUNNING

an operation that requires NetworkManager + failed because NetworkManager is not running +
-

-

nm_client_wireless_hardware_get_enabled ()

-
gboolean
-nm_client_wireless_hardware_get_enabled
-                               (NMClient *client);
-

Determines whether the wireless hardware is enabled.

-
-

Parameters

-
----- - - - - - -

client

a NMClient

 
-
-
-

Returns

-

TRUE if the wireless hardware is enabled

-

-
+

NM_CLIENT_ERROR

+
#define NM_CLIENT_ERROR nm_client_error_quark ()
+
+

+


-

nm_client_wwan_get_enabled ()

-
gboolean
-nm_client_wwan_get_enabled (NMClient *client);
-

Determines whether WWAN is enabled.

-
-

Parameters

-
+

nm_client_error_quark ()

+
GQuark              nm_client_error_quark               (void);
+

+Registers an error quark for NMClient if necessary. +

+
---++ - - - + +

client

a NMClient

 

Returns :

the error quark used for NMClient errors.
-
-
-

Returns

-

TRUE if WWAN is enabled

-

-
+

Since 0.9.10


-

nm_client_wwan_set_enabled ()

-
void
-nm_client_wwan_set_enabled (NMClient *client,
-                            gboolean enabled);
-

Enables or disables WWAN devices.

-
-

Parameters

-
----- - - - - - - - - - - - - -

client

a NMClient

 

enabled

TRUE to enable WWAN

 
-
+

NMClient

+
typedef struct _NMClient NMClient;
+

+


-

nm_client_wwan_hardware_get_enabled ()

-
gboolean
-nm_client_wwan_hardware_get_enabled (NMClient *client);
-

Determines whether the WWAN hardware is enabled.

-
-

Parameters

-
----- - - - - - -

client

a NMClient

 
-
-
-

Returns

-

TRUE if the WWAN hardware is enabled

-

-
+

NMClientClass

+
typedef struct {
+	NMObjectClass parent;
+
+	/* Signals */
+	void (*device_added) (NMClient *client, NMDevice *device);
+	void (*device_removed) (NMClient *client, NMDevice *device);
+	void (*permission_changed) (NMClient *client,
+	                            NMClientPermission permission,
+	                            NMClientPermissionResult result);
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+	void (*_reserved5) (void);
+	void (*_reserved6) (void);
+} NMClientClass;
+
+

+


-

nm_client_wimax_get_enabled ()

-
gboolean
-nm_client_wimax_get_enabled (NMClient *client);
-

Determines whether WiMAX is enabled.

-
-

Parameters

-
+

nm_client_new ()

+
NMClient *          nm_client_new                       (void);
+

+Creates a new NMClient. +

+

+Note that this will do blocking D-Bus calls to initialize the +client. You can use nm_client_new_async() if you want to avoid +that. +

+

+NOTE: NMClient provides information about devices and a mechanism to +control them. To access and modify network configuration data, use the +NMRemoteSettings object. +

+
---++ - - - + +

client

a NMClient

 

Returns :

a new NMClient or NULL on an error
-
-

Returns

-

TRUE if WiMAX is enabled

-

-
-

-

nm_client_wimax_set_enabled ()

-
void
-nm_client_wimax_set_enabled (NMClient *client,
-                             gboolean enabled);
-

Enables or disables WiMAX devices.

-
-

Parameters

-
+

nm_client_new_async ()

+
void                nm_client_new_async                 (GCancellable *cancellable,
+                                                         GAsyncReadyCallback callback,
+                                                         gpointer user_data);
+

+Creates a new NMClient and begins asynchronously initializing it. +callback will be called when it is done; use +nm_client_new_finish() to get the result. Note that on an error, +the callback can be invoked with two first parameters as NULL. +

+

+NOTE: NMClient provides information about devices and a mechanism to +control them. To access and modify network configuration data, use the +NMRemoteSettings object. +

+
---++ - - - + + - - - + + - -

client

a NMClient

 

cancellable :

a GCancellable, or NULL +

enabled

TRUE to enable WiMAX

 

callback :

callback to call when the client is created
-
-
-
-
-

nm_client_wimax_hardware_get_enabled ()

-
gboolean
-nm_client_wimax_hardware_get_enabled (NMClient *client);
-

Determines whether the WiMAX hardware is enabled.

-
-

Parameters

-
----- - - - - - -

client

a NMClient

 
-
-
-

Returns

-

TRUE if the WiMAX hardware is enabled

-

-
-
-
-
-

nm_client_get_version ()

-
const char *
-nm_client_get_version (NMClient *client);
-

Gets NetworkManager version.

-
-

Parameters

-
----- - - - - - -

client

a NMClient

 
-
-
-

Returns

-

string with the version

-

-
-
-
-
-

nm_client_get_state ()

-
NMState
-nm_client_get_state (NMClient *client);
-

Gets the current daemon state.

-
-

Parameters

-
----- - - - - - + + + + +

client

a NMClient

 

user_data :

data for callback +
-
-

Returns

-

the current NMState

-

-
-

-

nm_client_get_manager_running ()

-
gboolean
-nm_client_get_manager_running (NMClient *client);
-

Determines whether the daemon is running.

-
-

Parameters

-
+

nm_client_new_finish ()

+
NMClient *          nm_client_new_finish                (GAsyncResult *result,
+                                                         GError **error);
+

+Gets the result of an nm_client_new_async() call. +

+
---++ - - - - - + + + + + + + + + + + + + +

client

a NMClient

 

result :

a GAsyncResult +

error :

location for a GError, or NULL +

Returns :

a new NMClient, or NULL on error
-
-

Returns

-

TRUE if the daemon is running

-

-
-

-

nm_client_get_active_connections ()

-
const GPtrArray *
-nm_client_get_active_connections (NMClient *client);
-

Gets the active connections.

-
-

Parameters

-
+

nm_client_get_devices ()

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

+Gets all the known network devices. Use nm_device_get_type() or the +NM_IS_DEVICE_XXXX() functions to determine what kind of device member of the +returned array is, and then you may use device-specific methods such as +nm_device_ethernet_get_hw_address(). +

+
---++ - - - - - + + + + + + + + + +

client

a NMClient

 

client :

a NMClient +

Returns :

a GPtrArray +containing all the NMDevices. The returned array is owned by the +NMClient object and should not be modified. [transfer none][element-type NMClient.Device] +
-
-

Returns

-

a GPtrArray -containing all the active NMActiveConnections. -The returned array is owned by the client and should not be modified.

-

[transfer none][element-type NMClient.ActiveConnection]

-
-

-

nm_client_sleep ()

-
void
-nm_client_sleep (NMClient *client,
-                 gboolean sleep_);
-

Deprecated; use nm_client_networking_set_enabled() instead.

-
-

Parameters

-
+

nm_client_get_device_by_path ()

+
NMDevice *          nm_client_get_device_by_path        (NMClient *client,
+                                                         const char *object_path);
+

+Gets a NMDevice from a NMClient. +

+
---++ - - - + + + + + + - - - + +

client

a NMClient

 

client :

a NMClient +

object_path :

the object path to search for

sleep_

TRUE to put the daemon to sleep

 

Returns :

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

-

nm_client_get_permission_result ()

-
NMClientPermissionResult
-nm_client_get_permission_result (NMClient *client,
-                                 NMClientPermission permission);
-

Requests the result of a specific permission, which indicates whether the -client can or cannot perform the action the permission represents

-
-

Parameters

-
+

nm_client_get_device_by_iface ()

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

+Gets a NMDevice from a NMClient. +

+
---++ - - - + + + + + + - - - + +

client

a NMClient

 

client :

a NMClient +

iface :

the interface name to search for

permission

the permission for which to return the result, one of NMClientPermission

 

Returns :

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

Returns

-

the permission's result, one of NMClientPermissionResult

-

-
+
+
+

NMClientActivateFn ()

+
void                (*NMClientActivateFn)               (NMClient *client,
+                                                         NMActiveConnection *active_connection,
+                                                         GError *error,
+                                                         gpointer user_data);
+

+


-

nm_client_get_logging ()

-
gboolean
-nm_client_get_logging (NMClient *client,
-                       char **level,
-                       char **domains,
-                       GError **error);
-

Gets NetworkManager current logging level and domains.

-
-

Parameters

-
+

nm_client_activate_connection ()

+
void                nm_client_activate_connection       (NMClient *client,
+                                                         NMConnection *connection,
+                                                         NMDevice *device,
+                                                         const char *specific_object,
+                                                         NMClientActivateFn callback,
+                                                         gpointer user_data);
+

+Starts a connection to a particular network using the configuration settings +from connection and the network device device. Certain connection types +also take a "specific object" which is the object path of a connection- +specific object, like an NMAccessPoint for Wi-Fi connections, or an +NMWimaxNsp for WiMAX connections, to which you wish to connect. If the +specific object is not given, NetworkManager can, in some cases, automatically +determine which network to connect to given the settings in connection. +

+

+If connection is not given for a device-based activation, NetworkManager +picks the best available connection for the device and activates it. +

+
---++ - - - + + + + + + + + + + - - - + + - - - + + - - - + +

client

a NMClient

 

client :

a NMClient +

connection :

an NMConnection. [allow-none] +

device :

the NMDevice. [allow-none] +

level

return location for logging level string.

[allow-none]

specific_object :

the object path of a connection-type-specific +object this activation should use. This parameter is currently ignored for +wired and mobile broadband connections, and the value of NULL should be used +(ie, no specific object). For Wi-Fi or WiMAX connections, pass the object +path of a NMAccessPoint or NMWimaxNsp owned by device, which you can +get using nm_object_get_path(), and which will be used to complete the +details of the newly added connection. [allow-none] +

domains

return location for log domains string. The string is -a list of domains separated by ",".

[allow-none]

callback :

the function to call when the call is done. [scope async][allow-none] +

error

return location for a GError, or NULL.

[allow-none]

user_data :

user data to pass to the callback function. [closure] +
-
-

Returns

-

TRUE on success, FALSE otherwise

-

-
-

Since 0.9.8

+
+
+

NMClientAddActivateFn ()

+
void                (*NMClientAddActivateFn)            (NMClient *client,
+                                                         NMActiveConnection *connection,
+                                                         const char *new_connection_path,
+                                                         GError *error,
+                                                         gpointer user_data);
+

+


-

nm_client_set_logging ()

-
gboolean
-nm_client_set_logging (NMClient *client,
-                       const char *level,
-                       const char *domains,
-                       GError **error);
-

Sets NetworkManager logging level and/or domains.

-
-

Parameters

-
+

nm_client_add_and_activate_connection ()

+
void                nm_client_add_and_activate_connection
+                                                        (NMClient *client,
+                                                         NMConnection *partial,
+                                                         NMDevice *device,
+                                                         const char *specific_object,
+                                                         NMClientAddActivateFn callback,
+                                                         gpointer user_data);
+

+Adds a new connection using the given details (if any) as a template, +automatically filling in missing settings with the capabilities of the +given device and specific object. The new connection is then activated. +Cannot be used for VPN connections at this time. +

+
---++ - - - + + + + + + + + + + - - - + + - - - + + - - - + +

client

a NMClient

 

client :

a NMClient +

partial :

an NMConnection to add; the connection may be +partially filled (or even NULL) and will be completed by NetworkManager +using the given device and specific_object before being added. [allow-none] +

device :

the NMDevice +

level

logging level to set (NULL or an empty string for no change).

[allow-none]

specific_object :

the object path of a connection-type-specific +object this activation should use. This parameter is currently ignored for +wired and mobile broadband connections, and the value of NULL should be used +(ie, no specific object). For Wi-Fi or WiMAX connections, pass the object +path of a NMAccessPoint or NMWimaxNsp owned by device, which you can +get using nm_object_get_path(), and which will be used to complete the +details of the newly added connection. [allow-none] +

domains

logging domains to set. The string should be a list of log -domains separated by ",". (NULL or an empty string for no change).

[allow-none]

callback :

the function to call when the call is done. [scope async][allow-none] +

error

return location for a GError, or NULL.

[allow-none]

user_data :

user data to pass to the callback function. [closure] +
-
-

Returns

-

TRUE on success, FALSE otherwise

-

-
-

Since 0.9.8

-

-

nm_client_get_connectivity ()

-
NMConnectivityState
-nm_client_get_connectivity (NMClient *client);
-

Gets the current network connectivity state. Contrast -nm_client_check_connectivity() and -nm_client_check_connectivity_async(), which re-check the -connectivity state first before returning any information.

-
-

Parameters

-
+

nm_client_deactivate_connection ()

+
void                nm_client_deactivate_connection     (NMClient *client,
+                                                         NMActiveConnection *active);
+

+Deactivates an active NMActiveConnection. +

+
---++ - - - - - + + + + + + + + + +

client

an NMClient

 

client :

a NMClient +

active :

the NMActiveConnection to deactivate
-
-

Returns

-

the current connectivity state

-

-
-

Since 0.9.8.4

-

-

nm_client_check_connectivity ()

-
NMConnectivityState
-nm_client_check_connectivity (NMClient *client,
-                              GCancellable *cancellable,
-                              GError **error);
-

Updates the network connectivity state and returns the (new) -current state. Contrast nm_client_get_connectivity(), which returns -the most recent known state without re-checking.

-

This is a blocking call; use nm_client_check_connectivity_async() -if you do not want to block.

-
-

Parameters

-
+

nm_client_networking_get_enabled ()

+
gboolean            nm_client_networking_get_enabled    (NMClient *client);
+

+Whether networking is enabled or disabled. +

+
---++ - - - - - - - - + + - - - + +

client

an NMClient

 

cancellable

a GCancellable

 

client :

a NMClient +

error

return location for a GError

 

Returns :

+TRUE if networking is enabled, FALSE if networking is disabled
-
-

Returns

-

the (new) current connectivity state

-

-
-

Since 0.9.8.4

-

-

nm_client_check_connectivity_async ()

-
void
-nm_client_check_connectivity_async (NMClient *client,
-                                    GCancellable *cancellable,
-                                    GAsyncReadyCallback callback,
-                                    gpointer user_data);
-

Asynchronously updates the network connectivity state and invokes -callback - when complete. Contrast nm_client_get_connectivity(), -which (immediately) returns the most recent known state without -re-checking, and nm_client_check_connectivity(), which blocks.

-
-

Parameters

-
+

nm_client_networking_set_enabled ()

+
void                nm_client_networking_set_enabled    (NMClient *client,
+                                                         gboolean enabled);
+

+Enables or disables networking. When networking is disabled, all controlled +interfaces are disconnected and deactivated. When networking is enabled, +all controlled interfaces are available for activation. +

+
---++ - - - - - - - - - - - - - + + - - - + +

client

an NMClient

 

cancellable

a GCancellable

 

callback

callback to call with the result

 

client :

a NMClient +

user_data

data for callback -.

 

enabled :

+TRUE to set networking enabled, FALSE to set networking disabled
-

Since 0.9.8.4

-

-

nm_client_check_connectivity_finish ()

-
NMConnectivityState
-nm_client_check_connectivity_finish (NMClient *client,
-                                     GAsyncResult *result,
-                                     GError **error);
-

Retrieves the result of an nm_client_check_connectivity_async() -call.

-
-

Parameters

-
+

nm_client_wireless_get_enabled ()

+
gboolean            nm_client_wireless_get_enabled      (NMClient *client);
+

+Determines whether the wireless is enabled. +

+
---++ - - - - - - - - + + - - - + +

client

an NMClient

 

result

the GAsyncResult

 

client :

a NMClient +

error

return location for a GError

 

Returns :

+TRUE if wireless is enabled
-
-

Returns

-

the (new) current connectivity state

-

-
-

Since 0.9.8.4

-

-

nm_client_get_primary_connection ()

-
NMActiveConnection *
-nm_client_get_primary_connection (NMClient *client);
-

Gets the NMActiveConnection corresponding to the primary active -network device.

-

In particular, when there is no VPN active, or the VPN does not -have the default route, this returns the active connection that has -the default route. If there is a VPN active with the default route, -then this function returns the active connection that contains the -route to the VPN endpoint.

-

If there is no default route, or the default route is over a -non-NetworkManager-recognized device, this will return NULL.

-
-

Parameters

-
+

nm_client_wireless_set_enabled ()

+
void                nm_client_wireless_set_enabled      (NMClient *client,
+                                                         gboolean enabled);
+

+Enables or disables wireless devices. +

+
---++ - - - - - + + + + + + + + + +

client

an NMClient

 

client :

a NMClient +

enabled :

+TRUE to enable wireless
-
-

Returns

-

the appropriate NMActiveConnection, if -any.

-

[transfer none]

-
-

Since 0.9.8.4

-

-

nm_client_get_activating_connection ()

-
NMActiveConnection *
-nm_client_get_activating_connection (NMClient *client);
-

Gets the NMActiveConnection corresponding to a -currently-activating connection that is expected to become the new -“primary-connection” upon successful activation.

-
-

Parameters

-
+

nm_client_wireless_hardware_get_enabled ()

+
gboolean            nm_client_wireless_hardware_get_enabled
+                                                        (NMClient *client);
+

+Determines whether the wireless hardware is enabled. +

+
---++ - - - - - + + + + + + + + + +

client

an NMClient

 

client :

a NMClient +

Returns :

+TRUE if the wireless hardware is enabled
-
-

Returns

-

the appropriate NMActiveConnection, if -any.

-

[transfer none]

-
-

Since 0.9.8.4

-
-
-
-

Types and Values

+
-

NM_CLIENT_VERSION

-
#define NM_CLIENT_VERSION "version"
-
+

nm_client_wwan_get_enabled ()

+
gboolean            nm_client_wwan_get_enabled          (NMClient *client);

+Determines whether WWAN is enabled.

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

client :

a NMClient +

Returns :

+TRUE if WWAN is enabled

-

NM_CLIENT_STATE

-
#define NM_CLIENT_STATE "state"
-
+

nm_client_wwan_set_enabled ()

+
void                nm_client_wwan_set_enabled          (NMClient *client,
+                                                         gboolean enabled);

+Enables or disables WWAN devices.

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

client :

a NMClient +

enabled :

+TRUE to enable WWAN

-

NM_CLIENT_MANAGER_RUNNING

-
#define NM_CLIENT_MANAGER_RUNNING "manager-running"
-
+

nm_client_wwan_hardware_get_enabled ()

+
gboolean            nm_client_wwan_hardware_get_enabled (NMClient *client);

+Determines whether the WWAN hardware is enabled.

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

client :

a NMClient +

Returns :

+TRUE if the WWAN hardware is enabled

-

NM_CLIENT_NETWORKING_ENABLED

-
#define NM_CLIENT_NETWORKING_ENABLED "networking-enabled"
-
+

nm_client_wimax_get_enabled ()

+
gboolean            nm_client_wimax_get_enabled         (NMClient *client);

+Determines whether WiMAX is enabled.

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

client :

a NMClient +

Returns :

+TRUE if WiMAX is enabled

-

NM_CLIENT_WIRELESS_ENABLED

-
#define NM_CLIENT_WIRELESS_ENABLED "wireless-enabled"
-
+

nm_client_wimax_set_enabled ()

+
void                nm_client_wimax_set_enabled         (NMClient *client,
+                                                         gboolean enabled);

+Enables or disables WiMAX devices.

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

client :

a NMClient +

enabled :

+TRUE to enable WiMAX

-

NM_CLIENT_WIRELESS_HARDWARE_ENABLED

-
#define NM_CLIENT_WIRELESS_HARDWARE_ENABLED "wireless-hardware-enabled"
-
+

nm_client_wimax_hardware_get_enabled ()

+
gboolean            nm_client_wimax_hardware_get_enabled
+                                                        (NMClient *client);

+Determines whether the WiMAX hardware is enabled.

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

client :

a NMClient +

Returns :

+TRUE if the WiMAX hardware is enabled

-

NM_CLIENT_WWAN_ENABLED

-
#define NM_CLIENT_WWAN_ENABLED "wwan-enabled"
-
+

nm_client_get_version ()

+
const char *        nm_client_get_version               (NMClient *client);

+Gets NetworkManager version.

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

client :

a NMClient +

Returns :

string with the version

-

NM_CLIENT_WWAN_HARDWARE_ENABLED

-
#define NM_CLIENT_WWAN_HARDWARE_ENABLED "wwan-hardware-enabled"
-
+

nm_client_get_state ()

+
NMState             nm_client_get_state                 (NMClient *client);

+Gets the current daemon state.

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

client :

a NMClient +

Returns :

the current NMState +

-

NM_CLIENT_WIMAX_ENABLED

-
#define NM_CLIENT_WIMAX_ENABLED "wimax-enabled"
-
+

nm_client_get_startup ()

+
gboolean            nm_client_get_startup               (NMClient *client);

+Tests whether the daemon is still in the process of activating +connections at startup.

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

client :

a NMClient +

Returns :

whether the daemon is still starting up
+

Since 0.9.10


-

NM_CLIENT_WIMAX_HARDWARE_ENABLED

-
#define NM_CLIENT_WIMAX_HARDWARE_ENABLED "wimax-hardware-enabled"
-
+

nm_client_get_manager_running ()

+
gboolean            nm_client_get_manager_running       (NMClient *client);

+Determines whether the daemon is running.

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

client :

a NMClient +

Returns :

+TRUE if the daemon is running

-

NM_CLIENT_ACTIVE_CONNECTIONS

-
#define NM_CLIENT_ACTIVE_CONNECTIONS "active-connections"
-
+

nm_client_get_active_connections ()

+
const GPtrArray *   nm_client_get_active_connections    (NMClient *client);

+Gets the active connections.

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

client :

a NMClient +

Returns :

a GPtrArray +containing all the active NMActiveConnections. +The returned array is owned by the client and should not be modified. [transfer none][element-type NMClient.ActiveConnection] +

-

NM_CLIENT_CONNECTIVITY

-
#define NM_CLIENT_CONNECTIVITY "connectivity"
-
+

nm_client_sleep ()

+
void                nm_client_sleep                     (NMClient *client,
+                                                         gboolean sleep_);

+Deprecated; use nm_client_networking_set_enabled() instead.

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

client :

a NMClient +

sleep_ :

+TRUE to put the daemon to sleep

-

NM_CLIENT_PRIMARY_CONNECTION

-
#define NM_CLIENT_PRIMARY_CONNECTION "primary-connection"
-
+

nm_client_get_permission_result ()

+
NMClientPermissionResult nm_client_get_permission_result
+                                                        (NMClient *client,
+                                                         NMClientPermission permission);

+Requests the result of a specific permission, which indicates whether the +client can or cannot perform the action the permission represents

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

client :

a NMClient +

permission :

the permission for which to return the result, one of NMClientPermission +

Returns :

the permission's result, one of NMClientPermissionResult +

-

NM_CLIENT_ACTIVATING_CONNECTION

-
#define NM_CLIENT_ACTIVATING_CONNECTION "activating-connection"
-
+

nm_client_get_logging ()

+
gboolean            nm_client_get_logging               (NMClient *client,
+                                                         char **level,
+                                                         char **domains,
+                                                         GError **error);

+Gets NetworkManager current logging level and domains.

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

client :

a NMClient +

level :

return location for logging level string. [allow-none] +

domains :

return location for log domains string. The string is +a list of domains separated by ",". [allow-none] +

error :

return location for a GError, or NULL. [allow-none] +

Returns :

+TRUE on success, FALSE otherwise
+

Since 0.9.8


-

enum NMClientPermission

-

NMClientPermission values indicate various permissions that NetworkManager -clients can obtain to perform certain tasks on behalf of the current user.

-
-

Members

-
+

nm_client_set_logging ()

+
gboolean            nm_client_set_logging               (NMClient *client,
+                                                         const char *level,
+                                                         const char *domains,
+                                                         GError **error);
+

+Sets NetworkManager logging level and/or domains. +

+
---++ - - + - - - + - - - + - - - + - - - + + + +

NM_CLIENT_PERMISSION_NONE

-

unknown or no permission

+

client :

a NMClient  

NM_CLIENT_PERMISSION_ENABLE_DISABLE_NETWORK

-

controls whether networking - can be globally enabled or disabled

+

level :

logging level to set (NULL or an empty string for no change). [allow-none]  

NM_CLIENT_PERMISSION_ENABLE_DISABLE_WIFI

-

controls whether WiFi can be - globally enabled or disabled

+

domains :

logging domains to set. The string should be a list of log +domains separated by ",". (NULL or an empty string for no change). [allow-none]  

NM_CLIENT_PERMISSION_ENABLE_DISABLE_WWAN

-

controls whether WWAN (3G) can be - globally enabled or disabled

+

error :

return location for a GError, or NULL. [allow-none]  

NM_CLIENT_PERMISSION_ENABLE_DISABLE_WIMAX

-

controls whether WiMAX can be - globally enabled or disabled

+

Returns :

+TRUE on success, FALSE otherwise
+

Since 0.9.8

+
+
+
+

nm_client_get_connectivity ()

+
NMConnectivityState nm_client_get_connectivity          (NMClient *client);
+

+Gets the current network connectivity state. Contrast +nm_client_check_connectivity() and +nm_client_check_connectivity_async(), which re-check the +connectivity state first before returning any information. +

+
++++ + + + + - - - + + + +

client :

an NMClient  

NM_CLIENT_PERMISSION_SLEEP_WAKE

-

controls whether the client can ask - NetworkManager to sleep and wake

+

Returns :

the current connectivity state
+

Since 0.9.8.6

+
+
+
+

nm_client_check_connectivity ()

+
NMConnectivityState nm_client_check_connectivity        (NMClient *client,
+                                                         GCancellable *cancellable,
+                                                         GError **error);
+

+Updates the network connectivity state and returns the (new) +current state. Contrast nm_client_get_connectivity(), which returns +the most recent known state without re-checking. +

+

+This is a blocking call; use nm_client_check_connectivity_async() +if you do not want to block. +

+
++++ + + + + - - - + - - - + - - - + + + +

client :

an NMClient  

NM_CLIENT_PERMISSION_NETWORK_CONTROL

-

controls whether networking connections - can be started, stopped, and changed

+

cancellable :

a GCancellable  

NM_CLIENT_PERMISSION_WIFI_SHARE_PROTECTED

-

controls whether a password - protected WiFi hotspot can be created

+

error :

return location for a GError  

NM_CLIENT_PERMISSION_WIFI_SHARE_OPEN

-

controls whether an open WiFi hotspot - can be created

+

Returns :

the (new) current connectivity state
+

Since 0.9.8.6

+
+
+
+

nm_client_check_connectivity_async ()

+
void                nm_client_check_connectivity_async  (NMClient *client,
+                                                         GCancellable *cancellable,
+                                                         GAsyncReadyCallback callback,
+                                                         gpointer user_data);
+

+Asynchronously updates the network connectivity state and invokes +callback when complete. Contrast nm_client_get_connectivity(), +which (immediately) returns the most recent known state without +re-checking, and nm_client_check_connectivity(), which blocks. +

+
++++ + + + + - - - + - - - + + + + + + + +

client :

an NMClient  

NM_CLIENT_PERMISSION_SETTINGS_MODIFY_SYSTEM

-

controls whether connections - that are available to all users can be modified

+

cancellable :

a GCancellable  

NM_CLIENT_PERMISSION_SETTINGS_MODIFY_OWN

-

controls whether connections - owned by the current user can be modified

+

callback :

callback to call with the result

user_data :

data for callback.
+

Since 0.9.8.6

+
+
+
+

nm_client_check_connectivity_finish ()

+
NMConnectivityState nm_client_check_connectivity_finish (NMClient *client,
+                                                         GAsyncResult *result,
+                                                         GError **error);
+

+Retrieves the result of an nm_client_check_connectivity_async() +call. +

+
++++ + + + + - - - + - - - + - + + + +

client :

an NMClient  

NM_CLIENT_PERMISSION_SETTINGS_MODIFY_HOSTNAME

-

controls whether the - persistent hostname can be changed

+

result :

the GAsyncResult  

NM_CLIENT_PERMISSION_LAST

-

a reserved boundary value

+

error :

return location for a GError  

Returns :

the (new) current connectivity state
-
+

Since 0.9.8.6


-

enum NMClientPermissionResult

-

NMClientPermissionResult values indicate what authorizations and permissions -the user requires to obtain a given NMClientPermission

-
-

Members

-
+

nm_client_get_primary_connection ()

+
NMActiveConnection * nm_client_get_primary_connection   (NMClient *client);
+

+Gets the NMActiveConnection corresponding to the primary active +network device. +

+

+In particular, when there is no VPN active, or the VPN does not +have the default route, this returns the active connection that has +the default route. If there is a VPN active with the default route, +then this function returns the active connection that contains the +route to the VPN endpoint. +

+

+If there is no default route, or the default route is over a +non-NetworkManager-recognized device, this will return NULL. +

+
---++ - - + - - - + - + +

NM_CLIENT_PERMISSION_RESULT_UNKNOWN

-

unknown or no authorization

+

client :

an NMClient  

NM_CLIENT_PERMISSION_RESULT_YES

-

the permission is available

+

Returns :

the appropriate NMActiveConnection, if +any. [transfer none]  
+

Since 0.9.8.6

+
+
+
+

nm_client_get_activating_connection ()

+
NMActiveConnection * nm_client_get_activating_connection
+                                                        (NMClient *client);
+

+Gets the NMActiveConnection corresponding to a +currently-activating connection that is expected to become the new +"primary-connection" upon successful activation. +

+
++++ + - - + - - - + -

NM_CLIENT_PERMISSION_RESULT_AUTH

-

authorization is necessary before the - permission is available

+

client :

an NMClient  

NM_CLIENT_PERMISSION_RESULT_NO

-

permission to perform the operation is - denied by system policy

+

Returns :

the appropriate NMActiveConnection, if +any. [transfer none]  
-
+

Since 0.9.8.6

Property Details

-

The “activating-connection” property

-
  “activating-connection”    NMActiveConnection *
-

Activating connection.

-

Flags: Read

-

Since 0.9.8.4

+

The "activating-connection" property

+
  "activating-connection"    NMActiveConnection*   : Read
+

+The NMActiveConnection of the activating connection that is +likely to become the new "primary-connection". +

+

Since 0.9.8.6


-

The “active-connections” property

-
  “active-connections”       NMObjectArray *
+

The "active-connections" property

+
  "active-connections"       NMObjectArray*        : Read

Active connections.

-

Flags: Read


-

The “connectivity” property

-
  “connectivity”             guint
-

Connectivity state.

-

Flags: Read

+

The "connectivity" property

+
  "connectivity"             guint                 : Read
+

+The network connectivity state. +

Allowed values: <= 4

Default value: 0

-

Since 0.9.8.4

+

Since 0.9.8.6

+
+
+
+

The "devices" property

+
  "devices"                  NMObjectArray*        : Read
+

+List of known network devices. +

+

Since 0.9.10


-

The “manager-running” property

-
  “manager-running”          gboolean
+

The "manager-running" property

+
  "manager-running"          gboolean              : Read

Whether NetworkManager is running.

-

Flags: Read

Default value: FALSE


-

The “networking-enabled” property

-
  “networking-enabled”       gboolean
+

The "networking-enabled" property

+
  "networking-enabled"       gboolean              : Read / Write

Is networking enabled.

-

Flags: Read / Write

Default value: TRUE


-

The “primary-connection” property

-
  “primary-connection”       NMActiveConnection *
-

Primary connection.

-

Flags: Read

-

Since 0.9.8.4

+

The "primary-connection" property

+
  "primary-connection"       NMActiveConnection*   : Read
+

+The NMActiveConnection of the device with the default route; +see nm_client_get_primary_connection() for more details. +

+

Since 0.9.8.6

+
+
+
+

The "startup" property

+
  "startup"                  gboolean              : Read
+

+Whether the daemon is still starting up. +

+

Default value: FALSE

+

Since 0.9.10


-

The “state” property

-
  “state”                    guint
-

NetworkManager state.

-

Flags: Read

+

The "state" property

+
  "state"                    guint                 : Read
+

+The current daemon state. +

Allowed values: <= 70

Default value: 0


-

The “version” property

-
  “version”                  gchar *
-

NetworkManager version.

-

Flags: Read

+

The "version" property

+
  "version"                  gchar*                : Read
+

+The NetworkManager version. +

Default value: NULL


-

The “wimax-enabled” property

-
  “wimax-enabled”            gboolean
+

The "wimax-enabled" property

+
  "wimax-enabled"            gboolean              : Read / Write

Is WiMAX enabled.

-

Flags: Read / Write

Default value: FALSE


-

The “wimax-hardware-enabled” property

-
  “wimax-hardware-enabled”   gboolean
+

The "wimax-hardware-enabled" property

+
  "wimax-hardware-enabled"   gboolean              : Read

Is WiMAX hardware enabled.

-

Flags: Read

Default value: FALSE


-

The “wireless-enabled” property

-
  “wireless-enabled”         gboolean
+

The "wireless-enabled" property

+
  "wireless-enabled"         gboolean              : Read / Write

Is wireless enabled.

-

Flags: Read / Write

Default value: FALSE


-

The “wireless-hardware-enabled” property

-
  “wireless-hardware-enabled” gboolean
+

The "wireless-hardware-enabled" property

+
  "wireless-hardware-enabled" gboolean              : Read

Is wireless hardware enabled.

-

Flags: Read

Default value: TRUE


-

The “wwan-enabled” property

-
  “wwan-enabled”             gboolean
+

The "wwan-enabled" property

+
  "wwan-enabled"             gboolean              : Read / Write

Is WWAN enabled.

-

Flags: Read / Write

Default value: FALSE


-

The “wwan-hardware-enabled” property

-
  “wwan-hardware-enabled”    gboolean
+

The "wwan-hardware-enabled" property

+
  "wwan-hardware-enabled"    gboolean              : Read

Is WWAN hardware enabled.

-

Flags: Read

Default value: FALSE

Signal Details

-

The “device-added” signal

-
void
-user_function (NMClient *client,
-               GObject  *device,
-               gpointer  user_data)
-

Flags: Run First

+

The "device-added" signal

+
void                user_function                      (NMClient *client,
+                                                        GObject  *device,
+                                                        gpointer  user_data)      : Run First
+

+Notifies that a NMDevice is added. +

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

client :

the client that received the signal

device :

the new device. [type NMClient.Device] +

user_data :

user data set when the signal handler was connected.

-

The “device-removed” signal

-
void
-user_function (NMClient *client,
-               GObject  *device,
-               gpointer  user_data)
-

Flags: Run First

+

The "device-removed" signal

+
void                user_function                      (NMClient *client,
+                                                        GObject  *device,
+                                                        gpointer  user_data)      : Run First
+

+Notifies that a NMDevice is removed. +

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

client :

the client that received the signal

device :

the removed device. [type NMClient.Device] +

user_data :

user data set when the signal handler was connected.

-

The “permission-changed” signal

-
void
-user_function (NMClient *client,
-               guint     permission,
-               guint     result,
-               gpointer  user_data)
-

Flags: Run First

+

The "permission-changed" signal

+
void                user_function                      (NMClient *client,
+                                                        guint     permission,
+                                                        guint     result,
+                                                        gpointer  user_data)       : Run First
+

+Notifies that a permission has changed +

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

client :

the client that received the signal

permission :

a permission from NMClientPermission +

result :

the permission's result, one of NMClientPermissionResult +

user_data :

user data set when the signal handler was connected.
+ Generated by GTK-Doc V1.19
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMDHCP4Config.html b/docs/libnm-glib/html/NMDHCP4Config.html index 5809f4b7..aff13165 100644 --- a/docs/libnm-glib/html/NMDHCP4Config.html +++ b/docs/libnm-glib/html/NMDHCP4Config.html @@ -2,28 +2,36 @@ -libnm-glib Reference Manual: NMDHCP4Config +NMDHCP4Config - + - - - - - - - + + + + + + + + + +
@@ -31,76 +39,38 @@

NMDHCP4Config

NMDHCP4Config

- +
-
-

Functions

-
---- - - - - - - - - - - - - - - -
-GObject * - -nm_dhcp4_config_new () -
-GHashTable * - -nm_dhcp4_config_get_options () -
const char * - -nm_dhcp4_config_get_one_option () -
+
+

Synopsis

+
                    NMDHCP4Config;
+                    NMDHCP4ConfigClass;
+#define             NM_DHCP4_CONFIG_OPTIONS
+GObject *           nm_dhcp4_config_new                 (DBusGConnection *connection,
+                                                         const char *object_path);
+GHashTable *        nm_dhcp4_config_get_options         (NMDHCP4Config *config);
+const char *        nm_dhcp4_config_get_one_option      (NMDHCP4Config *config,
+                                                         const char *option);
+
-

Properties

-
----- - - - - - -
-GHashTable *optionsRead
+

Object Hierarchy

+
+  GObject
+   +----NMObject
+         +----NMDHCP4Config
+
-

Types and Values

-
---- - - - - -
#defineNM_DHCP4_CONFIG_OPTIONS
+

Implemented Interfaces

+

+NMDHCP4Config implements + GInitable and GAsyncInitable.

-

Object Hierarchy

-
    GObject
-    ╰── NMObject
-        ╰── NMDHCP4Config
+

Properties

+
+  "options"                  GHashTable*           : Read
 
@@ -109,128 +79,145 @@

-

Functions

+

Details

+
+

NMDHCP4Config

+
typedef struct _NMDHCP4Config NMDHCP4Config;
+

+

+
+
+
+

NMDHCP4ConfigClass

+
typedef struct {
+	NMObjectClass parent;
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+	void (*_reserved5) (void);
+	void (*_reserved6) (void);
+} NMDHCP4ConfigClass;
+
+

+

+
+
+
+

NM_DHCP4_CONFIG_OPTIONS

+
#define NM_DHCP4_CONFIG_OPTIONS "options"
+
+

+

+
+
-

nm_dhcp4_config_new ()

-
GObject *
-nm_dhcp4_config_new (DBusGConnection *connection,
-                     const char *object_path);
-

Creates a new NMDHCP4Config.

-
-

Parameters

-
+

nm_dhcp4_config_new ()

+
GObject *           nm_dhcp4_config_new                 (DBusGConnection *connection,
+                                                         const char *object_path);
+

+Creates a new NMDHCP4Config. +

+
---++ - - - + + - - - + + + + + +

connection

the DBusGConnection

 

connection :

the DBusGConnection +

object_path

the DBus object path of the device

 

object_path :

the DBus object path of the device

Returns :

a new configuration. [transfer full] +
-
-

Returns

-

a new configuration.

-

[transfer full]

-
-

-

nm_dhcp4_config_get_options ()

-
GHashTable *
-nm_dhcp4_config_get_options (NMDHCP4Config *config);
-

Gets all the options contained in the configuration.

-
-

Parameters

-
+

nm_dhcp4_config_get_options ()

+
GHashTable *        nm_dhcp4_config_get_options         (NMDHCP4Config *config);
+

+Gets all the options contained in the configuration. +

+
---++ - - - - - + + + + + + + + + +

config

a NMDHCP4Config

 

config :

a NMDHCP4Config +

Returns :

the GHashTable containing strings for keys and values. +This is the internal copy used by the configuration, and must not be modified. [transfer none][element-type utf8 GObject.Value] +
-
-

Returns

-

the GHashTable containing strings for keys and values. -This is the internal copy used by the configuration, and must not be modified.

-

[transfer none][element-type utf8 GObject.Value]

-
-

-

nm_dhcp4_config_get_one_option ()

-
const char *
-nm_dhcp4_config_get_one_option (NMDHCP4Config *config,
-                                const char *option);
-

Gets one option by option name.

-
-

Parameters

-
+

nm_dhcp4_config_get_one_option ()

+
const char *        nm_dhcp4_config_get_one_option      (NMDHCP4Config *config,
+                                                         const char *option);
+

+Gets one option by option name. +

+
---++ - - - + + + + + + - - - + +

config

a NMDHCP4Config

 

config :

a NMDHCP4Config +

option :

the option to retrieve

option

the option to retrieve

 

Returns :

the configuration option's value. This is the internal string used by the +configuration, and must not be modified.
-
-

Returns

-

the configuration option's value. This is the internal string used by the -configuration, and must not be modified.

-

-
-
-

Types and Values

+

Property Details

-

NM_DHCP4_CONFIG_OPTIONS

-
#define NM_DHCP4_CONFIG_OPTIONS "options"
-
+

The "options" property

+
  "options"                  GHashTable*           : Read

+The GHashTable containing options of the configuration. +

+

+Type: GLib.HashTable(utf8,GObject.Value)

-
-
-
-

Property Details

-
-

The “options” property

-
  “options”                  GHashTable *
-

Options.

-

Flags: Read

+ Generated by GTK-Doc V1.19
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMDHCP6Config.html b/docs/libnm-glib/html/NMDHCP6Config.html index 6d0c04f6..cc5b4931 100644 --- a/docs/libnm-glib/html/NMDHCP6Config.html +++ b/docs/libnm-glib/html/NMDHCP6Config.html @@ -2,28 +2,36 @@ -libnm-glib Reference Manual: NMDHCP6Config +NMDHCP6Config - + - - - - - - - + + + + + + + + + +
@@ -31,76 +39,38 @@

NMDHCP6Config

NMDHCP6Config

- +
-
-

Functions

-
---- - - - - - - - - - - - - - - -
-GObject * - -nm_dhcp6_config_new () -
-GHashTable * - -nm_dhcp6_config_get_options () -
const char * - -nm_dhcp6_config_get_one_option () -
+
+

Synopsis

+
                    NMDHCP6Config;
+                    NMDHCP6ConfigClass;
+#define             NM_DHCP6_CONFIG_OPTIONS
+GObject *           nm_dhcp6_config_new                 (DBusGConnection *connection,
+                                                         const char *object_path);
+GHashTable *        nm_dhcp6_config_get_options         (NMDHCP6Config *config);
+const char *        nm_dhcp6_config_get_one_option      (NMDHCP6Config *config,
+                                                         const char *option);
+
-

Properties

-
----- - - - - - -
-GHashTable *optionsRead
+

Object Hierarchy

+
+  GObject
+   +----NMObject
+         +----NMDHCP6Config
+
-

Types and Values

-
---- - - - - -
#defineNM_DHCP6_CONFIG_OPTIONS
+

Implemented Interfaces

+

+NMDHCP6Config implements + GInitable and GAsyncInitable.

-

Object Hierarchy

-
    GObject
-    ╰── NMObject
-        ╰── NMDHCP6Config
+

Properties

+
+  "options"                  GHashTable*           : Read
 
@@ -109,128 +79,145 @@

-

Functions

+

Details

+
+

NMDHCP6Config

+
typedef struct _NMDHCP6Config NMDHCP6Config;
+

+

+
+
+
+

NMDHCP6ConfigClass

+
typedef struct {
+	NMObjectClass parent;
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+	void (*_reserved5) (void);
+	void (*_reserved6) (void);
+} NMDHCP6ConfigClass;
+
+

+

+
+
+
+

NM_DHCP6_CONFIG_OPTIONS

+
#define NM_DHCP6_CONFIG_OPTIONS "options"
+
+

+

+
+
-

nm_dhcp6_config_new ()

-
GObject *
-nm_dhcp6_config_new (DBusGConnection *connection,
-                     const char *object_path);
-

Creates a new NMDHCP6Config.

-
-

Parameters

-
+

nm_dhcp6_config_new ()

+
GObject *           nm_dhcp6_config_new                 (DBusGConnection *connection,
+                                                         const char *object_path);
+

+Creates a new NMDHCP6Config. +

+
---++ - - - + + - - - + + + + + +

connection

the DBusGConnection

 

connection :

the DBusGConnection +

object_path

the DBus object path of the device

 

object_path :

the DBus object path of the device

Returns :

a new configuration. [transfer full] +
-
-

Returns

-

a new configuration.

-

[transfer full]

-
-

-

nm_dhcp6_config_get_options ()

-
GHashTable *
-nm_dhcp6_config_get_options (NMDHCP6Config *config);
-

Gets all the options contained in the configuration.

-
-

Parameters

-
+

nm_dhcp6_config_get_options ()

+
GHashTable *        nm_dhcp6_config_get_options         (NMDHCP6Config *config);
+

+Gets all the options contained in the configuration. +

+
---++ - - - - - + + + + + + + + + +

config

a NMDHCP6Config

 

config :

a NMDHCP6Config +

Returns :

the GHashTable containing strings for keys and values. +This is the internal copy used by the configuration, and must not be modified. [transfer none][element-type utf8 GObject.Value] +
-
-

Returns

-

the GHashTable containing strings for keys and values. -This is the internal copy used by the configuration, and must not be modified.

-

[transfer none][element-type utf8 GObject.Value]

-
-

-

nm_dhcp6_config_get_one_option ()

-
const char *
-nm_dhcp6_config_get_one_option (NMDHCP6Config *config,
-                                const char *option);
-

Gets one option by option name.

-
-

Parameters

-
+

nm_dhcp6_config_get_one_option ()

+
const char *        nm_dhcp6_config_get_one_option      (NMDHCP6Config *config,
+                                                         const char *option);
+

+Gets one option by option name. +

+
---++ - - - + + + + + + - - - + +

config

a NMDHCP6Config

 

config :

a NMDHCP6Config +

option :

the option to retrieve

option

the option to retrieve

 

Returns :

the configuration option's value. This is the internal string used by the +configuration, and must not be modified.
-
-

Returns

-

the configuration option's value. This is the internal string used by the -configuration, and must not be modified.

-

-
-
-

Types and Values

+

Property Details

-

NM_DHCP6_CONFIG_OPTIONS

-
#define NM_DHCP6_CONFIG_OPTIONS "options"
-
+

The "options" property

+
  "options"                  GHashTable*           : Read

+The GHashTable containing options of the configuration. +

+

+Type: GLib.HashTable(utf8,GObject.Value)

-
-
-
-

Property Details

-
-

The “options” property

-
  “options”                  GHashTable *
-

Options.

-

Flags: Read

+ Generated by GTK-Doc V1.19
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMDevice.html b/docs/libnm-glib/html/NMDevice.html index 35d1dd2a..ad4e490b 100644 --- a/docs/libnm-glib/html/NMDevice.html +++ b/docs/libnm-glib/html/NMDevice.html @@ -2,29 +2,38 @@ -libnm-glib Reference Manual: NMDevice +NMDevice - + - - - - - - - + + + + + + + + + +
@@ -32,1710 +41,1703 @@

NMDevice

NMDevice

- +
+
+

Synopsis

+
enum                NMDeviceError;
+#define             NM_DEVICE_ERROR
+GQuark              nm_device_error_quark               (void);
+#define             NM_DEVICE_DEVICE_TYPE
+#define             NM_DEVICE_UDI
+#define             NM_DEVICE_INTERFACE
+#define             NM_DEVICE_IP_INTERFACE
+#define             NM_DEVICE_DRIVER
+#define             NM_DEVICE_DRIVER_VERSION
+#define             NM_DEVICE_FIRMWARE_VERSION
+#define             NM_DEVICE_CAPABILITIES
+#define             NM_DEVICE_MANAGED
+#define             NM_DEVICE_AUTOCONNECT
+#define             NM_DEVICE_FIRMWARE_MISSING
+#define             NM_DEVICE_IP4_CONFIG
+#define             NM_DEVICE_DHCP4_CONFIG
+#define             NM_DEVICE_IP6_CONFIG
+#define             NM_DEVICE_DHCP6_CONFIG
+#define             NM_DEVICE_STATE
+#define             NM_DEVICE_STATE_REASON
+#define             NM_DEVICE_ACTIVE_CONNECTION
+#define             NM_DEVICE_AVAILABLE_CONNECTIONS
+#define             NM_DEVICE_VENDOR
+#define             NM_DEVICE_PRODUCT
+#define             NM_DEVICE_PHYSICAL_PORT_ID
+#define             NM_DEVICE_MTU
+                    NMDevice;
+                    NMDeviceClass;
+GObject *           nm_device_new                       (DBusGConnection *connection,
+                                                         const char *path);
+const char *        nm_device_get_iface                 (NMDevice *device);
+const char *        nm_device_get_ip_iface              (NMDevice *device);
+NMDeviceType        nm_device_get_device_type           (NMDevice *device);
+const char *        nm_device_get_udi                   (NMDevice *device);
+const char *        nm_device_get_driver                (NMDevice *device);
+const char *        nm_device_get_driver_version        (NMDevice *device);
+const char *        nm_device_get_firmware_version      (NMDevice *device);
+const char *        nm_device_get_type_description      (NMDevice *device);
+const char *        nm_device_get_hw_address            (NMDevice *device);
+NMDeviceCapabilities nm_device_get_capabilities         (NMDevice *device);
+gboolean            nm_device_get_managed               (NMDevice *device);
+gboolean            nm_device_get_autoconnect           (NMDevice *device);
+void                nm_device_set_autoconnect           (NMDevice *device,
+                                                         gboolean autoconnect);
+gboolean            nm_device_get_firmware_missing      (NMDevice *device);
+NMIP4Config *       nm_device_get_ip4_config            (NMDevice *device);
+NMDHCP4Config *     nm_device_get_dhcp4_config          (NMDevice *device);
+NMIP6Config *       nm_device_get_ip6_config            (NMDevice *device);
+NMDHCP6Config *     nm_device_get_dhcp6_config          (NMDevice *device);
+NMDeviceState       nm_device_get_state                 (NMDevice *device);
+NMDeviceState       nm_device_get_state_reason          (NMDevice *device,
+                                                         NMDeviceStateReason *reason);
+NMActiveConnection * nm_device_get_active_connection    (NMDevice *device);
+const GPtrArray *   nm_device_get_available_connections (NMDevice *device);
+const char *        nm_device_get_physical_port_id      (NMDevice *device);
+guint32             nm_device_get_mtu                   (NMDevice *device);
+const char *        nm_device_get_product               (NMDevice *device);
+const char *        nm_device_get_vendor                (NMDevice *device);
+const char *        nm_device_get_description           (NMDevice *device);
+char **             nm_device_disambiguate_names        (NMDevice **devices,
+                                                         int num_devices);
+void                (*NMDeviceDeactivateFn)             (NMDevice *device,
+                                                         GError *error,
+                                                         gpointer user_data);
+void                nm_device_disconnect                (NMDevice *device,
+                                                         NMDeviceDeactivateFn callback,
+                                                         gpointer user_data);
+GSList *            nm_device_filter_connections        (NMDevice *device,
+                                                         const GSList *connections);
+gboolean            nm_device_connection_valid          (NMDevice *device,
+                                                         NMConnection *connection);
+gboolean            nm_device_connection_compatible     (NMDevice *device,
+                                                         NMConnection *connection,
+                                                         GError **error);
+GType               nm_device_get_setting_type          (NMDevice *device);
+
+
+
+

Object Hierarchy

+
+  GObject
+   +----NMObject
+         +----NMDevice
+               +----NMDeviceEthernet
+               +----NMDeviceWifi
+               +----NMDeviceModem
+               +----NMDeviceBt
+               +----NMDeviceWimax
+               +----NMDeviceOlpcMesh
+               +----NMDeviceAdsl
+               +----NMDeviceInfiniband
+               +----NMDeviceBond
+               +----NMDeviceBridge
+               +----NMDeviceTeam
+               +----NMDeviceGeneric
+               +----NMDeviceVlan
+
+
+
+

Implemented Interfaces

+

+NMDevice implements + GInitable and GAsyncInitable.

+
+
+

Properties

+
+  "active-connection"        NMActiveConnection*   : Read
+  "autoconnect"              gboolean              : Read / Write
+  "available-connections"    NMObjectArray*        : Read
+  "capabilities"             guint                 : Read
+  "device-type"              guint                 : Read
+  "dhcp4-config"             NMDHCP4Config*        : Read
+  "dhcp6-config"             NMDHCP6Config*        : Read
+  "driver"                   gchar*                : Read
+  "driver-version"           gchar*                : Read
+  "firmware-missing"         gboolean              : Read
+  "firmware-version"         gchar*                : Read
+  "interface"                gchar*                : Read
+  "ip-interface"             gchar*                : Read
+  "ip4-config"               NMIP4Config*          : Read
+  "ip6-config"               NMIP6Config*          : Read
+  "managed"                  gboolean              : Read
+  "mtu"                      guint                 : Read
+  "physical-port-id"         gchar*                : Read
+  "product"                  gchar*                : Read
+  "state"                    guint                 : Read
+  "state-reason"             GValueArray_guint+guint_*  : Read
+  "udi"                      gchar*                : Read
+  "vendor"                   gchar*                : Read
+
+
+
+

Signals

+
+  "state-changed"                                  : Run First
+
+
+
+

Description

+

+

+
-

Functions

-
+

Details

+
+

enum NMDeviceError

+
typedef enum {
+	NM_DEVICE_ERROR_UNKNOWN = 0,        /*< nick=UnknownError >*/
+	NM_DEVICE_ERROR_INTERFACE_MISMATCH, /*< nick=InterfaceMismatch >*/
+} NMDeviceError;
+
+
--++ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + +
-GObject * - -nm_device_new () -
const char * - -nm_device_get_iface () -
const char * - -nm_device_get_ip_iface () -
-NMDeviceType - -nm_device_get_device_type () -
const char * - -nm_device_get_udi () -
const char * - -nm_device_get_driver () -
const char * - -nm_device_get_driver_version () -
const char * - -nm_device_get_firmware_version () -
-NMDeviceCapabilities - -nm_device_get_capabilities () -
-gboolean - -nm_device_get_managed () -
-gboolean - -nm_device_get_autoconnect () -
-void - -nm_device_set_autoconnect () -
-gboolean - -nm_device_get_firmware_missing () -
-NMIP4Config * - -nm_device_get_ip4_config () +

NM_DEVICE_ERROR_UNKNOWN

unknown or unclassified error
-NMDHCP4Config * - -nm_device_get_dhcp4_config () +

NM_DEVICE_ERROR_INTERFACE_MISMATCH

the interface names of the connection and the + device mismatched
+
+
+
+

NM_DEVICE_ERROR

+
#define NM_DEVICE_ERROR nm_device_error_quark ()
+
+

+

+
+
+
+

nm_device_error_quark ()

+
GQuark              nm_device_error_quark               (void);
+

+Registers an error quark for NMDevice if necessary. +

+
++++ + + + + +

Returns :

the error quark used for NMDevice errors.
+

Since 0.9.10

+
+
+
+

NM_DEVICE_DEVICE_TYPE

+
#define NM_DEVICE_DEVICE_TYPE "device-type"
+
+

+

+
+
+
+

NM_DEVICE_UDI

+
#define NM_DEVICE_UDI "udi"
+
+

+

+
+
+
+

NM_DEVICE_INTERFACE

+
#define NM_DEVICE_INTERFACE "interface"
+
+

+

+
+
+
+

NM_DEVICE_IP_INTERFACE

+
#define NM_DEVICE_IP_INTERFACE "ip-interface"
+
+

+

+
+
+
+

NM_DEVICE_DRIVER

+
#define NM_DEVICE_DRIVER "driver"
+
+

+

+
+
+
+

NM_DEVICE_DRIVER_VERSION

+
#define NM_DEVICE_DRIVER_VERSION "driver-version"
+
+

+

+
+
+
+

NM_DEVICE_FIRMWARE_VERSION

+
#define NM_DEVICE_FIRMWARE_VERSION "firmware-version"
+
+

+

+
+
+
+

NM_DEVICE_CAPABILITIES

+
#define NM_DEVICE_CAPABILITIES "capabilities"
+
+

+

+
+
+
+

NM_DEVICE_MANAGED

+
#define NM_DEVICE_MANAGED "managed"
+
+

+

+
+
+
+

NM_DEVICE_AUTOCONNECT

+
#define NM_DEVICE_AUTOCONNECT "autoconnect"
+
+

+

+
+
+
+

NM_DEVICE_FIRMWARE_MISSING

+
#define NM_DEVICE_FIRMWARE_MISSING "firmware-missing"
+
+

+

+
+
+
+

NM_DEVICE_IP4_CONFIG

+
#define NM_DEVICE_IP4_CONFIG "ip4-config"
+
+

+

+
+
+
+

NM_DEVICE_DHCP4_CONFIG

+
#define NM_DEVICE_DHCP4_CONFIG "dhcp4-config"
+
+

+

+
+
+
+

NM_DEVICE_IP6_CONFIG

+
#define NM_DEVICE_IP6_CONFIG "ip6-config"
+
+

+

+
+
+
+

NM_DEVICE_DHCP6_CONFIG

+
#define NM_DEVICE_DHCP6_CONFIG "dhcp6-config"
+
+

+

+
+
+
+

NM_DEVICE_STATE

+
#define NM_DEVICE_STATE "state"
+
+

+

+
+
+
+

NM_DEVICE_STATE_REASON

+
#define NM_DEVICE_STATE_REASON "state-reason"
+
+

+

+
+
+
+

NM_DEVICE_ACTIVE_CONNECTION

+
#define NM_DEVICE_ACTIVE_CONNECTION "active-connection"
+
+

+

+
+
+
+

NM_DEVICE_AVAILABLE_CONNECTIONS

+
#define NM_DEVICE_AVAILABLE_CONNECTIONS "available-connections"
+
+

+

+
+
+
+

NM_DEVICE_VENDOR

+
#define NM_DEVICE_VENDOR "vendor"
+
+

+

+
+
+
+

NM_DEVICE_PRODUCT

+
#define NM_DEVICE_PRODUCT "product"
+
+

+

+
+
+
+

NM_DEVICE_PHYSICAL_PORT_ID

+
#define NM_DEVICE_PHYSICAL_PORT_ID "physical-port-id"
+
+

+

+
+
+
+

NM_DEVICE_MTU

+
#define NM_DEVICE_MTU "mtu"
+
+

+

+
+
+
+

NMDevice

+
typedef struct _NMDevice NMDevice;
+

+

+
+
+
+

NMDeviceClass

+
typedef struct {
+	NMObjectClass parent;
+
+	/* Signals */
+	void (*state_changed) (NMDevice *device,
+	                       NMDeviceState new_state,
+	                       NMDeviceState old_state,
+	                       NMDeviceStateReason reason);
+
+	gboolean (*connection_compatible) (NMDevice *device,
+	                                   NMConnection *connection,
+	                                   GError **error);
+
+	const char * (*get_type_description) (NMDevice *device);
+	const char * (*get_hw_address) (NMDevice *device);
+
+	GType (*get_setting_type) (NMDevice *device);
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+} NMDeviceClass;
+
+

+

+
+
+
+

nm_device_new ()

+
GObject *           nm_device_new                       (DBusGConnection *connection,
+                                                         const char *path);
+

+Creates a new NMDevice. +

+
++++ + - - + - - + + - - + + +
-NMIP6Config * - -nm_device_get_ip6_config () +

connection :

the DBusGConnection
-NMDHCP6Config * - -nm_device_get_dhcp6_config () -

path :

the DBus object path of the device
-NMDeviceState - -nm_device_get_state () +

Returns :

a new device. [transfer full]
+
+
+
+

nm_device_get_iface ()

+
const char *        nm_device_get_iface                 (NMDevice *device);
+

+Gets the interface name of the NMDevice. +

+
++++ + - - + - - + + + +
-NMDeviceState - -nm_device_get_state_reason () +

device :

a NMDevice
-NMActiveConnection * - -nm_device_get_active_connection () -

Returns :

the interface of the device. This is the internal string used by the +device, and must not be modified.
+
+
+
+

nm_device_get_ip_iface ()

+
const char *        nm_device_get_ip_iface              (NMDevice *device);
+

+Gets the IP interface name of the NMDevice over which IP traffic flows +when the device is in the ACTIVATED state. +

+
++++ + - - + - - + + + +
const GPtrArray * - -nm_device_get_available_connections () +

device :

a NMDevice
const char * - -nm_device_get_product () -

Returns :

the IP traffic interface of the device. This is the internal string +used by the device, and must not be modified.
+
+
+
+

nm_device_get_device_type ()

+
NMDeviceType        nm_device_get_device_type           (NMDevice *device);
+

+Returns the numeric type of the NMDevice, ie Ethernet, Wi-Fi, etc. +

+
++++ + - - + - - + + + +
const char * - -nm_device_get_vendor () +

device :

a NMDevice
-void - -(*NMDeviceDeactivateFn) () -

Returns :

the device type
+
+
+
+

nm_device_get_udi ()

+
const char *        nm_device_get_udi                   (NMDevice *device);
+

+Gets the Unique Device Identifier of the NMDevice. +

+
++++ + - - + - - + + + +
-void - -nm_device_disconnect () +

device :

a NMDevice
-GSList * - -nm_device_filter_connections () -

Returns :

the Unique Device Identifier of the device. This identifier may be +used to gather more information about the device from various operating +system services like udev or sysfs.
+
+
+
+

nm_device_get_driver ()

+
const char *        nm_device_get_driver                (NMDevice *device);
+

+Gets the driver of the NMDevice. +

+
++++ + - - + - - + +
-gboolean - -nm_device_connection_valid () +

device :

a NMDevice
-gboolean - -nm_device_connection_compatible () -

Returns :

the driver of the device. This is the internal string used by the +device, and must not be modified.
-
-

Properties

-
+
+
+

nm_device_get_driver_version ()

+
const char *        nm_device_get_driver_version        (NMDevice *device);
+

+Gets the driver version of the NMDevice. +

+
---++ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - + +
-NMActiveConnection *active-connectionRead
gbooleanautoconnectRead / Write
-NMObjectArray *available-connectionsRead
guintcapabilitiesRead
guintdevice-typeRead
-NMDHCP4Config *dhcp4-configRead
-NMDHCP6Config *dhcp6-configRead
-gchar *driverRead
-gchar *driver-versionRead
gbooleanfirmware-missingRead
-gchar *firmware-versionRead
-gchar *interfaceRead
-gchar *ip-interfaceRead
-NMIP4Config *ip4-configRead
-NMIP6Config *ip6-configRead
gbooleanmanagedRead
-gchar *productRead
guintstateRead
GValueArray_guint+guint_*state-reasonRead
-gchar *udiRead

device :

a NMDevice +
-gchar *vendorRead

Returns :

the version of the device driver. This is the internal string used by the +device, and must not be modified.
-
-

Signals

-
----- - - - - - -
voidstate-changedRun First
-
-
-

Types and Values

-
+
+
+

nm_device_get_firmware_version ()

+
const char *        nm_device_get_firmware_version      (NMDevice *device);
+

+Gets the firmware version of the NMDevice. +

+
--++ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + +
#defineNM_DEVICE_DEVICE_TYPE
#defineNM_DEVICE_UDI
#defineNM_DEVICE_INTERFACE
#defineNM_DEVICE_IP_INTERFACE
#defineNM_DEVICE_DRIVER
#defineNM_DEVICE_DRIVER_VERSION
#defineNM_DEVICE_FIRMWARE_VERSION
#defineNM_DEVICE_CAPABILITIES
#defineNM_DEVICE_MANAGED
#defineNM_DEVICE_AUTOCONNECT
#defineNM_DEVICE_FIRMWARE_MISSING
#defineNM_DEVICE_IP4_CONFIG
#defineNM_DEVICE_DHCP4_CONFIG
#defineNM_DEVICE_IP6_CONFIG
#defineNM_DEVICE_DHCP6_CONFIG
#defineNM_DEVICE_STATE
#defineNM_DEVICE_STATE_REASON
#defineNM_DEVICE_ACTIVE_CONNECTION
#defineNM_DEVICE_AVAILABLE_CONNECTIONS
#defineNM_DEVICE_VENDOR

device :

a NMDevice +
#defineNM_DEVICE_PRODUCT

Returns :

the firmware version of the device. This is the internal string used by the +device, and must not be modified.
-
-

Object Hierarchy

-
    GObject
-    ╰── NMObject
-        ╰── NMDevice
-            ├── NMDeviceEthernet
-            ├── NMDeviceWifi
-            ├── NMDeviceModem
-            ├── NMDeviceBt
-            ├── NMDeviceWimax
-            ├── NMDeviceOlpcMesh
-            ├── NMDeviceAdsl
-            ├── NMDeviceInfiniband
-            ├── NMDeviceBond
-            ├── NMDeviceBridge
-            ╰── NMDeviceVlan
-
-
-
-

Description

+
+
+

nm_device_get_type_description ()

+
const char *        nm_device_get_type_description      (NMDevice *device);

+Gets a (non-localized) description of the type of device that +device is.

-
-
-

Functions

-
-

nm_device_new ()

-
GObject *
-nm_device_new (DBusGConnection *connection,
-               const char *path);
-

Creates a new NMDevice.

-
-

Parameters

-
+
---++ - - - + + - - - + +

connection

the DBusGConnection

 

device :

a NMDevice +

path

the DBus object path of the device

 

Returns :

the type description of the device. This is the internal +string used by the device, and must not be modified.
-
-
-

Returns

-

a new device.

-

[transfer full]

-
-
-
-
-

nm_device_get_iface ()

-
const char *
-nm_device_get_iface (NMDevice *device);
-

Gets the interface name of the NMDevice.

-
-

Parameters

-
----- - - - - - -

device

a NMDevice

 
-
-
-

Returns

-

the interface of the device. This is the internal string used by the -device, and must not be modified.

-

-
-
-
-
-

nm_device_get_ip_iface ()

-
const char *
-nm_device_get_ip_iface (NMDevice *device);
-

Gets the IP interface name of the NMDevice over which IP traffic flows -when the device is in the ACTIVATED state.

-
-

Parameters

-
----- - - - - - -

device

a NMDevice

 
-
-
-

Returns

-

the IP traffic interface of the device. This is the internal string -used by the device, and must not be modified.

-

-
+

Since 0.9.10


-

nm_device_get_device_type ()

-
NMDeviceType
-nm_device_get_device_type (NMDevice *device);
-

Returns the numeric type of the NMDevice, ie ethernet, wifi, etc.

-
-

Parameters

-
+

nm_device_get_hw_address ()

+
const char *        nm_device_get_hw_address            (NMDevice *device);
+

+Gets the current a hardware address (MAC) for the device. +

+
---++ - - - - - + + + + + + + + + +

device

a NMDevice

 

device :

a NMDevice +

Returns :

the current MAC of the device, or NULL. +This is the internal string used by the device, and must not be modified.
-
-
-

Returns

-

the device type

-

-
+

Since 0.9.10


-

nm_device_get_udi ()

-
const char *
-nm_device_get_udi (NMDevice *device);
-

Gets the Unique Device Identifier of the NMDevice.

-
-

Parameters

-
+

nm_device_get_capabilities ()

+
NMDeviceCapabilities nm_device_get_capabilities         (NMDevice *device);
+

+Gets the device' capabilities. +

+
---++ - - - - - + + + + + + + + + +

device

a NMDevice

 

device :

a NMDevice +

Returns :

the capabilities
-
-

Returns

-

the Unique Device Identifier of the device. This identifier may be -used to gather more information about the device from various operating -system services like udev or sysfs.

-

-
-

-

nm_device_get_driver ()

-
const char *
-nm_device_get_driver (NMDevice *device);
-

Gets the driver of the NMDevice.

-
-

Parameters

-
+

nm_device_get_managed ()

+
gboolean            nm_device_get_managed               (NMDevice *device);
+

+Whether the NMDevice is managed by NetworkManager. +

+
---++ - - - - - + + + + + + + + + +

device

a NMDevice

 

device :

a NMDevice +

Returns :

+TRUE if the device is managed by NetworkManager
-
-

Returns

-

the driver of the device. This is the internal string used by the -device, and must not be modified.

-

-
-

-

nm_device_get_driver_version ()

-
const char *
-nm_device_get_driver_version (NMDevice *device);
-

Gets the driver version of the NMDevice.

-
-

Parameters

-
+

nm_device_get_autoconnect ()

+
gboolean            nm_device_get_autoconnect           (NMDevice *device);
+

+Whether the NMDevice can be autoconnected. +

+
---++ - - - - - + + + + + + + + + +

device

a NMDevice

 

device :

a NMDevice +

Returns :

+TRUE if the device is allowed to be autoconnected
-
-

Returns

-

the version of the device driver. This is the internal string used by the -device, and must not be modified.

-

-
-

-

nm_device_get_firmware_version ()

-
const char *
-nm_device_get_firmware_version (NMDevice *device);
-

Gets the firmware version of the NMDevice.

-
-

Parameters

-
+

nm_device_set_autoconnect ()

+
void                nm_device_set_autoconnect           (NMDevice *device,
+                                                         gboolean autoconnect);
+

+Enables or disables automatic activation of the NMDevice. +

+
---++ - - - - - + + + + + + + + + +

device

a NMDevice

 

device :

a NMDevice +

autoconnect :

+TRUE to enable autoconnecting
-
-

Returns

-

the firmware version of the device. This is the internal string used by the -device, and must not be modified.

-

-
-

-

nm_device_get_capabilities ()

-
NMDeviceCapabilities
-nm_device_get_capabilities (NMDevice *device);
-

Gets the device' capabilities.

-
-

Parameters

-
+

nm_device_get_firmware_missing ()

+
gboolean            nm_device_get_firmware_missing      (NMDevice *device);
+

+Indicates that firmware required for the device's operation is likely +to be missing. +

+
---++ - - - - - + + + + + + + + + +

device

a NMDevice

 

device :

a NMDevice +

Returns :

+TRUE if firmware required for the device's operation is likely +to be missing.
-
-

Returns

-

the capabilities

-

-
-

-

nm_device_get_managed ()

-
gboolean
-nm_device_get_managed (NMDevice *device);
-

Whether the NMDevice is managed by NetworkManager.

-
-

Parameters

-
+

nm_device_get_ip4_config ()

+
NMIP4Config *       nm_device_get_ip4_config            (NMDevice *device);
+

+Gets the current NMIP4Config associated with the NMDevice. +

+

+Note that as of NetworkManager 0.9.10, you can alternatively use +nm_active_connection_get_ip4_config(), which also works with VPN +connections. +

+
---++ - - - - - + + + + + + + + + +

device

a NMDevice

 

device :

a NMDevice +

Returns :

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

Returns

-

TRUE if the device is managed by NetworkManager

-

-
-

-

nm_device_get_autoconnect ()

-
gboolean
-nm_device_get_autoconnect (NMDevice *device);
-

Whether the NMDevice can be autoconnected.

-
-

Parameters

-
+

nm_device_get_dhcp4_config ()

+
NMDHCP4Config *     nm_device_get_dhcp4_config          (NMDevice *device);
+

+Gets the current NMDHCP4Config associated with the NMDevice. +

+

+Note that as of NetworkManager 0.9.10, you can alternatively use +nm_active_connection_get_dhcp4_config(), which also works with VPN +connections. +

+
---++ - - - - - + + + + + + + + + +

device

a NMDevice

 

device :

a NMDevice +

Returns :

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

Returns

-

TRUE if the device is allowed to be autoconnected

-

-
-

-

nm_device_set_autoconnect ()

-
void
-nm_device_set_autoconnect (NMDevice *device,
-                           gboolean autoconnect);
-

Enables or disables automatic activation of the NMDevice.

-
-

Parameters

-
+

nm_device_get_ip6_config ()

+
NMIP6Config *       nm_device_get_ip6_config            (NMDevice *device);
+

+Gets the current NMIP6Config associated with the NMDevice. +

+

+Note that as of NetworkManager 0.9.10, you can alternatively use +nm_active_connection_get_ip6_config(), which also works with VPN +connections. +

+
---++ - - - + + - - - + +

device

a NMDevice

 

device :

a NMDevice +

autoconnect

TRUE to enable autoconnecting

 

Returns :

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

-

nm_device_get_firmware_missing ()

-
gboolean
-nm_device_get_firmware_missing (NMDevice *device);
-

Indicates that firmware required for the device's operation is likely -to be missing.

-
-

Parameters

-
+

nm_device_get_dhcp6_config ()

+
NMDHCP6Config *     nm_device_get_dhcp6_config          (NMDevice *device);
+

+Gets the current NMDHCP6Config associated with the NMDevice. +

+

+Note that as of NetworkManager 0.9.10, you can alternatively use +nm_active_connection_get_dhcp6_config(), which also works with VPN +connections. +

+
---++ - - - - - + + + + + + + + + +

device

a NMDevice

 

device :

a NMDevice +

Returns :

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

Returns

-

TRUE if firmware required for the device's operation is likely -to be missing.

-

-
-

-

nm_device_get_ip4_config ()

-
NMIP4Config *
-nm_device_get_ip4_config (NMDevice *device);
-

Gets the current NMIP4Config associated with the NMDevice.

-
-

Parameters

-
+

nm_device_get_state ()

+
NMDeviceState       nm_device_get_state                 (NMDevice *device);
+

+Gets the current NMDevice state. +

+
---++ - - - - - + + + + + + + + + +

device

a NMDevice

 

device :

a NMDevice +

Returns :

the current device state
-
-

Returns

-

the NMIP4Config or NULL if the device is not activated.

-

[transfer none]

-
-

-

nm_device_get_dhcp4_config ()

-
NMDHCP4Config *
-nm_device_get_dhcp4_config (NMDevice *device);
-

Gets the current NMDHCP4Config associated with the NMDevice.

-
-

Parameters

-
+

nm_device_get_state_reason ()

+
NMDeviceState       nm_device_get_state_reason          (NMDevice *device,
+                                                         NMDeviceStateReason *reason);
+

+Gets the current NMDevice state (return value) and the reason for entering +the state (reason argument). +

+
---++ - - - - - + + + + + + + + + + + + + +

device

a NMDevice

 

device :

a NMDevice +

reason :

location to store reason (NMDeviceStateReason), or NULL. [out][allow-none] +

Returns :

the current device state
-
-

Returns

-

the NMDHCP4Config or NULL if the device is not activated or not -using DHCP.

-

[transfer none]

-
-

-

nm_device_get_ip6_config ()

-
NMIP6Config *
-nm_device_get_ip6_config (NMDevice *device);
-

Gets the current NMIP6Config associated with the NMDevice.

-
-

Parameters

-
+

nm_device_get_active_connection ()

+
NMActiveConnection * nm_device_get_active_connection    (NMDevice *device);
+

+Gets the NMActiveConnection object which owns this device during activation. +

+
---++ - - - - - + + + + + + + + + +

device

a NMDevice

 

device :

a NMDevice +

Returns :

the NMActiveConnection or NULL if the device is +not part of an active connection. [transfer none] +
-
-

Returns

-

the NMIP6Config or NULL if the device is not activated.

-

[transfer none]

-
-

-

nm_device_get_dhcp6_config ()

-
NMDHCP6Config *
-nm_device_get_dhcp6_config (NMDevice *device);
-

Gets the current NMDHCP6Config associated with the NMDevice.

-
-

Parameters

-
+

nm_device_get_available_connections ()

+
const GPtrArray *   nm_device_get_available_connections (NMDevice *device);
+

+Gets the NMRemoteConnections currently known to the daemon that could +be activated on device. +

+
---++ - - - - - + + + + + + + + + +

device

a NMDevice

 

device :

a NMDevice +

Returns :

the GPtrArray +containing NMRemoteConnections. This is the internal copy used by +the connection, and must not be modified. [element-type NMClient.RemoteConnection] +
-
-
-

Returns

-

the NMDHCP6Config or NULL if the device is not activated or not -using DHCP.

-

[transfer none]

-
+

Since 0.9.8


-

nm_device_get_state ()

-
NMDeviceState
-nm_device_get_state (NMDevice *device);
-

Gets the current NMDevice state.

-
-

Parameters

-
+

nm_device_get_physical_port_id ()

+
const char *        nm_device_get_physical_port_id      (NMDevice *device);
+

+Gets the physical port ID of the NMDevice. If non-NULL, this is +an opaque string that can be used to recognize when +seemingly-unrelated NMDevices are actually just different virtual +ports on a single physical port. (Eg, NPAR / SR-IOV.) +

+
---++ - - - - - + + + + + + + + + +

device

a NMDevice

 

device :

a NMDevice +

Returns :

the physical port ID of the device, or NULL if the port +ID is unknown. This is the internal string used by the device and +must not be modified.
-
-
-

Returns

-

the current device state

-

-
+

Since 0.9.10


-

nm_device_get_state_reason ()

-
NMDeviceState
-nm_device_get_state_reason (NMDevice *device,
-                            NMDeviceStateReason *reason);
-

Gets the current NMDevice state (return value) and the reason for entering -the state (reason - argument).

-
-

Parameters

-
+

nm_device_get_mtu ()

+
guint32             nm_device_get_mtu                   (NMDevice *device);
+

+Gets the MTU of the NMDevice. +

+
---++ - - - + + - - - + +

device

a NMDevice

 

device :

a NMDevice +

reason

location to store reason (NMDeviceStateReason), or NULL.

[out][allow-none]

Returns :

the MTU of the device.
-
-
-

Returns

-

the current device state

-

-
+

Since 0.9.10


-

nm_device_get_active_connection ()

-
NMActiveConnection *
-nm_device_get_active_connection (NMDevice *device);
-

Gets the NMActiveConnection object which owns this device during activation.

-
-

Parameters

-
+

nm_device_get_product ()

+
const char *        nm_device_get_product               (NMDevice *device);
+

+Gets the product string of the NMDevice. +

+
---++ - - - - - + + + + + + + + + +

device

a NMDevice

 

device :

a NMDevice +

Returns :

the product name of the device. This is the internal string used by the +device, and must not be modified.
-
-

Returns

-

the NMActiveConnection or NULL if the device is -not part of an active connection.

-

[transfer none]

-
-

-

nm_device_get_available_connections ()

-
const GPtrArray *
-nm_device_get_available_connections (NMDevice *device);
-

Gets the NMRemoteConnections currently known to the daemon that could -be activated on device -.

-
-

Parameters

-
+

nm_device_get_vendor ()

+
const char *        nm_device_get_vendor                (NMDevice *device);
+

+Gets the vendor string of the NMDevice. +

+
---++ - - - - - + + + + + + + + + +

device

a NMDevice

 

device :

a NMDevice +

Returns :

the vendor name of the device. This is the internal string used by the +device, and must not be modified.
-
-

Returns

-

the GPtrArray -containing NMRemoteConnections. This is the internal copy used by -the connection, and must not be modified.

-

[element-type NMClient.RemoteConnection]

-
-

Since 0.9.8

-

-

nm_device_get_product ()

-
const char *
-nm_device_get_product (NMDevice *device);
-

Gets the product string of the NMDevice.

-
-

Parameters

-
+

nm_device_get_description ()

+
const char *        nm_device_get_description           (NMDevice *device);
+

+Gets a description of device, incorporating the results of +nm_device_get_short_vendor() and nm_device_get_short_product(). +

+
---++ - - - - - + + + + + + + + + +

device

a NMDevice

 

device :

an NMDevice +

Returns :

a description of device. If either the vendor or the +product name is unknown, this returns the interface name.
-
-
-

Returns

-

the product name of the device. This is the internal string used by the -device, and must not be modified.

-

-
+

Since 0.9.10


-

nm_device_get_vendor ()

-
const char *
-nm_device_get_vendor (NMDevice *device);
-

Gets the vendor string of the NMDevice.

-
-

Parameters

-
+

nm_device_disambiguate_names ()

+
char **             nm_device_disambiguate_names        (NMDevice **devices,
+                                                         int num_devices);
+

+Generates a list of short-ish unique presentation names for the +devices in devices. +

+
---++ - - - - - + + + + + + + + + + + + + +

device

a NMDevice

 

devices :

an array of NMDevice. [array length=num_devices] +

num_devices :

length of devices +

Returns :

the device names. [transfer full][array zero-terminated=1] +
-
-
-

Returns

-

the vendor name of the device. This is the internal string used by the -device, and must not be modified.

-

-
+

Since 0.9.10


-

NMDeviceDeactivateFn ()

-
void
-(*NMDeviceDeactivateFn) (NMDevice *device,
-                         GError *error,
-                         gpointer user_data);
+

NMDeviceDeactivateFn ()

+
void                (*NMDeviceDeactivateFn)             (NMDevice *device,
+                                                         GError *error,
+                                                         gpointer user_data);


-

nm_device_disconnect ()

-
void
-nm_device_disconnect (NMDevice *device,
-                      NMDeviceDeactivateFn callback,
-                      gpointer user_data);
-

Disconnects the device if currently connected, and prevents the device from +

nm_device_disconnect ()

+
void                nm_device_disconnect                (NMDevice *device,
+                                                         NMDeviceDeactivateFn callback,
+                                                         gpointer user_data);
+

+Disconnects the device if currently connected, and prevents the device from automatically connecting to networks until the next manual network connection -request.

-
-

Parameters

-
+request. +

+
---++ - - - + + - - - + + - - - + +

device

a NMDevice

 

device :

a NMDevice +

callback

callback to be called when disconnect -operation completes.

[scope async][allow-none]

callback :

callback to be called when disconnect +operation completes. [scope async][allow-none] +

user_data

caller-specific data passed to callback -.

[closure]

user_data :

caller-specific data passed to callback. [closure] +
-

-

nm_device_filter_connections ()

-
GSList *
-nm_device_filter_connections (NMDevice *device,
-                              const GSList *connections);
-

Filters a given list of connections for a given NMDevice object and return +

nm_device_filter_connections ()

+
GSList *            nm_device_filter_connections        (NMDevice *device,
+                                                         const GSList *connections);
+

+Filters a given list of connections for a given NMDevice object and return connections which may be activated with the device. For example if device - -is a WiFi device that supports only WEP encryption, the returned list will -contain any WiFi connections in connections - that allow connection to +is a Wi-Fi device that supports only WEP encryption, the returned list will +contain any Wi-Fi connections in connections that allow connection to unencrypted or WEP-enabled SSIDs. The returned list will not contain -Ethernet, Bluetooth, WiFi WPA connections, or any other connection that is +Ethernet, Bluetooth, Wi-Fi WPA connections, or any other connection that is incompatible with the device. To get the full list of connections see -nm_remote_settings_list_connections().

-
-

Parameters

-
+nm_remote_settings_list_connections(). +

+
---++ - - - + + - - - + + - -

device

an NMDevice to filter connections for

 

device :

an NMDevice to filter connections for

connections

a list of NMConnection objects to filter.

[element-type NetworkManager.Connection]

connections :

a list of NMConnection objects to filter. [element-type NetworkManager.Connection] +
-
-
-

Returns

-

a -list of NMConnection objects that could be activated with the given device -. + +

Returns :

+a +list of NMConnection objects that could be activated with the given device. The elements of the list are owned by their creator and should not be freed by the caller, but the returned list itself is owned by the caller and should -be freed with g_slist_free() when it is no longer required.

-

[transfer container][element-type NetworkManager.Connection]

-
+be freed with g_slist_free() when it is no longer required. [transfer container][element-type NetworkManager.Connection] + + + +

-

nm_device_connection_valid ()

-
gboolean
-nm_device_connection_valid (NMDevice *device,
-                            NMConnection *connection);
-

Validates a given connection for a given NMDevice object and returns +

nm_device_connection_valid ()

+
gboolean            nm_device_connection_valid          (NMDevice *device,
+                                                         NMConnection *connection);
+

+Validates a given connection for a given NMDevice object and returns whether the connection may be activated with the device. For example if -device - is a WiFi device that supports only WEP encryption, the connection -will only be valid if it is a WiFi connection which describes a WEP or open +device is a Wi-Fi device that supports only WEP encryption, the connection +will only be valid if it is a Wi-Fi connection which describes a WEP or open network, and will not be valid if it describes a WPA network, or if it is an Ethernet, Bluetooth, WWAN, etc connection that is incompatible with the -device.

-
-

Parameters

-
+device. +

+
---++ - - - + + + + + + - - - + +

device

an NMDevice to validate connection -against

 

device :

an NMDevice to validate connection against

connection :

an NMConnection to validate against device +

connection

an NMConnection to validate against device -

 

Returns :

+TRUE if the connection may be activated with this device, FALSE +if is incompatible with the device's capabilities and characteristics.
-
-

Returns

-

TRUE if the connection may be activated with this device, FALSE -if is incompatible with the device's capabilities and characteristics.

-

-
-

-

nm_device_connection_compatible ()

-
gboolean
-nm_device_connection_compatible (NMDevice *device,
-                                 NMConnection *connection,
-                                 GError **error);
-

Validates a given connection for a given NMDevice object and returns +

nm_device_connection_compatible ()

+
gboolean            nm_device_connection_compatible     (NMDevice *device,
+                                                         NMConnection *connection,
+                                                         GError **error);
+

+Validates a given connection for a given NMDevice object and returns whether the connection may be activated with the device. For example if -device - is a WiFi device that supports only WEP encryption, the connection -will only be valid if it is a WiFi connection which describes a WEP or open +device is a Wi-Fi device that supports only WEP encryption, the connection +will only be valid if it is a Wi-Fi connection which describes a WEP or open network, and will not be valid if it describes a WPA network, or if it is an Ethernet, Bluetooth, WWAN, etc connection that is incompatible with the -device.

-

This function does the same as nm_device_connection_valid(), i.e. checking +device. +

+

+This function does the same as nm_device_connection_valid(), i.e. checking compatibility of the given device and connection. But, in addition, it sets -GError when FALSE is returned.

-
-

Parameters

-
+GError when FALSE is returned. +

+
---++ - - - + + + + + + - - - + + - - - + +

device

an NMDevice to validate connection -against

 

device :

an NMDevice to validate connection against

connection :

an NMConnection to validate against device +

connection

an NMConnection to validate against device -

 

error :

return location for a GError, or NULL +

error

return location for a GError, or NULL

 

Returns :

+TRUE if the connection may be activated with this device, FALSE +if is incompatible with the device's capabilities and characteristics.
-
-

Returns

-

TRUE if the connection may be activated with this device, FALSE -if is incompatible with the device's capabilities and characteristics.

-

-
-
-
-
-

Types and Values

-
-

NM_DEVICE_DEVICE_TYPE

-
#define NM_DEVICE_DEVICE_TYPE "device-type"
-
-

-

-

-

NM_DEVICE_UDI

-
#define NM_DEVICE_UDI "udi"
-
+

nm_device_get_setting_type ()

+
GType               nm_device_get_setting_type          (NMDevice *device);

+Gets the (primary) NMSetting subtype associated with connections +that can be used on device.

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

device :

an NMDevice +

Returns :

+device's associated NMSetting type
+

Since 0.9.10

-
-
-

NM_DEVICE_INTERFACE

-
#define NM_DEVICE_INTERFACE "interface"
-
-

-

-
+
+

Property Details

-

NM_DEVICE_IP_INTERFACE

-
#define NM_DEVICE_IP_INTERFACE "ip-interface"
-
+

The "active-connection" property

+
  "active-connection"        NMActiveConnection*   : Read

+The NMActiveConnection object that "owns" this device during activation.


-

NM_DEVICE_DRIVER

-
#define NM_DEVICE_DRIVER "driver"
-
+

The "autoconnect" property

+
  "autoconnect"              gboolean              : Read / Write

+Whether the device can auto-activate a connection.

+

Default value: TRUE


-

NM_DEVICE_DRIVER_VERSION

-
#define NM_DEVICE_DRIVER_VERSION "driver-version"
-
+

The "available-connections" property

+
  "available-connections"    NMObjectArray*        : Read

+The available connections (NMRemoteConnection) of the device

+

Since 0.9.8


-

NM_DEVICE_FIRMWARE_VERSION

-
#define NM_DEVICE_FIRMWARE_VERSION "firmware-version"
-
+

The "capabilities" property

+
  "capabilities"             guint                 : Read

+The capabilities of the device.

+

Default value: 0


-

NM_DEVICE_CAPABILITIES

-
#define NM_DEVICE_CAPABILITIES "capabilities"
-
+

The "device-type" property

+
  "device-type"              guint                 : Read

+The numeric type of the device.

+

Default value: 0


-

NM_DEVICE_MANAGED

-
#define NM_DEVICE_MANAGED "managed"
-
+

The "dhcp4-config" property

+
  "dhcp4-config"             NMDHCP4Config*        : Read

+The NMDHCP4Config of the device.


-

NM_DEVICE_AUTOCONNECT

-
#define NM_DEVICE_AUTOCONNECT "autoconnect"
-
+

The "dhcp6-config" property

+
  "dhcp6-config"             NMDHCP6Config*        : Read

+The NMDHCP6Config of the device.


-

NM_DEVICE_FIRMWARE_MISSING

-
#define NM_DEVICE_FIRMWARE_MISSING "firmware-missing"
-
+

The "driver" property

+
  "driver"                   gchar*                : Read

+The driver of the device.

+

Default value: NULL


-

NM_DEVICE_IP4_CONFIG

-
#define NM_DEVICE_IP4_CONFIG "ip4-config"
-
+

The "driver-version" property

+
  "driver-version"           gchar*                : Read

+The version of the device driver.

+

Default value: NULL


-

NM_DEVICE_DHCP4_CONFIG

-
#define NM_DEVICE_DHCP4_CONFIG "dhcp4-config"
-
+

The "firmware-missing" property

+
  "firmware-missing"         gboolean              : Read

+When TRUE indicates the device is likely missing firmware required +for its operation.

+

Default value: FALSE


-

NM_DEVICE_IP6_CONFIG

-
#define NM_DEVICE_IP6_CONFIG "ip6-config"
-
+

The "firmware-version" property

+
  "firmware-version"         gchar*                : Read

+The firmware version of the device.

+

Default value: NULL


-

NM_DEVICE_DHCP6_CONFIG

-
#define NM_DEVICE_DHCP6_CONFIG "dhcp6-config"
-
+

The "interface" property

+
  "interface"                gchar*                : Read

+The interface of the device.

+

Default value: NULL


-

NM_DEVICE_STATE

-
#define NM_DEVICE_STATE "state"
-
+

The "ip-interface" property

+
  "ip-interface"             gchar*                : Read

+The IP interface of the device which should be used for all IP-related +operations like addressing and routing.

+

Default value: NULL


-

NM_DEVICE_STATE_REASON

-
#define NM_DEVICE_STATE_REASON "state-reason"
-
+

The "ip4-config" property

+
  "ip4-config"               NMIP4Config*          : Read

+The NMIP4Config of the device.


-

NM_DEVICE_ACTIVE_CONNECTION

-
#define NM_DEVICE_ACTIVE_CONNECTION "active-connection"
-
+

The "ip6-config" property

+
  "ip6-config"               NMIP6Config*          : Read

+The NMIP6Config of the device.


-

NM_DEVICE_AVAILABLE_CONNECTIONS

-
#define NM_DEVICE_AVAILABLE_CONNECTIONS "available-connections"
-
+

The "managed" property

+
  "managed"                  gboolean              : Read

+Whether the device is managed by NetworkManager.

+

Default value: FALSE


-

NM_DEVICE_VENDOR

-
#define NM_DEVICE_VENDOR "vendor"
-
+

The "mtu" property

+
  "mtu"                      guint                 : Read

+The MTU of the device.

+

Default value: 1500

+

Since 0.9.10


-

NM_DEVICE_PRODUCT

-
#define NM_DEVICE_PRODUCT "product"
-
+

The "physical-port-id" property

+
  "physical-port-id"         gchar*                : Read

+The physical port ID of the device. (See +nm_device_get_physical_port_id().)

-
-
-
-

Property Details

-
-

The “active-connection” property

-
  “active-connection”        NMActiveConnection *
-

Active Connection.

-

Flags: Read

-
-
-
-

The “autoconnect” property

-
  “autoconnect”              gboolean
-

Autoconnect.

-

Flags: Read / Write

-

Default value: TRUE

-
-
-
-

The “available-connections” property

-
  “available-connections”    NMObjectArray *
-

Available Connections.

-

Flags: Read

-

Since 0.9.8

-
-
-
-

The “capabilities” property

-
  “capabilities”             guint
-

Capabilities.

-

Flags: Read

-

Default value: 0

-
-
-
-

The “device-type” property

-
  “device-type”              guint
-

Numeric device type (ie ethernet, wifi, etc).

-

Flags: Read

-

Default value: 0

-
-
-
-

The “dhcp4-config” property

-
  “dhcp4-config”             NMDHCP4Config *
-

DHCP4 Config.

-

Flags: Read

-
-
-
-

The “dhcp6-config” property

-
  “dhcp6-config”             NMDHCP6Config *
-

DHCP6 Config.

-

Flags: Read

-
-
-
-

The “driver” property

-
  “driver”                   gchar *
-

Driver.

-

Flags: Read

-

Default value: NULL

-
-
-
-

The “driver-version” property

-
  “driver-version”           gchar *
-

Driver Version.

-

Flags: Read

-

Default value: NULL

-
-
-
-

The “firmware-missing” property

-
  “firmware-missing”         gboolean
-

Firmware missing.

-

Flags: Read

-

Default value: FALSE

-
-
-
-

The “firmware-version” property

-
  “firmware-version”         gchar *
-

Firmware Version.

-

Flags: Read

-

Default value: NULL

-
-
-
-

The “interface” property

-
  “interface”                gchar *
-

Interface name.

-

Flags: Read

-

Default value: NULL

-
-
-
-

The “ip-interface” property

-
  “ip-interface”             gchar *
-

IP Interface name.

-

Flags: Read

Default value: NULL

+

Since 0.9.10


-

The “ip4-config” property

-
  “ip4-config”               NMIP4Config *
-

IP4 Config.

-

Flags: Read

-
-
-
-

The “ip6-config” property

-
  “ip6-config”               NMIP6Config *
-

IP6 Config.

-

Flags: Read

-
-
-
-

The “managed” property

-
  “managed”                  gboolean
-

Managed.

-

Flags: Read

-

Default value: FALSE

-
-
-
-

The “product” property

-
  “product”                  gchar *
-

Product string.

-

Flags: Read

+

The "product" property

+
  "product"                  gchar*                : Read
+

+The product string of the device. +

Default value: NULL


-

The “state” property

-
  “state”                    guint
-

State.

-

Flags: Read

+

The "state" property

+
  "state"                    guint                 : Read
+

+The state of the device. +

Default value: 0


-

The “state-reason” property

-
  “state-reason”             GValueArray_guint+guint_*
-

StateReason.

-

Flags: Read

+

The "state-reason" property

+
  "state-reason"             GValueArray_guint+guint_*  : Read
+

+The state and reason of the device. +


-

The “udi” property

-
  “udi”                      gchar *
-

Unique Device Identifier.

-

Flags: Read

+

The "udi" property

+
  "udi"                      gchar*                : Read
+

+An operating-system specific device hardware identifier; this is not +unique to a specific hardware device across reboots or hotplugs. It +is an opaque string which for some device types (Bluetooth, Modem) +contains an identifier provided by the underlying hardware service daemon +such as Bluez or ModemManager, and clients can use this property to +request more information about the device from those services. +

Default value: NULL


-

The “vendor” property

-
  “vendor”                   gchar *
-

Vendor string.

-

Flags: Read

+

The "vendor" property

+
  "vendor"                   gchar*                : Read
+

+The vendor string of the device. +

Default value: NULL

Signal Details

-

The “state-changed” signal

-
void
-user_function (NMDevice *device,
-               guint     new_state,
-               guint     old_state,
-               guint     reason,
-               gpointer  user_data)
-

Flags: Run First

+

The "state-changed" signal

+
void                user_function                      (NMDevice *device,
+                                                        guint     new_state,
+                                                        guint     old_state,
+                                                        guint     reason,
+                                                        gpointer  user_data)      : Run First
+

+Notifies the state change of a NMDevice. +

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

device :

the device object that received the signal

new_state :

the new state of the device

old_state :

the previous state of the device

reason :

the reason describing the state change

user_data :

user data set when the signal handler was connected.
+ Generated by GTK-Doc V1.19
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMDeviceAdsl.html b/docs/libnm-glib/html/NMDeviceAdsl.html index fef737a4..8f20351f 100644 --- a/docs/libnm-glib/html/NMDeviceAdsl.html +++ b/docs/libnm-glib/html/NMDeviceAdsl.html @@ -2,28 +2,36 @@ -libnm-glib Reference Manual: NMDeviceAdsl +NMDeviceAdsl - + - - - - - - - + + + + + + + + + +
@@ -31,87 +39,40 @@

NMDeviceAdsl

NMDeviceAdsl

- +
-
-

Functions

-
---- - - - - - - - - - - - - - - -
-GQuark - -nm_device_adsl_error_quark () -
-GObject * - -nm_device_adsl_new () -
-gboolean - -nm_device_adsl_get_carrier () -
+
-

Properties

-
----- - - - - - -
gbooleancarrierRead
+

Object Hierarchy

+
+  GObject
+   +----NMObject
+         +----NMDevice
+               +----NMDeviceAdsl
+
-

Types and Values

-
---- - - - - - - - - - - - - - - -
enumNMDeviceAdslError
#defineNM_DEVICE_ADSL_ERROR
#defineNM_DEVICE_ADSL_CARRIER
+

Implemented Interfaces

+

+NMDeviceAdsl implements + GInitable and GAsyncInitable.

-

Object Hierarchy

-
    GObject
-    ╰── NMObject
-        ╰── NMDevice
-            ╰── NMDeviceAdsl
+

Properties

+
+  "carrier"                  gboolean              : Read
 
@@ -120,149 +81,170 @@

-

Functions

+

Details

-

nm_device_adsl_error_quark ()

-
GQuark
-nm_device_adsl_error_quark (void);
-

Registers an error quark for NMDeviceAdsl if necessary.

-
-

Returns

-

the error quark used for NMDeviceAdsl errors.

-

-
-
-
-
-

nm_device_adsl_new ()

-
GObject *
-nm_device_adsl_new (DBusGConnection *connection,
-                    const char *path);
-

Creates a new NMDeviceAdsl.

-
-

Parameters

-
+

enum NMDeviceAdslError

+
typedef enum {
+	NM_DEVICE_ADSL_ERROR_UNKNOWN = 0,             /*< nick=UnknownError >*/
+	NM_DEVICE_ADSL_ERROR_NOT_ADSL_CONNECTION,     /*< nick=NotAdslConnection >*/
+	NM_DEVICE_ADSL_ERROR_INVALID_ADSL_CONNECTION, /*< nick=InvalidAdslConnection >*/
+} NMDeviceAdslError;
+
+
---++ - - - + + + + + + - - - + +

connection

the DBusGConnection

 

NM_DEVICE_ADSL_ERROR_UNKNOWN

unknown or unclassified error +

NM_DEVICE_ADSL_ERROR_NOT_ADSL_CONNECTION

the connection was not of ADSL type +

path

the DBus object path of the device

 

NM_DEVICE_ADSL_ERROR_INVALID_ADSL_CONNECTION

the ADSL connection was invalid +
-
-

Returns

-

a new device.

-

[transfer full]

-
+
+
+

NM_DEVICE_ADSL_ERROR

+
#define NM_DEVICE_ADSL_ERROR nm_device_adsl_error_quark ()
+
+

+


-

nm_device_adsl_get_carrier ()

-
gboolean
-nm_device_adsl_get_carrier (NMDeviceAdsl *device);
-

Whether the device has carrier.

-
-

Parameters

-
+

nm_device_adsl_error_quark ()

+
GQuark              nm_device_adsl_error_quark          (void);
+

+Registers an error quark for NMDeviceAdsl if necessary. +

+
---++ - - - + +

device

a NMDeviceAdsl

 

Returns :

the error quark used for NMDeviceAdsl errors.
-
-

Returns

-

TRUE if the device has carrier

-

+
+
+

NM_DEVICE_ADSL_CARRIER

+
#define NM_DEVICE_ADSL_CARRIER "carrier"
+
+

+

+
+
+

NMDeviceAdsl

+
typedef struct _NMDeviceAdsl NMDeviceAdsl;
+

+

+
+
+

NMDeviceAdslClass

+
typedef struct {
+	NMDeviceClass parent;
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+	void (*_reserved5) (void);
+	void (*_reserved6) (void);
+} NMDeviceAdslClass;
+
+

+

-
-

Types and Values

+
-

enum NMDeviceAdslError

-
-

Members

-
+

nm_device_adsl_new ()

+
GObject *           nm_device_adsl_new                  (DBusGConnection *connection,
+                                                         const char *path);
+

+Creates a new NMDeviceAdsl. +

+
---++ - - + - - - - + + - - + -

NM_DEVICE_ADSL_ERROR_UNKNOWN

-

unknown or unclassified error

+

connection :

the DBusGConnection  

NM_DEVICE_ADSL_ERROR_NOT_ADSL_CONNECTION

-

the connection was not of ADSL type

-
 

path :

the DBus object path of the device

NM_DEVICE_ADSL_ERROR_INVALID_ADSL_CONNECTION

-

the ADSL connection was invalid

+

Returns :

a new device. [transfer full]  
-

-

NM_DEVICE_ADSL_ERROR

-
#define NM_DEVICE_ADSL_ERROR nm_device_adsl_error_quark ()
-
-

-

-
-
-
-

NM_DEVICE_ADSL_CARRIER

-
#define NM_DEVICE_ADSL_CARRIER "carrier"
-
+

nm_device_adsl_get_carrier ()

+
gboolean            nm_device_adsl_get_carrier          (NMDeviceAdsl *device);

+Whether the device has carrier.

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

device :

a NMDeviceAdsl +

Returns :

+TRUE if the device has carrier

Property Details

-

The “carrier” property

-
  “carrier”                  gboolean
-

Carrier.

-

Flags: Read

+

The "carrier" property

+
  "carrier"                  gboolean              : Read
+

+Whether the device has carrier. +

Default value: FALSE

+ Generated by GTK-Doc V1.19
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMDeviceBond.html b/docs/libnm-glib/html/NMDeviceBond.html index d86a8f04..9a502587 100644 --- a/docs/libnm-glib/html/NMDeviceBond.html +++ b/docs/libnm-glib/html/NMDeviceBond.html @@ -2,28 +2,36 @@ -libnm-glib Reference Manual: NMDeviceBond +NMDeviceBond - + - - - - - - - + + + + + + + + + +
@@ -31,123 +39,46 @@

NMDeviceBond

NMDeviceBond

- +
-
-

Functions

-
---- - - - - - - - - - - - - - - - - - - - - - - -
-GQuark - -nm_device_bond_error_quark () -
-GObject * - -nm_device_bond_new () -
const char * - -nm_device_bond_get_hw_address () -
-gboolean - -nm_device_bond_get_carrier () -
const GPtrArray * - -nm_device_bond_get_slaves () -
+
-

Properties

-
----- - - - - - - - - - - - - - - - - - -
gbooleancarrierRead
-gchar *hw-addressRead
-NMObjectArray *slavesRead
+

Object Hierarchy

+
+  GObject
+   +----NMObject
+         +----NMDevice
+               +----NMDeviceBond
+
-

Types and Values

-
---- - - - - - - - - - - - - - - - - - - - - - - -
enumNMDeviceBondError
#defineNM_DEVICE_BOND_ERROR
#defineNM_DEVICE_BOND_HW_ADDRESS
#defineNM_DEVICE_BOND_CARRIER
#defineNM_DEVICE_BOND_SLAVES
+

Implemented Interfaces

+

+NMDeviceBond implements + GInitable and GAsyncInitable.

-

Object Hierarchy

-
    GObject
-    ╰── NMObject
-        ╰── NMDevice
-            ╰── NMDeviceBond
+

Properties

+
+  "carrier"                  gboolean              : Read
+  "hw-address"               gchar*                : Read
+  "slaves"                   NMObjectArray*        : Read
 
@@ -156,248 +87,265 @@

-

Functions

-
-

nm_device_bond_error_quark ()

-
GQuark
-nm_device_bond_error_quark (void);
-

Registers an error quark for NMDeviceBond if necessary.

-
-

Returns

-

the error quark used for NMDeviceBond errors.

-

-
-
-
+

Details

-

nm_device_bond_new ()

-
GObject *
-nm_device_bond_new (DBusGConnection *connection,
-                    const char *path);
-

Creates a new NMDeviceBond.

-
-

Parameters

-
+

enum NMDeviceBondError

+
typedef enum {
+	NM_DEVICE_BOND_ERROR_UNKNOWN = 0,             /*< nick=UnknownError >*/
+	NM_DEVICE_BOND_ERROR_NOT_BOND_CONNECTION,     /*< nick=NotBondConnection >*/
+	NM_DEVICE_BOND_ERROR_INVALID_BOND_CONNECTION, /*< nick=InvalidBondConnection >*/
+	NM_DEVICE_BOND_ERROR_INTERFACE_MISMATCH,      /*< nick=InterfaceMismatch >*/
+} NMDeviceBondError;
+
+
---++ - - - + + + + + + + + + + - - - + +

connection

the DBusGConnection

 

NM_DEVICE_BOND_ERROR_UNKNOWN

unknown or unclassified error +

NM_DEVICE_BOND_ERROR_NOT_BOND_CONNECTION

the connection was not of bond type +

NM_DEVICE_BOND_ERROR_INVALID_BOND_CONNECTION

the bond connection was invalid +

path

the DBus object path of the device

 

NM_DEVICE_BOND_ERROR_INTERFACE_MISMATCH

the interfaces of the connection and the device mismatched +
-
-

Returns

-

a new device.

-

[transfer full]

-
-

-

nm_device_bond_get_hw_address ()

-
const char *
-nm_device_bond_get_hw_address (NMDeviceBond *device);
-

Gets the hardware (MAC) address of the NMDeviceBond

-
-

Parameters

-
----- - - - - - -

device

a NMDeviceBond

 
-
-
-

Returns

-

the hardware address. This is the internal string used by the -device, and must not be modified.

-

-
+

NM_DEVICE_BOND_ERROR

+
#define NM_DEVICE_BOND_ERROR nm_device_bond_error_quark ()
+
+

+


-

nm_device_bond_get_carrier ()

-
gboolean
-nm_device_bond_get_carrier (NMDeviceBond *device);
-

Whether the device has carrier.

-
-

Parameters

-
+

nm_device_bond_error_quark ()

+
GQuark              nm_device_bond_error_quark          (void);
+

+Registers an error quark for NMDeviceBond if necessary. +

+
---++ - - - + +

device

a NMDeviceBond

 

Returns :

the error quark used for NMDeviceBond errors.
-
-

Returns

-

TRUE if the device has carrier

-

-
+
+
+

NM_DEVICE_BOND_HW_ADDRESS

+
#define NM_DEVICE_BOND_HW_ADDRESS  "hw-address"
+
+

+


-

nm_device_bond_get_slaves ()

-
const GPtrArray *
-nm_device_bond_get_slaves (NMDeviceBond *device);
-

Gets the devices currently slaved to device -.

-
-

Parameters

-
----- - - - - - -

device

a NMDeviceBond

 
+

NM_DEVICE_BOND_CARRIER

+
#define NM_DEVICE_BOND_CARRIER     "carrier"
+
+

+

-
-

Returns

-

the GPtrArray containing -NMDevices that are slaves of device -. This is the internal -copy used by the device, and must not be modified.

-

[element-type NMClient.Device]

+
+
+

NM_DEVICE_BOND_SLAVES

+
#define NM_DEVICE_BOND_SLAVES      "slaves"
+
+

+

-

Since 0.9.6.4

+
+
+

NMDeviceBond

+
typedef struct _NMDeviceBond NMDeviceBond;
+

+

+
+
+

NMDeviceBondClass

+
typedef struct {
+	NMDeviceClass parent;
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+	void (*_reserved5) (void);
+	void (*_reserved6) (void);
+} NMDeviceBondClass;
+
+

+

-
-

Types and Values

+
-

enum NMDeviceBondError

-
-

Members

-
+

nm_device_bond_new ()

+
GObject *           nm_device_bond_new                  (DBusGConnection *connection,
+                                                         const char *path);
+

+Creates a new NMDeviceBond. +

+
---++ - - - - - - - + - - - - + + - - + -

NM_DEVICE_BOND_ERROR_UNKNOWN

-

unknown or unclassified error

-
 

NM_DEVICE_BOND_ERROR_NOT_BOND_CONNECTION

-

the connection was not of bond type

+

connection :

the DBusGConnection  

NM_DEVICE_BOND_ERROR_INVALID_BOND_CONNECTION

-

the bond connection was invalid

-
 

path :

the DBus object path of the device

NM_DEVICE_BOND_ERROR_INTERFACE_MISMATCH

-

the interfaces of the connection and the device mismatched

+

Returns :

a new device. [transfer full]  
-

-

NM_DEVICE_BOND_ERROR

-
#define NM_DEVICE_BOND_ERROR nm_device_bond_error_quark ()
-
-

-

-
-
-
-

NM_DEVICE_BOND_HW_ADDRESS

-
#define NM_DEVICE_BOND_HW_ADDRESS  "hw-address"
-
+

nm_device_bond_get_hw_address ()

+
const char *        nm_device_bond_get_hw_address       (NMDeviceBond *device);

+Gets the hardware (MAC) address of the NMDeviceBond

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

device :

a NMDeviceBond +

Returns :

the hardware address. This is the internal string used by the +device, and must not be modified.

-

NM_DEVICE_BOND_CARRIER

-
#define NM_DEVICE_BOND_CARRIER     "carrier"
-
+

nm_device_bond_get_carrier ()

+
gboolean            nm_device_bond_get_carrier          (NMDeviceBond *device);

+Whether the device has carrier.

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

device :

a NMDeviceBond +

Returns :

+TRUE if the device has carrier

-

NM_DEVICE_BOND_SLAVES

-
#define NM_DEVICE_BOND_SLAVES      "slaves"
-
+

nm_device_bond_get_slaves ()

+
const GPtrArray *   nm_device_bond_get_slaves           (NMDeviceBond *device);

+Gets the devices currently slaved to device.

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

device :

a NMDeviceBond +

Returns :

the GPtrArray containing +NMDevices that are slaves of device. This is the internal +copy used by the device, and must not be modified. [element-type NMClient.Device] +
+

Since 0.9.6.4

Property Details

-

The “carrier” property

-
  “carrier”                  gboolean
-

Carrier.

-

Flags: Read

+

The "carrier" property

+
  "carrier"                  gboolean              : Read
+

+Whether the device has carrier. +

Default value: FALSE


-

The “hw-address” property

-
  “hw-address”               gchar *
-

Currently set hardware MAC address.

-

Flags: Read

+

The "hw-address" property

+
  "hw-address"               gchar*                : Read
+

+The hardware (MAC) address of the device. +

Default value: NULL


-

The “slaves” property

-
  “slaves”                   NMObjectArray *
-

Slaves.

-

Flags: Read

+

The "slaves" property

+
  "slaves"                   NMObjectArray*        : Read
+

+The devices (NMDevice) slaved to the bond device. +

Since 0.9.8

+ Generated by GTK-Doc V1.19
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMDeviceBridge.html b/docs/libnm-glib/html/NMDeviceBridge.html index 6ef3f5e4..2b7594ad 100644 --- a/docs/libnm-glib/html/NMDeviceBridge.html +++ b/docs/libnm-glib/html/NMDeviceBridge.html @@ -2,28 +2,36 @@ -libnm-glib Reference Manual: NMDeviceBridge +NMDeviceBridge - - + + - - - - - - - + + + + + + + + + +
@@ -31,123 +39,46 @@

NMDeviceBridge

NMDeviceBridge

- +
-
-

Functions

-
---- - - - - - - - - - - - - - - - - - - - - - - -
-GQuark - -nm_device_bridge_error_quark () -
-GObject * - -nm_device_bridge_new () -
const char * - -nm_device_bridge_get_hw_address () -
-gboolean - -nm_device_bridge_get_carrier () -
const GPtrArray * - -nm_device_bridge_get_slaves () -
+
-

Properties

-
----- - - - - - - - - - - - - - - - - - -
gbooleancarrierRead
-gchar *hw-addressRead
-NMObjectArray *slavesRead
+

Object Hierarchy

+
+  GObject
+   +----NMObject
+         +----NMDevice
+               +----NMDeviceBridge
+
-

Types and Values

-
---- - - - - - - - - - - - - - - - - - - - - - - -
enumNMDeviceBridgeError
#defineNM_DEVICE_BRIDGE_ERROR
#defineNM_DEVICE_BRIDGE_HW_ADDRESS
#defineNM_DEVICE_BRIDGE_CARRIER
#defineNM_DEVICE_BRIDGE_SLAVES
+

Implemented Interfaces

+

+NMDeviceBridge implements + GInitable and GAsyncInitable.

-

Object Hierarchy

-
    GObject
-    ╰── NMObject
-        ╰── NMDevice
-            ╰── NMDeviceBridge
+

Properties

+
+  "carrier"                  gboolean              : Read
+  "hw-address"               gchar*                : Read
+  "slaves"                   NMObjectArray*        : Read
 
@@ -156,255 +87,272 @@

-

Functions

+

Details

-

nm_device_bridge_error_quark ()

-
GQuark
-nm_device_bridge_error_quark (void);
-

Registers an error quark for NMDeviceBridge if necessary.

-
-

Returns

-

the error quark used for NMDeviceBridge errors.

-

-
-

Since 0.9.8

-
-
-
-

nm_device_bridge_new ()

-
GObject *
-nm_device_bridge_new (DBusGConnection *connection,
-                      const char *path);
-

Creates a new NMDeviceBridge.

-
-

Parameters

-
+

enum NMDeviceBridgeError

+
typedef enum {
+	NM_DEVICE_BRIDGE_ERROR_UNKNOWN = 0,               /*< nick=UnknownError >*/
+	NM_DEVICE_BRIDGE_ERROR_NOT_BRIDGE_CONNECTION,     /*< nick=NotBridgeConnection >*/
+	NM_DEVICE_BRIDGE_ERROR_INVALID_BRIDGE_CONNECTION, /*< nick=InvalidBridgeConnection >*/
+	NM_DEVICE_BRIDGE_ERROR_INTERFACE_MISMATCH,        /*< nick=InterfaceMismatch >*/
+} NMDeviceBridgeError;
+
+
---++ - - - + + + + + + - - - + + + + + +

connection

the DBusGConnection

 

NM_DEVICE_BRIDGE_ERROR_UNKNOWN

unknown or unclassified error +

NM_DEVICE_BRIDGE_ERROR_NOT_BRIDGE_CONNECTION

the connection was not of bridge type +

path

the DBus object path of the device

 

NM_DEVICE_BRIDGE_ERROR_INVALID_BRIDGE_CONNECTION

the bridge connection was invalid +

NM_DEVICE_BRIDGE_ERROR_INTERFACE_MISMATCH

the interfaces of the connection and the device mismatched +
-
-
-

Returns

-

a new device.

-

[transfer full]

-

Since 0.9.8


-

nm_device_bridge_get_hw_address ()

-
const char *
-nm_device_bridge_get_hw_address (NMDeviceBridge *device);
-

Gets the hardware (MAC) address of the NMDeviceBridge

-
-

Parameters

-
----- - - - - - -

device

a NMDeviceBridge

 
-
-
-

Returns

-

the hardware address. This is the internal string used by the -device, and must not be modified.

-

-
-

Since 0.9.8

+

NM_DEVICE_BRIDGE_ERROR

+
#define NM_DEVICE_BRIDGE_ERROR nm_device_bridge_error_quark ()
+
+

+


-

nm_device_bridge_get_carrier ()

-
gboolean
-nm_device_bridge_get_carrier (NMDeviceBridge *device);
-

Whether the device has carrier.

-
-

Parameters

-
+

nm_device_bridge_error_quark ()

+
GQuark              nm_device_bridge_error_quark        (void);
+

+Registers an error quark for NMDeviceBridge if necessary. +

+
---++ - - - + +

device

a NMDeviceBridge

 

Returns :

the error quark used for NMDeviceBridge errors.
-
-
-

Returns

-

TRUE if the device has carrier

-

-

Since 0.9.8


-

nm_device_bridge_get_slaves ()

-
const GPtrArray *
-nm_device_bridge_get_slaves (NMDeviceBridge *device);
-

Gets the devices currently slaved to device -.

-
-

Parameters

-
----- - - - - - -

device

a NMDeviceBridge

 
+

NM_DEVICE_BRIDGE_HW_ADDRESS

+
#define NM_DEVICE_BRIDGE_HW_ADDRESS  "hw-address"
+
+

+

-
-

Returns

-

the GPtrArray containing -NMDevices that are slaves of device -. This is the internal -copy used by the device, and must not be modified.

-

[element-type NMClient.Device]

+
+
+

NM_DEVICE_BRIDGE_CARRIER

+
#define NM_DEVICE_BRIDGE_CARRIER     "carrier"
+
+

+

-

Since 0.9.8

+
+
+

NM_DEVICE_BRIDGE_SLAVES

+
#define NM_DEVICE_BRIDGE_SLAVES      "slaves"
+
+

+

+
+
+

NMDeviceBridge

+
typedef struct _NMDeviceBridge NMDeviceBridge;
+

+

-
-

Types and Values

+
-

enum NMDeviceBridgeError

-
-

Members

-
+

NMDeviceBridgeClass

+
typedef struct {
+	NMDeviceClass parent;
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+	void (*_reserved5) (void);
+	void (*_reserved6) (void);
+} NMDeviceBridgeClass;
+
+

+

+ +
+
+

nm_device_bridge_new ()

+
GObject *           nm_device_bridge_new                (DBusGConnection *connection,
+                                                         const char *path);
+

+Creates a new NMDeviceBridge. +

+
---++ - - - - - - - + - - - - + + - - + -

NM_DEVICE_BRIDGE_ERROR_UNKNOWN

-

unknown or unclassified error

-
 

NM_DEVICE_BRIDGE_ERROR_NOT_BRIDGE_CONNECTION

-

the connection was not of bridge type

+

connection :

the DBusGConnection  

NM_DEVICE_BRIDGE_ERROR_INVALID_BRIDGE_CONNECTION

-

the bridge connection was invalid

-
 

path :

the DBus object path of the device

NM_DEVICE_BRIDGE_ERROR_INTERFACE_MISMATCH

-

the interfaces of the connection and the device mismatched

+

Returns :

a new device. [transfer full]  
-

Since 0.9.8


-

NM_DEVICE_BRIDGE_ERROR

-
#define NM_DEVICE_BRIDGE_ERROR nm_device_bridge_error_quark ()
-
-

-

-
-
-
-

NM_DEVICE_BRIDGE_HW_ADDRESS

-
#define NM_DEVICE_BRIDGE_HW_ADDRESS  "hw-address"
-
+

nm_device_bridge_get_hw_address ()

+
const char *        nm_device_bridge_get_hw_address     (NMDeviceBridge *device);

+Gets the hardware (MAC) address of the NMDeviceBridge

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

device :

a NMDeviceBridge +

Returns :

the hardware address. This is the internal string used by the +device, and must not be modified.
+

Since 0.9.8


-

NM_DEVICE_BRIDGE_CARRIER

-
#define NM_DEVICE_BRIDGE_CARRIER     "carrier"
-
+

nm_device_bridge_get_carrier ()

+
gboolean            nm_device_bridge_get_carrier        (NMDeviceBridge *device);

+Whether the device has carrier.

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

device :

a NMDeviceBridge +

Returns :

+TRUE if the device has carrier
+

Since 0.9.8


-

NM_DEVICE_BRIDGE_SLAVES

-
#define NM_DEVICE_BRIDGE_SLAVES      "slaves"
-
+

nm_device_bridge_get_slaves ()

+
const GPtrArray *   nm_device_bridge_get_slaves         (NMDeviceBridge *device);

+Gets the devices currently slaved to device.

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

device :

a NMDeviceBridge +

Returns :

the GPtrArray containing +NMDevices that are slaves of device. This is the internal +copy used by the device, and must not be modified. [element-type NMClient.Device] +
+

Since 0.9.8

Property Details

-

The “carrier” property

-
  “carrier”                  gboolean
-

Carrier.

-

Flags: Read

+

The "carrier" property

+
  "carrier"                  gboolean              : Read
+

+Whether the device has carrier. +

Default value: FALSE

Since 0.9.8


-

The “hw-address” property

-
  “hw-address”               gchar *
-

Currently set hardware MAC address.

-

Flags: Read

+

The "hw-address" property

+
  "hw-address"               gchar*                : Read
+

+The hardware (MAC) address of the device. +

Default value: NULL

Since 0.9.8


-

The “slaves” property

-
  “slaves”                   NMObjectArray *
-

Slaves.

-

Flags: Read

+

The "slaves" property

+
  "slaves"                   NMObjectArray*        : Read
+

+The devices (NMDevice) slaved to the bridge device. +

Since 0.9.8

+ Generated by GTK-Doc V1.19
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMDeviceBt.html b/docs/libnm-glib/html/NMDeviceBt.html index e951a85a..e3a59fc7 100644 --- a/docs/libnm-glib/html/NMDeviceBt.html +++ b/docs/libnm-glib/html/NMDeviceBt.html @@ -2,28 +2,36 @@ -libnm-glib Reference Manual: NMDeviceBt +NMDeviceBt - + - - - - - - - + + + + + + + + + +
@@ -31,382 +39,321 @@

NMDeviceBt

NMDeviceBt

- +
+
+

Synopsis

+
enum                NMDeviceBtError;
+#define             NM_DEVICE_BT_ERROR
+GQuark              nm_device_bt_error_quark            (void);
+#define             NM_DEVICE_BT_HW_ADDRESS
+#define             NM_DEVICE_BT_NAME
+#define             NM_DEVICE_BT_CAPABILITIES
+                    NMDeviceBt;
+                    NMDeviceBtClass;
+GObject *           nm_device_bt_new                    (DBusGConnection *connection,
+                                                         const char *path);
+const char *        nm_device_bt_get_hw_address         (NMDeviceBt *device);
+const char *        nm_device_bt_get_name               (NMDeviceBt *device);
+NMBluetoothCapabilities nm_device_bt_get_capabilities   (NMDeviceBt *device);
+
+
-

Functions

-
+

Object Hierarchy

+
+  GObject
+   +----NMObject
+         +----NMDevice
+               +----NMDeviceBt
+
+ +
+

Implemented Interfaces

+

+NMDeviceBt implements + GInitable and GAsyncInitable.

+
+
+

Properties

+
+  "bt-capabilities"          guint                 : Read
+  "hw-address"               gchar*                : Read
+  "name"                     gchar*                : Read
+
+
+
+

Description

+

+

+
+
+

Details

+
+

enum NMDeviceBtError

+
typedef enum {
+	NM_DEVICE_BT_ERROR_UNKNOWN = 0,           /*< nick=UnknownError >*/
+	NM_DEVICE_BT_ERROR_NOT_BT_CONNECTION,     /*< nick=NotBtConnection >*/
+	NM_DEVICE_BT_ERROR_INVALID_BT_CONNECTION, /*< nick=InvalidBtConnection >*/
+	NM_DEVICE_BT_ERROR_INVALID_DEVICE_MAC,    /*< nick=InvalidDeviceMac >*/
+	NM_DEVICE_BT_ERROR_MAC_MISMATCH,          /*< nick=MacMismatch >*/
+	NM_DEVICE_BT_ERROR_MISSING_DEVICE_CAPS,   /*< nick=MissingDeviceCaps >*/
+} NMDeviceBtError;
+
+
--++ - - + - - + - - + - - + - - + - -
-GQuark - -nm_device_bt_error_quark () +

NM_DEVICE_BT_ERROR_UNKNOWN

unknown or unclassified error
-GObject * - -nm_device_bt_new () +

NM_DEVICE_BT_ERROR_NOT_BT_CONNECTION

the connection was not of bluetooth type
const char * - -nm_device_bt_get_hw_address () +

NM_DEVICE_BT_ERROR_INVALID_BT_CONNECTION

the bluetooth connection was invalid
const char * - -nm_device_bt_get_name () +

NM_DEVICE_BT_ERROR_INVALID_DEVICE_MAC

the device's MAC was invalid
-NMBluetoothCapabilities - -nm_device_bt_get_capabilities () +

NM_DEVICE_BT_ERROR_MAC_MISMATCH

the MACs of the connection and the device mismatched
-
-
-

Properties

-
----- - - - - - - - - - - - - - - + +
guintbt-capabilitiesRead
-gchar *hw-addressRead
-gchar *nameRead

NM_DEVICE_BT_ERROR_MISSING_DEVICE_CAPS

the device missed required capabilities +
-
-

Types and Values

-
+
+
+

NM_DEVICE_BT_ERROR

+
#define NM_DEVICE_BT_ERROR nm_device_bt_error_quark ()
+
+

+

+
+
+
+

nm_device_bt_error_quark ()

+
GQuark              nm_device_bt_error_quark            (void);
+

+Registers an error quark for NMDeviceBt if necessary. +

+
--++ - - - - - - - - - - - - - - - - - - - - - - + + + +
enumNMDeviceBtError
#defineNM_DEVICE_BT_ERROR
#defineNM_DEVICE_BT_HW_ADDRESS
#defineNM_DEVICE_BT_NAME
#defineNM_DEVICE_BT_CAPABILITIES

Returns :

the error quark used for NMDeviceBt errors.
-
-

Object Hierarchy

-
    GObject
-    ╰── NMObject
-        ╰── NMDevice
-            ╰── NMDeviceBt
+
+
+

NM_DEVICE_BT_HW_ADDRESS

+
#define NM_DEVICE_BT_HW_ADDRESS   "hw-address"
 
+

+

-
-

Description

+
+
+

NM_DEVICE_BT_NAME

+
#define NM_DEVICE_BT_NAME         "name"
+

-
-

Functions

+
-

nm_device_bt_error_quark ()

-
GQuark
-nm_device_bt_error_quark (void);
-

Registers an error quark for NMDeviceBt if necessary.

-
-

Returns

-

the error quark used for NMDeviceBt errors.

-

+

NM_DEVICE_BT_CAPABILITIES

+
#define NM_DEVICE_BT_CAPABILITIES "bt-capabilities"
+
+

+

+
+
+

NMDeviceBt

+
typedef struct _NMDeviceBt NMDeviceBt;
+

+


-

nm_device_bt_new ()

-
GObject *
-nm_device_bt_new (DBusGConnection *connection,
-                  const char *path);
-

Creates a new NMDeviceBt.

-
-

Parameters

-
+

NMDeviceBtClass

+
typedef struct {
+	NMDeviceClass parent;
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+	void (*_reserved5) (void);
+	void (*_reserved6) (void);
+} NMDeviceBtClass;
+
+

+

+ +
+
+

nm_device_bt_new ()

+
GObject *           nm_device_bt_new                    (DBusGConnection *connection,
+                                                         const char *path);
+

+Creates a new NMDeviceBt. +

+
---++ - - - + + - - - + + + + + +

connection

the DBusGConnection

 

connection :

the DBusGConnection +

path

the DBus object path of the device

 

path :

the DBus object path of the device

Returns :

a new device. [transfer full] +
-
-

Returns

-

a new device.

-

[transfer full]

-
-

-

nm_device_bt_get_hw_address ()

-
const char *
-nm_device_bt_get_hw_address (NMDeviceBt *device);
-

Gets the hardware (MAC) address of the NMDeviceBt

-
-

Parameters

-
+

nm_device_bt_get_hw_address ()

+
const char *        nm_device_bt_get_hw_address         (NMDeviceBt *device);
+

+Gets the hardware (MAC) address of the NMDeviceBt +

+
---++ - - - - - + + + + + + + + + +

device

a NMDeviceBt

 

device :

a NMDeviceBt +

Returns :

the hardware address. This is the internal string used by the +device, and must not be modified.
-
-

Returns

-

the hardware address. This is the internal string used by the -device, and must not be modified.

-

-
-

-

nm_device_bt_get_name ()

-
const char *
-nm_device_bt_get_name (NMDeviceBt *device);
-

Gets the name of the NMDeviceBt.

-
-

Parameters

-
+

nm_device_bt_get_name ()

+
const char *        nm_device_bt_get_name               (NMDeviceBt *device);
+

+Gets the name of the NMDeviceBt. +

+
---++ - - - - - + + + + + + + + + +

device

a NMDeviceBt

 

device :

a NMDeviceBt +

Returns :

the name of the device
-
-

Returns

-

the name of the device

-

-
-

-

nm_device_bt_get_capabilities ()

-
NMBluetoothCapabilities
-nm_device_bt_get_capabilities (NMDeviceBt *device);
-

Returns the Bluetooth device's usable capabilities.

-
-

Parameters

-
----- - - - - - -

device

a NMDeviceBt

 
-
-
-

Returns

-

a combination of NMBluetoothCapabilities

-

-
-
-
-
-

Types and Values

-
-

enum NMDeviceBtError

-
-

Members

-
+

nm_device_bt_get_capabilities ()

+
NMBluetoothCapabilities nm_device_bt_get_capabilities   (NMDeviceBt *device);
+

+Returns the Bluetooth device's usable capabilities. +

+
---++ - - - - - - - - - - - - - - - - - - - - - - + - - - + -

NM_DEVICE_BT_ERROR_UNKNOWN

-

unknown or unclassified error

-
 

NM_DEVICE_BT_ERROR_NOT_BT_CONNECTION

-

the connection was not of bluetooth type

-
 

NM_DEVICE_BT_ERROR_INVALID_BT_CONNECTION

-

the bluetooth connection was invalid

-
 

NM_DEVICE_BT_ERROR_INVALID_DEVICE_MAC

-

the device's MAC was invalid

-
 

NM_DEVICE_BT_ERROR_MAC_MISMATCH

-

the MACs of the connection and the device mismatched

+

device :

a NMDeviceBt  

NM_DEVICE_BT_ERROR_MISSING_DEVICE_CAPS

-

the device missed required capabilities

+

Returns :

a combination of NMBluetoothCapabilities  
-
-
-

NM_DEVICE_BT_ERROR

-
#define NM_DEVICE_BT_ERROR nm_device_bt_error_quark ()
-
-

-

-
-
+
+

Property Details

-

NM_DEVICE_BT_HW_ADDRESS

-
#define NM_DEVICE_BT_HW_ADDRESS   "hw-address"
-
+

The "bt-capabilities" property

+
  "bt-capabilities"          guint                 : Read

+The device's bluetooth capabilities, a combination of NMBluetoothCapabilities.

+

Default value: 0


-

NM_DEVICE_BT_NAME

-
#define NM_DEVICE_BT_NAME         "name"
-
+

The "hw-address" property

+
  "hw-address"               gchar*                : Read

+The hardware (MAC) address of the device.

+

Default value: NULL


-

NM_DEVICE_BT_CAPABILITIES

-
#define NM_DEVICE_BT_CAPABILITIES "bt-capabilities"
-
+

The "name" property

+
  "name"                     gchar*                : Read

+The name of the bluetooth device.

-
-
-
-

Property Details

-
-

The “bt-capabilities” property

-
  “bt-capabilities”          guint
-

Bluetooth capabilities.

-

Flags: Read

-

Default value: 0

-
-
-
-

The “hw-address” property

-
  “hw-address”               gchar *
-

Hardware MAC address.

-

Flags: Read

-

Default value: NULL

-
-
-
-

The “name” property

-
  “name”                     gchar *
-

Device name.

-

Flags: Read

Default value: NULL

+ Generated by GTK-Doc V1.19
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMDeviceEthernet.html b/docs/libnm-glib/html/NMDeviceEthernet.html index 98767b2e..96c3a074 100644 --- a/docs/libnm-glib/html/NMDeviceEthernet.html +++ b/docs/libnm-glib/html/NMDeviceEthernet.html @@ -2,28 +2,36 @@ -libnm-glib Reference Manual: NMDeviceEthernet +NMDeviceEthernet - + - - - - - - - + + + + + + + + + +
@@ -31,140 +39,50 @@

NMDeviceEthernet

NMDeviceEthernet

- +
-
-

Functions

-
---- - - - - - - - - - - - - - - - - - - - - - - - - - - -
-GQuark - -nm_device_ethernet_error_quark () -
-GObject * - -nm_device_ethernet_new () -
const char * - -nm_device_ethernet_get_hw_address () -
const char * - -nm_device_ethernet_get_permanent_hw_address () -
-guint32 - -nm_device_ethernet_get_speed () -
-gboolean - -nm_device_ethernet_get_carrier () -
+
-

Properties

-
----- - - - - - - - - - - - - - - - - - - - - - - -
gbooleancarrierRead
-gchar *hw-addressRead
-gchar *perm-hw-addressRead
guintspeedRead
+

Object Hierarchy

+
+  GObject
+   +----NMObject
+         +----NMDevice
+               +----NMDeviceEthernet
+
-

Types and Values

- +

Implemented Interfaces

+

+NMDeviceEthernet implements + GInitable and GAsyncInitable.

-

Object Hierarchy

-
    GObject
-    ╰── NMObject
-        ╰── NMDevice
-            ╰── NMDeviceEthernet
+

Properties

+
+  "carrier"                  gboolean              : Read
+  "hw-address"               gchar*                : Read
+  "perm-hw-address"          gchar*                : Read
+  "speed"                    guint                 : Read
 
@@ -173,295 +91,311 @@

-

Functions

-
-

nm_device_ethernet_error_quark ()

-
GQuark
-nm_device_ethernet_error_quark (void);
-

Registers an error quark for NMDeviceEthernet if necessary.

-
-

Returns

-

the error quark used for NMDeviceEthernet errors.

-

-
-
-
+

Details

-

nm_device_ethernet_new ()

-
GObject *
-nm_device_ethernet_new (DBusGConnection *connection,
-                        const char *path);
-

Creates a new NMDeviceEthernet.

-
-

Parameters

-
+

enum NMDeviceEthernetError

+
typedef enum {
+	NM_DEVICE_ETHERNET_ERROR_UNKNOWN = 0,                 /*< nick=UnknownError >*/
+	NM_DEVICE_ETHERNET_ERROR_NOT_ETHERNET_CONNECTION,     /*< nick=NotEthernetConnection >*/
+	NM_DEVICE_ETHERNET_ERROR_INVALID_ETHERNET_CONNECTION, /*< nick=InvalidEthernetConnection >*/
+	NM_DEVICE_ETHERNET_ERROR_INVALID_DEVICE_MAC,          /*< nick=InvalidDeviceMac >*/
+	NM_DEVICE_ETHERNET_ERROR_MAC_MISMATCH,                /*< nick=MacMismatch >*/
+} NMDeviceEthernetError;
+
+
---++ - - - + + + + + + + + + + - - - + + + + + +

connection

the DBusGConnection

 

NM_DEVICE_ETHERNET_ERROR_UNKNOWN

unknown or unclassified error +

NM_DEVICE_ETHERNET_ERROR_NOT_ETHERNET_CONNECTION

the connection was not of Ethernet or PPPoE type +

NM_DEVICE_ETHERNET_ERROR_INVALID_ETHERNET_CONNECTION

the Ethernet connection was invalid +

path

the DBus object path of the device

 

NM_DEVICE_ETHERNET_ERROR_INVALID_DEVICE_MAC

the device's MAC was invalid +

NM_DEVICE_ETHERNET_ERROR_MAC_MISMATCH

the MACs of the connection and the device mismatched +
-
-

Returns

-

a new device.

-

[transfer full]

-
-

-

nm_device_ethernet_get_hw_address ()

-
const char *
-nm_device_ethernet_get_hw_address (NMDeviceEthernet *device);
-

Gets the active hardware (MAC) address of the NMDeviceEthernet

-
-

Parameters

-
----- - - - - - -

device

a NMDeviceEthernet

 
-
-
-

Returns

-

the active hardware address. This is the internal string used by the -device, and must not be modified.

-

-
+

NM_DEVICE_ETHERNET_ERROR

+
#define NM_DEVICE_ETHERNET_ERROR nm_device_ethernet_error_quark ()
+
+

+


-

nm_device_ethernet_get_permanent_hw_address ()

-
const char *
-nm_device_ethernet_get_permanent_hw_address
-                               (NMDeviceEthernet *device);
-

Gets the permanent hardware (MAC) address of the NMDeviceEthernet

-
-

Parameters

-
+

nm_device_ethernet_error_quark ()

+
GQuark              nm_device_ethernet_error_quark      (void);
+

+Registers an error quark for NMDeviceEthernet if necessary. +

+
---++ - - - + +

device

a NMDeviceEthernet

 

Returns :

the error quark used for NMDeviceEthernet errors.
-
-

Returns

-

the permanent hardware address. This is the internal string used by the -device, and must not be modified.

-

-
-

-

nm_device_ethernet_get_speed ()

-
guint32
-nm_device_ethernet_get_speed (NMDeviceEthernet *device);
-

Gets the speed of the NMDeviceEthernet.

-
-

Parameters

-
----- - - - - - -

device

a NMDeviceEthernet

 
-
-
-

Returns

-

the speed of the device

-

+

NM_DEVICE_ETHERNET_HW_ADDRESS

+
#define NM_DEVICE_ETHERNET_HW_ADDRESS  "hw-address"
+
+

+

+
+
+

NM_DEVICE_ETHERNET_PERMANENT_HW_ADDRESS

+
#define NM_DEVICE_ETHERNET_PERMANENT_HW_ADDRESS "perm-hw-address"
+
+

+


-

nm_device_ethernet_get_carrier ()

-
gboolean
-nm_device_ethernet_get_carrier (NMDeviceEthernet *device);
-

Whether the device has carrier.

-
-

Parameters

-
----- - - - - - -

device

a NMDeviceEthernet

 
+

NM_DEVICE_ETHERNET_SPEED

+
#define NM_DEVICE_ETHERNET_SPEED       "speed"
+
+

+

-
-

Returns

-

TRUE if the device has carrier

-

+
+
+

NM_DEVICE_ETHERNET_CARRIER

+
#define NM_DEVICE_ETHERNET_CARRIER     "carrier"
+
+

+

+
+
+

NMDeviceEthernet

+
typedef struct _NMDeviceEthernet NMDeviceEthernet;
+

+

+
+
+

NMDeviceEthernetClass

+
typedef struct {
+	NMDeviceClass parent;
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+	void (*_reserved5) (void);
+	void (*_reserved6) (void);
+} NMDeviceEthernetClass;
+
+

+

-
-

Types and Values

+
-

enum NMDeviceEthernetError

-
-

Members

-
+

nm_device_ethernet_new ()

+
GObject *           nm_device_ethernet_new              (DBusGConnection *connection,
+                                                         const char *path);
+

+Creates a new NMDeviceEthernet. +

+
---++ - - - - - - - - - - - - + - - - - + + - - + -

NM_DEVICE_ETHERNET_ERROR_UNKNOWN

-

unknown or unclassified error

-
 

NM_DEVICE_ETHERNET_ERROR_NOT_ETHERNET_CONNECTION

-

the connection was not of ethernet or PPPoE type

-
 

NM_DEVICE_ETHERNET_ERROR_INVALID_ETHERNET_CONNECTION

-

the ethernet connection was invalid

+

connection :

the DBusGConnection  

NM_DEVICE_ETHERNET_ERROR_INVALID_DEVICE_MAC

-

the device's MAC was invalid

-
 

path :

the DBus object path of the device

NM_DEVICE_ETHERNET_ERROR_MAC_MISMATCH

-

the MACs of the connection and the device mismatched

+

Returns :

a new device. [transfer full]  
-
-
-
-

NM_DEVICE_ETHERNET_ERROR

-
#define NM_DEVICE_ETHERNET_ERROR nm_device_ethernet_error_quark ()
-
-

-

-

-

NM_DEVICE_ETHERNET_HW_ADDRESS

-
#define NM_DEVICE_ETHERNET_HW_ADDRESS  "hw-address"
-
+

nm_device_ethernet_get_hw_address ()

+
const char *        nm_device_ethernet_get_hw_address   (NMDeviceEthernet *device);

+Gets the active hardware (MAC) address of the NMDeviceEthernet

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

device :

a NMDeviceEthernet +

Returns :

the active hardware address. This is the internal string used by the +device, and must not be modified.

-

NM_DEVICE_ETHERNET_PERMANENT_HW_ADDRESS

-
#define NM_DEVICE_ETHERNET_PERMANENT_HW_ADDRESS "perm-hw-address"
-
+

nm_device_ethernet_get_permanent_hw_address ()

+
const char *        nm_device_ethernet_get_permanent_hw_address
+                                                        (NMDeviceEthernet *device);

+Gets the permanent hardware (MAC) address of the NMDeviceEthernet

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

device :

a NMDeviceEthernet +

Returns :

the permanent hardware address. This is the internal string used by the +device, and must not be modified.

-

NM_DEVICE_ETHERNET_SPEED

-
#define NM_DEVICE_ETHERNET_SPEED       "speed"
-
+

nm_device_ethernet_get_speed ()

+
guint32             nm_device_ethernet_get_speed        (NMDeviceEthernet *device);

+Gets the speed of the NMDeviceEthernet.

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

device :

a NMDeviceEthernet +

Returns :

the speed of the device

-

NM_DEVICE_ETHERNET_CARRIER

-
#define NM_DEVICE_ETHERNET_CARRIER     "carrier"
-
+

nm_device_ethernet_get_carrier ()

+
gboolean            nm_device_ethernet_get_carrier      (NMDeviceEthernet *device);

+Whether the device has carrier.

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

device :

a NMDeviceEthernet +

Returns :

+TRUE if the device has carrier

Property Details

-

The “carrier” property

-
  “carrier”                  gboolean
-

Carrier.

-

Flags: Read

+

The "carrier" property

+
  "carrier"                  gboolean              : Read
+

+Whether the device has carrier. +

Default value: FALSE


-

The “hw-address” property

-
  “hw-address”               gchar *
-

Currently set hardware MAC address.

-

Flags: Read

+

The "hw-address" property

+
  "hw-address"               gchar*                : Read
+

+The active hardware (MAC) address of the device. +

Default value: NULL


-

The “perm-hw-address” property

-
  “perm-hw-address”          gchar *
-

Permanent hardware MAC address.

-

Flags: Read

+

The "perm-hw-address" property

+
  "perm-hw-address"          gchar*                : Read
+

+The permanent hardware (MAC) address of the device. +

Default value: NULL


-

The “speed” property

-
  “speed”                    guint
-

Speed.

-

Flags: Read

+

The "speed" property

+
  "speed"                    guint                 : Read
+

+The speed of the device. +

Default value: 0

+ Generated by GTK-Doc V1.19
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMDeviceGeneric.html b/docs/libnm-glib/html/NMDeviceGeneric.html new file mode 100644 index 00000000..adc23c0b --- /dev/null +++ b/docs/libnm-glib/html/NMDeviceGeneric.html @@ -0,0 +1,273 @@ + + + + +NMDeviceGeneric + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

NMDeviceGeneric

+

NMDeviceGeneric

+
+ +
+

Object Hierarchy

+
+  GObject
+   +----NMObject
+         +----NMDevice
+               +----NMDeviceGeneric
+
+
+
+

Implemented Interfaces

+

+NMDeviceGeneric implements + GInitable and GAsyncInitable.

+
+
+

Properties

+
+  "hw-address"               gchar*                : Read
+  "type-description"         gchar*                : Read
+
+
+
+

Description

+

+

+
+
+

Details

+
+

enum NMDeviceGenericError

+
typedef enum {
+	NM_DEVICE_GENERIC_ERROR_UNKNOWN = 0,            /*< nick=UnknownError >*/
+	NM_DEVICE_GENERIC_ERROR_NOT_GENERIC_CONNECTION, /*< nick=NotGenericConnection >*/
+	NM_DEVICE_GENERIC_ERROR_MISSING_INTERFACE_NAME, /*< nick=MissingInterfaceName >*/
+} NMDeviceGenericError;
+
+
++++ + + + + + + + + + + + + + + +

NM_DEVICE_GENERIC_ERROR_UNKNOWN

unknown or unclassified error +

NM_DEVICE_GENERIC_ERROR_NOT_GENERIC_CONNECTION

the connection was not of generic type +

NM_DEVICE_GENERIC_ERROR_MISSING_INTERFACE_NAME

the connection did not specify the interface name +
+
+
+
+

NM_DEVICE_GENERIC_ERROR

+
#define NM_DEVICE_GENERIC_ERROR nm_device_generic_error_quark ()
+
+

+

+
+
+
+

nm_device_generic_error_quark ()

+
GQuark              nm_device_generic_error_quark       (void);
+

+Registers an error quark for NMDeviceGeneric if necessary. +

+
++++ + + + + +

Returns :

the error quark used for NMDeviceGeneric errors.
+

Since 0.9.10

+
+
+
+

NM_DEVICE_GENERIC_HW_ADDRESS

+
#define NM_DEVICE_GENERIC_HW_ADDRESS       "hw-address"
+
+

+

+
+
+
+

NM_DEVICE_GENERIC_TYPE_DESCRIPTION

+
#define NM_DEVICE_GENERIC_TYPE_DESCRIPTION "type-description"
+
+

+

+
+
+
+

NMDeviceGeneric

+
typedef struct _NMDeviceGeneric NMDeviceGeneric;
+

+

+
+
+
+

NMDeviceGenericClass

+
typedef struct {
+	NMDeviceClass parent;
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+	void (*_reserved5) (void);
+	void (*_reserved6) (void);
+} NMDeviceGenericClass;
+
+

+

+
+
+
+

nm_device_generic_new ()

+
GObject *           nm_device_generic_new               (DBusGConnection *connection,
+                                                         const char *path);
+

+Creates a new NMDeviceGeneric. +

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

connection :

the DBusGConnection +

path :

the DBus object path of the device

Returns :

a new device. [transfer full] +
+

Since 0.9.10

+
+
+
+

nm_device_generic_get_hw_address ()

+
const char *        nm_device_generic_get_hw_address    (NMDeviceGeneric *device);
+

+Gets the hardware address of the NMDeviceGeneric +

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

device :

a NMDeviceGeneric +

Returns :

the hardware address. This is the internal string used by the +device, and must not be modified.
+

Since 0.9.10

+
+
+
+

Property Details

+
+

The "hw-address" property

+
  "hw-address"               gchar*                : Read
+

+The hardware address of the device. +

+

Default value: NULL

+
+
+
+

The "type-description" property

+
  "type-description"         gchar*                : Read
+

+A description of the specific type of device this is, or NULL +if not known. +

+

Default value: NULL

+
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-glib/html/NMDeviceInfiniband.html b/docs/libnm-glib/html/NMDeviceInfiniband.html index 03743893..e4aed60a 100644 --- a/docs/libnm-glib/html/NMDeviceInfiniband.html +++ b/docs/libnm-glib/html/NMDeviceInfiniband.html @@ -2,28 +2,36 @@ -libnm-glib Reference Manual: NMDeviceInfiniband +NMDeviceInfiniband - + - + - - - - - - - + + + + + + + + + +
@@ -31,106 +39,43 @@

NMDeviceInfiniband

NMDeviceInfiniband

- +
-
-

Functions

-
---- - - - - - - - - - - - - - - - - - - -
-GQuark - -nm_device_infiniband_error_quark () -
-GObject * - -nm_device_infiniband_new () -
const char * - -nm_device_infiniband_get_hw_address () -
-gboolean - -nm_device_infiniband_get_carrier () -
+
-

Properties

-
----- - - - - - - - - - - - - -
gbooleancarrierRead
-gchar *hw-addressRead
+

Object Hierarchy

+
+  GObject
+   +----NMObject
+         +----NMDevice
+               +----NMDeviceInfiniband
+
-

Types and Values

- +

Implemented Interfaces

+

+NMDeviceInfiniband implements + GInitable and GAsyncInitable.

-

Object Hierarchy

-
    GObject
-    ╰── NMObject
-        ╰── NMDevice
-            ╰── NMDeviceInfiniband
+

Properties

+
+  "carrier"                  gboolean              : Read
+  "hw-address"               gchar*                : Read
 
@@ -139,207 +84,225 @@

-

Functions

-
-

nm_device_infiniband_error_quark ()

-
GQuark
-nm_device_infiniband_error_quark (void);
-

Registers an error quark for NMDeviceInfiniband if necessary.

-
-

Returns

-

the error quark used for NMDeviceInfiniband errors.

-

-
-
-
+

Details

-

nm_device_infiniband_new ()

-
GObject *
-nm_device_infiniband_new (DBusGConnection *connection,
-                          const char *path);
-

Creates a new NMDeviceInfiniband.

-
-

Parameters

-
+

enum NMDeviceInfinibandError

+
typedef enum {
+	NM_DEVICE_INFINIBAND_ERROR_UNKNOWN = 0,                   /*< nick=UnknownError >*/
+	NM_DEVICE_INFINIBAND_ERROR_NOT_INFINIBAND_CONNECTION,     /*< nick=NotInfinibandConnection >*/
+	NM_DEVICE_INFINIBAND_ERROR_INVALID_INFINIBAND_CONNECTION, /*< nick=InvalidInfinibandConnection >*/
+	NM_DEVICE_INFINIBAND_ERROR_INVALID_DEVICE_MAC,            /*< nick=InvalidDeviceMac >*/
+	NM_DEVICE_INFINIBAND_ERROR_MAC_MISMATCH,                  /*< nick=MacMismatch >*/
+} NMDeviceInfinibandError;
+
+
---++ - - - + + + + + + + + + + - - - + + + + + +

connection

the DBusGConnection

 

NM_DEVICE_INFINIBAND_ERROR_UNKNOWN

unknown or unclassified error +

NM_DEVICE_INFINIBAND_ERROR_NOT_INFINIBAND_CONNECTION

the connection was not of InfiniBand type +

NM_DEVICE_INFINIBAND_ERROR_INVALID_INFINIBAND_CONNECTION

the InfiniBand connection was invalid +

path

the DBus object path of the device

 

NM_DEVICE_INFINIBAND_ERROR_INVALID_DEVICE_MAC

the device's MAC was invalid +

NM_DEVICE_INFINIBAND_ERROR_MAC_MISMATCH

the MACs of the connection and the device mismatched +
-
-

Returns

-

a new device.

-

[transfer full]

-
+
+
+

NM_DEVICE_INFINIBAND_ERROR

+
#define NM_DEVICE_INFINIBAND_ERROR nm_device_infiniband_error_quark ()
+
+

+


-

nm_device_infiniband_get_hw_address ()

-
const char *
-nm_device_infiniband_get_hw_address (NMDeviceInfiniband *device);
-

Gets the hardware (MAC) address of the NMDeviceInfiniband

-
-

Parameters

-
+

nm_device_infiniband_error_quark ()

+
GQuark              nm_device_infiniband_error_quark    (void);
+

+Registers an error quark for NMDeviceInfiniband if necessary. +

+
---++ - - - + +

device

a NMDeviceInfiniband

 

Returns :

the error quark used for NMDeviceInfiniband errors.
-
-

Returns

-

the hardware address. This is the internal string used by the -device, and must not be modified.

-

-
-

-

nm_device_infiniband_get_carrier ()

-
gboolean
-nm_device_infiniband_get_carrier (NMDeviceInfiniband *device);
-

Whether the device has carrier.

-
-

Parameters

-
----- - - - - - -

device

a NMDeviceInfiniband

 
+

NM_DEVICE_INFINIBAND_HW_ADDRESS

+
#define NM_DEVICE_INFINIBAND_HW_ADDRESS  "hw-address"
+
+

+

-
-

Returns

-

TRUE if the device has carrier

-

+
+
+

NM_DEVICE_INFINIBAND_CARRIER

+
#define NM_DEVICE_INFINIBAND_CARRIER     "carrier"
+
+

+

+
+
+

NMDeviceInfiniband

+
typedef struct _NMDeviceInfiniband NMDeviceInfiniband;
+

+

+
+
+

NMDeviceInfinibandClass

+
typedef struct {
+	NMDeviceClass parent;
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+	void (*_reserved5) (void);
+	void (*_reserved6) (void);
+} NMDeviceInfinibandClass;
+
+

+

-
-

Types and Values

+
-

enum NMDeviceInfinibandError

-
-

Members

-
+

nm_device_infiniband_new ()

+
GObject *           nm_device_infiniband_new            (DBusGConnection *connection,
+                                                         const char *path);
+

+Creates a new NMDeviceInfiniband. +

+
---++ - - - - - - - + - - - - - - - - - + + - - + -

NM_DEVICE_INFINIBAND_ERROR_UNKNOWN

-

unknown or unclassified error

-
 

NM_DEVICE_INFINIBAND_ERROR_NOT_INFINIBAND_CONNECTION

-

the connection was not of InfiniBand type

+

connection :

the DBusGConnection  

NM_DEVICE_INFINIBAND_ERROR_INVALID_INFINIBAND_CONNECTION

-

the InfiniBand connection was invalid

-
 

NM_DEVICE_INFINIBAND_ERROR_INVALID_DEVICE_MAC

-

the device's MAC was invalid

-
 

path :

the DBus object path of the device

NM_DEVICE_INFINIBAND_ERROR_MAC_MISMATCH

-

the MACs of the connection and the device mismatched

+

Returns :

a new device. [transfer full]  
-
-
-
-

NM_DEVICE_INFINIBAND_ERROR

-
#define NM_DEVICE_INFINIBAND_ERROR nm_device_infiniband_error_quark ()
-
-

-

-

-

NM_DEVICE_INFINIBAND_HW_ADDRESS

-
#define NM_DEVICE_INFINIBAND_HW_ADDRESS  "hw-address"
-
+

nm_device_infiniband_get_hw_address ()

+
const char *        nm_device_infiniband_get_hw_address (NMDeviceInfiniband *device);

+Gets the hardware (MAC) address of the NMDeviceInfiniband

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

device :

a NMDeviceInfiniband +

Returns :

the hardware address. This is the internal string used by the +device, and must not be modified.

-

NM_DEVICE_INFINIBAND_CARRIER

-
#define NM_DEVICE_INFINIBAND_CARRIER     "carrier"
-
+

nm_device_infiniband_get_carrier ()

+
gboolean            nm_device_infiniband_get_carrier    (NMDeviceInfiniband *device);

+Whether the device has carrier.

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

device :

a NMDeviceInfiniband +

Returns :

+TRUE if the device has carrier

Property Details

-

The “carrier” property

-
  “carrier”                  gboolean
-

Carrier.

-

Flags: Read

+

The "carrier" property

+
  "carrier"                  gboolean              : Read
+

+Whether the device has carrier. +

Default value: FALSE


-

The “hw-address” property

-
  “hw-address”               gchar *
-

Currently set hardware MAC address.

-

Flags: Read

+

The "hw-address" property

+
  "hw-address"               gchar*                : Read
+

+The hardware (MAC) address of the device. +

Default value: NULL

+ Generated by GTK-Doc V1.19
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMDeviceModem.html b/docs/libnm-glib/html/NMDeviceModem.html index bf7038a8..d5fb1cdf 100644 --- a/docs/libnm-glib/html/NMDeviceModem.html +++ b/docs/libnm-glib/html/NMDeviceModem.html @@ -2,28 +2,36 @@ -libnm-glib Reference Manual: NMDeviceModem +NMDeviceModem - + - - - - - - - + + + + + + + + + +
@@ -31,98 +39,43 @@

NMDeviceModem

NMDeviceModem

- +
-
-

Functions

-
---- - - - - - - - - - - - - - - -
-GQuark - -nm_device_modem_error_quark () -
-NMDeviceModemCapabilities - -nm_device_modem_get_modem_capabilities () -
-NMDeviceModemCapabilities - -nm_device_modem_get_current_capabilities () -
+
-

Properties

-
----- - - - - - - - - - - - - -
guintcurrent-capabilitiesRead
guintmodem-capabilitiesRead
+

Object Hierarchy

+
+  GObject
+   +----NMObject
+         +----NMDevice
+               +----NMDeviceModem
+
-

Types and Values

- +

Implemented Interfaces

+

+NMDeviceModem implements + GInitable and GAsyncInitable.

-

Object Hierarchy

-
    GObject
-    ╰── NMObject
-        ╰── NMDevice
-            ╰── NMDeviceModem
+

Properties

+
+  "current-capabilities"     guint                 : Read
+  "modem-capabilities"       guint                 : Read
 
@@ -131,125 +84,45 @@

-

Functions

-
-

nm_device_modem_error_quark ()

-
GQuark
-nm_device_modem_error_quark (void);
-

Registers an error quark for NMDeviceModem if necessary.

-
-

Returns

-

the error quark used for NMDeviceModem errors.

-

-
-
-
-
-

nm_device_modem_get_modem_capabilities ()

-
NMDeviceModemCapabilities
-nm_device_modem_get_modem_capabilities
-                               (NMDeviceModem *self);
-

Returns a bitfield of the generic access technology families the modem -supports. Not all capabilities are available concurrently however; some -may require a firmware reload or reinitialization.

-
-

Parameters

-
----- - - - - - -

self

a NMDeviceModem

 
-
-
-

Returns

-

the generic access technology families the modem supports

-

-
-
-
-
-

nm_device_modem_get_current_capabilities ()

-
NMDeviceModemCapabilities
-nm_device_modem_get_current_capabilities
-                               (NMDeviceModem *self);
-

Returns a bitfield of the generic access technology families the modem -supports without a firmware reload or reinitialization. This value -represents the network types the modem can immediately connect to.

-
-

Parameters

-
----- - - - - - -

self

a NMDeviceModem

 
-
-
-

Returns

-

the generic access technology families the modem supports without -a firmware reload or other reinitialization

-

-
-
-
-
-

Types and Values

+

Details

enum NMDeviceModemError

-
-

Members

-
+
typedef enum {
+	NM_DEVICE_MODEM_ERROR_UNKNOWN = 0,              /*< nick=UnknownError >*/
+	NM_DEVICE_MODEM_ERROR_NOT_MODEM_CONNECTION,     /*< nick=NotModemConnection >*/
+	NM_DEVICE_MODEM_ERROR_INVALID_MODEM_CONNECTION, /*< nick=InvalidModemConnection >*/
+	NM_DEVICE_MODEM_ERROR_MISSING_DEVICE_CAPS,      /*< nick=MissingDeviceCaps >*/
+} NMDeviceModemError;
+
+
---++ - - + - - - + - - - + - - - + -

NM_DEVICE_MODEM_ERROR_UNKNOWN

-

unknown or unclassified error

+

NM_DEVICE_MODEM_ERROR_UNKNOWN

unknown or unclassified error  

NM_DEVICE_MODEM_ERROR_NOT_MODEM_CONNECTION

-

the connection was not of modem type

+

NM_DEVICE_MODEM_ERROR_NOT_MODEM_CONNECTION

the connection was not of modem type  

NM_DEVICE_MODEM_ERROR_INVALID_MODEM_CONNECTION

-

the modem connection was invalid

+

NM_DEVICE_MODEM_ERROR_INVALID_MODEM_CONNECTION

the modem connection was invalid  

NM_DEVICE_MODEM_ERROR_MISSING_DEVICE_CAPS

-

the device missed required capabilities

+

NM_DEVICE_MODEM_ERROR_MISSING_DEVICE_CAPS

the device missed required capabilities  
-

NM_DEVICE_MODEM_ERROR

@@ -260,6 +133,24 @@ a firmware reload or other reinitialization


+

nm_device_modem_error_quark ()

+
GQuark              nm_device_modem_error_quark         (void);
+

+Registers an error quark for NMDeviceModem if necessary. +

+
++++ + + + + +

Returns :

the error quark used for NMDeviceModem errors.
+
+
+

NM_DEVICE_MODEM_MODEM_CAPABILITIES

#define NM_DEVICE_MODEM_MODEM_CAPABILITIES   "modem-capabilities"
 
@@ -274,28 +165,116 @@ a firmware reload or other reinitialization

+
+
+

NMDeviceModem

+
typedef struct _NMDeviceModem NMDeviceModem;
+

+

+
+
+
+

NMDeviceModemClass

+
typedef struct {
+	NMDeviceClass parent;
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+	void (*_reserved5) (void);
+	void (*_reserved6) (void);
+} NMDeviceModemClass;
+
+

+

+
+
+
+

nm_device_modem_get_modem_capabilities ()

+
NMDeviceModemCapabilities nm_device_modem_get_modem_capabilities
+                                                        (NMDeviceModem *self);
+

+Returns a bitfield of the generic access technology families the modem +supports. Not all capabilities are available concurrently however; some +may require a firmware reload or reinitialization. +

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

self :

a NMDeviceModem +

Returns :

the generic access technology families the modem supports
+
+
+
+

nm_device_modem_get_current_capabilities ()

+
NMDeviceModemCapabilities nm_device_modem_get_current_capabilities
+                                                        (NMDeviceModem *self);
+

+Returns a bitfield of the generic access technology families the modem +supports without a firmware reload or reinitialization. This value +represents the network types the modem can immediately connect to. +

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

self :

a NMDeviceModem +

Returns :

the generic access technology families the modem supports without +a firmware reload or other reinitialization
+

Property Details

-

The “current-capabilities” property

-
  “current-capabilities”     guint
-

Current capabilities.

-

Flags: Read

+

The "current-capabilities" property

+
  "current-capabilities"     guint                 : Read
+

+The generic family of access technologies the modem currently supports +without a firmware reload or reinitialization. +

Default value: 0


-

The “modem-capabilities” property

-
  “modem-capabilities”       guint
-

Modem capabilities.

-

Flags: Read

+

The "modem-capabilities" property

+
  "modem-capabilities"       guint                 : Read
+

+The generic family of access technologies the modem supports. Not all +capabilities are available at the same time however; some modems require +a firmware reload or other reinitialization to switch between eg +CDMA/EVDO and GSM/UMTS. +

Default value: 0

+ Generated by GTK-Doc V1.19
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMDeviceOlpcMesh.html b/docs/libnm-glib/html/NMDeviceOlpcMesh.html index 8fc759f1..482b949b 100644 --- a/docs/libnm-glib/html/NMDeviceOlpcMesh.html +++ b/docs/libnm-glib/html/NMDeviceOlpcMesh.html @@ -2,28 +2,36 @@ -libnm-glib Reference Manual: NMDeviceOlpcMesh +NMDeviceOlpcMesh - + - - - - - - - + + + + + + + + + +
@@ -31,124 +39,47 @@

NMDeviceOlpcMesh

NMDeviceOlpcMesh

- +
-
-

Functions

-
---- - - - - - - - - - - - - - - - - - - - - - - -
-GQuark - -nm_device_olpc_mesh_error_quark () -
-GObject * - -nm_device_olpc_mesh_new () -
const char * - -nm_device_olpc_mesh_get_hw_address () -
-NMDeviceWifi * - -nm_device_olpc_mesh_get_companion () -
-guint32 - -nm_device_olpc_mesh_get_active_channel () -
+
-

Properties

-
----- - - - - - - - - - - - - - - - - - -
guintactive-channelRead
-NMDeviceWifi *companionRead
-gchar *hw-addressRead
+

Object Hierarchy

+
+  GObject
+   +----NMObject
+         +----NMDevice
+               +----NMDeviceOlpcMesh
+
-

Types and Values

- +

Implemented Interfaces

+

+NMDeviceOlpcMesh implements + GInitable and GAsyncInitable.

-

Object Hierarchy

-
    GObject
-    ╰── NMObject
-        ╰── NMDevice
-            ╰── NMDeviceOlpcMesh
+

Properties

+
+  "active-channel"           guint                 : Read
+  "companion"                NMDeviceWifi*         : Read
+  "hw-address"               gchar*                : Read
 
@@ -157,236 +88,255 @@

-

Functions

+

Details

-

nm_device_olpc_mesh_error_quark ()

-
GQuark
-nm_device_olpc_mesh_error_quark (void);
-

Registers an error quark for NMDeviceOlpcMesh if necessary.

-
-

Returns

-

the error quark used for NMDeviceOlpcMesh errors.

-

-
-
-
-
-

nm_device_olpc_mesh_new ()

-
GObject *
-nm_device_olpc_mesh_new (DBusGConnection *connection,
-                         const char *path);
-

Creates a new NMDeviceOlpcMesh.

-
-

Parameters

-
+

enum NMDeviceOlpcMeshError

+
typedef enum {
+	NM_DEVICE_OLPC_MESH_ERROR_UNKNOWN = 0,                  /*< nick=UnknownError >*/
+	NM_DEVICE_OLPC_MESH_ERROR_NOT_OLPC_MESH_CONNECTION,     /*< nick=NotOlpcMeshConnection >*/
+	NM_DEVICE_OLPC_MESH_ERROR_INVALID_OLPC_MESH_CONNECTION, /*< nick=InvalidOlpcMeshConnection >*/
+} NMDeviceOlpcMeshError;
+
+
---++ - - - + + + + + + - - - + +

connection

the DBusGConnection

 

NM_DEVICE_OLPC_MESH_ERROR_UNKNOWN

unknown or unclassified error +

NM_DEVICE_OLPC_MESH_ERROR_NOT_OLPC_MESH_CONNECTION

the connection was not of Olpc Mesh type +

path

the DBus object path of the device

 

NM_DEVICE_OLPC_MESH_ERROR_INVALID_OLPC_MESH_CONNECTION

the Olpc Mesh connection was invalid +
-
-

Returns

-

a new OlpcMesh device.

-

[transfer full]

-
-

-

nm_device_olpc_mesh_get_hw_address ()

-
const char *
-nm_device_olpc_mesh_get_hw_address (NMDeviceOlpcMesh *device);
-

Gets the hardware (MAC) address of the NMDeviceOlpcMesh

-
-

Parameters

-
----- - - - - - -

device

a NMDeviceOlpcMesh

 
-
-
-

Returns

-

the hardware address. This is the internal string used by the -device, and must not be modified.

-

-
+

NM_DEVICE_OLPC_MESH_ERROR

+
#define NM_DEVICE_OLPC_MESH_ERROR nm_device_olpc_mesh_error_quark ()
+
+

+


-

nm_device_olpc_mesh_get_companion ()

-
NMDeviceWifi *
-nm_device_olpc_mesh_get_companion (NMDeviceOlpcMesh *device);
-

Gets the companion device of the NMDeviceOlpcMesh.

-
-

Parameters

-
+

nm_device_olpc_mesh_error_quark ()

+
GQuark              nm_device_olpc_mesh_error_quark     (void);
+

+Registers an error quark for NMDeviceOlpcMesh if necessary. +

+
---++ - - - + +

device

a NMDeviceOlpcMesh

 

Returns :

the error quark used for NMDeviceOlpcMesh errors.
-
-

Returns

-

the companion of the device of NULL.

-

[transfer none]

-
+
+
+

NM_DEVICE_OLPC_MESH_HW_ADDRESS

+
#define NM_DEVICE_OLPC_MESH_HW_ADDRESS     "hw-address"
+
+

+


-

nm_device_olpc_mesh_get_active_channel ()

-
guint32
-nm_device_olpc_mesh_get_active_channel
-                               (NMDeviceOlpcMesh *device);
-

Returns the active channel of the NMDeviceOlpcMesh device.

-
-

Parameters

-
----- - - - - - -

device

a NMDeviceOlpcMesh

 
+

NM_DEVICE_OLPC_MESH_COMPANION

+
#define NM_DEVICE_OLPC_MESH_COMPANION      "companion"
+
+

+

-
-

Returns

-

active channel of the device

-

+
+
+

NM_DEVICE_OLPC_MESH_ACTIVE_CHANNEL

+
#define NM_DEVICE_OLPC_MESH_ACTIVE_CHANNEL "active-channel"
+
+

+

+
+
+

NMDeviceOlpcMesh

+
typedef struct _NMDeviceOlpcMesh NMDeviceOlpcMesh;
+

+

+
+
+

NMDeviceOlpcMeshClass

+
typedef struct {
+	NMDeviceClass parent;
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+	void (*_reserved5) (void);
+	void (*_reserved6) (void);
+} NMDeviceOlpcMeshClass;
+
+

+

-
-

Types and Values

+
-

enum NMDeviceOlpcMeshError

-
-

Members

-
+

nm_device_olpc_mesh_new ()

+
GObject *           nm_device_olpc_mesh_new             (DBusGConnection *connection,
+                                                         const char *path);
+

+Creates a new NMDeviceOlpcMesh. +

+
---++ - - + - - - - + + - - + -

NM_DEVICE_OLPC_MESH_ERROR_UNKNOWN

-

unknown or unclassified error

+

connection :

the DBusGConnection  

NM_DEVICE_OLPC_MESH_ERROR_NOT_OLPC_MESH_CONNECTION

-

the connection was not of Olpc Mesh type

-
 

path :

the DBus object path of the device

NM_DEVICE_OLPC_MESH_ERROR_INVALID_OLPC_MESH_CONNECTION

-

the Olpc Mesh connection was invalid

+

Returns :

a new OlpcMesh device. [transfer full]  
-

-

NM_DEVICE_OLPC_MESH_ERROR

-
#define NM_DEVICE_OLPC_MESH_ERROR nm_device_olpc_mesh_error_quark ()
-
-

-

-
-
-
-

NM_DEVICE_OLPC_MESH_HW_ADDRESS

-
#define NM_DEVICE_OLPC_MESH_HW_ADDRESS     "hw-address"
-
+

nm_device_olpc_mesh_get_hw_address ()

+
const char *        nm_device_olpc_mesh_get_hw_address  (NMDeviceOlpcMesh *device);

+Gets the hardware (MAC) address of the NMDeviceOlpcMesh

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

device :

a NMDeviceOlpcMesh +

Returns :

the hardware address. This is the internal string used by the +device, and must not be modified.

-

NM_DEVICE_OLPC_MESH_COMPANION

-
#define NM_DEVICE_OLPC_MESH_COMPANION      "companion"
-
+

nm_device_olpc_mesh_get_companion ()

+
NMDeviceWifi *      nm_device_olpc_mesh_get_companion   (NMDeviceOlpcMesh *device);

+Gets the companion device of the NMDeviceOlpcMesh.

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

device :

a NMDeviceOlpcMesh +

Returns :

the companion of the device of NULL. [transfer none] +

-

NM_DEVICE_OLPC_MESH_ACTIVE_CHANNEL

-
#define NM_DEVICE_OLPC_MESH_ACTIVE_CHANNEL "active-channel"
-
+

nm_device_olpc_mesh_get_active_channel ()

+
guint32             nm_device_olpc_mesh_get_active_channel
+                                                        (NMDeviceOlpcMesh *device);

+Returns the active channel of the NMDeviceOlpcMesh device.

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

device :

a NMDeviceOlpcMesh +

Returns :

active channel of the device

Property Details

-

The “active-channel” property

-
  “active-channel”           guint
-

Active channel.

-

Flags: Read

+

The "active-channel" property

+
  "active-channel"           guint                 : Read
+

+The device's active channel. +

Default value: 0


-

The “companion” property

-
  “companion”                NMDeviceWifi *
-

Companion device.

-

Flags: Read

+

The "companion" property

+
  "companion"                NMDeviceWifi*         : Read
+

+The companion device. +


-

The “hw-address” property

-
  “hw-address”               gchar *
-

Hardware MAC address.

-

Flags: Read

+

The "hw-address" property

+
  "hw-address"               gchar*                : Read
+

+The hardware (MAC) address of the device. +

Default value: NULL

+ Generated by GTK-Doc V1.19
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMDeviceTeam.html b/docs/libnm-glib/html/NMDeviceTeam.html new file mode 100644 index 00000000..4557c4b9 --- /dev/null +++ b/docs/libnm-glib/html/NMDeviceTeam.html @@ -0,0 +1,354 @@ + + + + +NMDeviceTeam + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

NMDeviceTeam

+

NMDeviceTeam

+
+ +
+

Object Hierarchy

+
+  GObject
+   +----NMObject
+         +----NMDevice
+               +----NMDeviceTeam
+
+
+
+

Implemented Interfaces

+

+NMDeviceTeam implements + GInitable and GAsyncInitable.

+
+
+

Properties

+
+  "carrier"                  gboolean              : Read
+  "hw-address"               gchar*                : Read
+  "slaves"                   NMObjectArray*        : Read
+
+
+
+

Description

+

+

+
+
+

Details

+
+

enum NMDeviceTeamError

+
typedef enum {
+	NM_DEVICE_TEAM_ERROR_UNKNOWN = 0,             /*< nick=UnknownError >*/
+	NM_DEVICE_TEAM_ERROR_NOT_TEAM_CONNECTION,     /*< nick=NotTeamConnection >*/
+	NM_DEVICE_TEAM_ERROR_INVALID_TEAM_CONNECTION, /*< nick=InvalidTeamConnection >*/
+	NM_DEVICE_TEAM_ERROR_INTERFACE_MISMATCH,      /*< nick=InterfaceMismatch >*/
+} NMDeviceTeamError;
+
+
++++ + + + + + + + + + + + + + + + + + + +

NM_DEVICE_TEAM_ERROR_UNKNOWN

unknown or unclassified error +

NM_DEVICE_TEAM_ERROR_NOT_TEAM_CONNECTION

the connection was not of team type +

NM_DEVICE_TEAM_ERROR_INVALID_TEAM_CONNECTION

the team connection was invalid +

NM_DEVICE_TEAM_ERROR_INTERFACE_MISMATCH

the interfaces of the connection and the device mismatched +
+
+
+
+

NM_DEVICE_TEAM_ERROR

+
#define NM_DEVICE_TEAM_ERROR nm_device_team_error_quark ()
+
+

+

+
+
+
+

nm_device_team_error_quark ()

+
GQuark              nm_device_team_error_quark          (void);
+

+Registers an error quark for NMDeviceTeam if necessary. +

+
++++ + + + + +

Returns :

the error quark used for NMDeviceTeam errors.
+

Since 0.9.10

+
+
+
+

NM_DEVICE_TEAM_HW_ADDRESS

+
#define NM_DEVICE_TEAM_HW_ADDRESS  "hw-address"
+
+

+

+
+
+
+

NM_DEVICE_TEAM_CARRIER

+
#define NM_DEVICE_TEAM_CARRIER     "carrier"
+
+

+

+
+
+
+

NM_DEVICE_TEAM_SLAVES

+
#define NM_DEVICE_TEAM_SLAVES      "slaves"
+
+

+

+
+
+
+

NMDeviceTeam

+
typedef struct _NMDeviceTeam NMDeviceTeam;
+

+

+
+
+
+

NMDeviceTeamClass

+
typedef struct {
+	NMDeviceClass parent;
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+	void (*_reserved5) (void);
+	void (*_reserved6) (void);
+} NMDeviceTeamClass;
+
+

+

+
+
+
+

nm_device_team_new ()

+
GObject *           nm_device_team_new                  (DBusGConnection *connection,
+                                                         const char *path);
+

+Creates a new NMDeviceTeam. +

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

connection :

the DBusGConnection +

path :

the DBus object path of the device

Returns :

a new device. [transfer full] +
+

Since 0.9.10

+
+
+
+

nm_device_team_get_hw_address ()

+
const char *        nm_device_team_get_hw_address       (NMDeviceTeam *device);
+

+Gets the hardware (MAC) address of the NMDeviceTeam +

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

device :

a NMDeviceTeam +

Returns :

the hardware address. This is the internal string used by the +device, and must not be modified.
+

Since 0.9.10

+
+
+
+

nm_device_team_get_carrier ()

+
gboolean            nm_device_team_get_carrier          (NMDeviceTeam *device);
+

+Whether the device has carrier. +

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

device :

a NMDeviceTeam +

Returns :

+TRUE if the device has carrier
+

Since 0.9.10

+
+
+
+

nm_device_team_get_slaves ()

+
const GPtrArray *   nm_device_team_get_slaves           (NMDeviceTeam *device);
+

+Gets the devices currently enslaved to device. +

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

device :

a NMDeviceTeam +

Returns :

the GPtrArray containing +NMDevices that are slaves of device. This is the internal +copy used by the device, and must not be modified. [element-type NMClient.Device] +
+

Since 0.9.10

+
+
+
+

Property Details

+
+

The "carrier" property

+
  "carrier"                  gboolean              : Read
+

+Whether the device has carrier. +

+

Default value: FALSE

+
+
+
+

The "hw-address" property

+
  "hw-address"               gchar*                : Read
+

+The hardware (MAC) address of the device. +

+

Default value: NULL

+
+
+
+

The "slaves" property

+
  "slaves"                   NMObjectArray*        : Read
+

+The devices (NMDevice) enslaved to the team device. +

+
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-glib/html/NMDeviceVlan.html b/docs/libnm-glib/html/NMDeviceVlan.html index b7952355..89e4a9ce 100644 --- a/docs/libnm-glib/html/NMDeviceVlan.html +++ b/docs/libnm-glib/html/NMDeviceVlan.html @@ -2,28 +2,36 @@ -libnm-glib Reference Manual: NMDeviceVlan +NMDeviceVlan - + - - - - - - - + + + + + + + + + +
@@ -31,368 +39,312 @@

NMDeviceVlan

NMDeviceVlan

- +
+ +
+

Object Hierarchy

+
+  GObject
+   +----NMObject
+         +----NMDevice
+               +----NMDeviceVlan
+
+
+
+

Implemented Interfaces

+

+NMDeviceVlan implements + GInitable and GAsyncInitable.

+
+
+

Properties

+
+  "carrier"                  gboolean              : Read
+  "hw-address"               gchar*                : Read
+  "vlan-id"                  guint                 : Read
+
+
+
+

Description

+

+

+
-

Functions

-
+

Details

+
+

enum NMDeviceVlanError

+
typedef enum {
+	NM_DEVICE_VLAN_ERROR_UNKNOWN = 0,             /*< nick=UnknownError >*/
+	NM_DEVICE_VLAN_ERROR_NOT_VLAN_CONNECTION,     /*< nick=NotVlanConnection >*/
+	NM_DEVICE_VLAN_ERROR_INVALID_VLAN_CONNECTION, /*< nick=InvalidVlanConnection >*/
+	NM_DEVICE_VLAN_ERROR_ID_MISMATCH,             /*< nick=IdMismatch >*/
+	NM_DEVICE_VLAN_ERROR_INTERFACE_MISMATCH,      /*< nick=InterfaceMismatch >*/
+	NM_DEVICE_VLAN_ERROR_MAC_MISMATCH,            /*< nick=MacMismatch >*/
+} NMDeviceVlanError;
+
+
--++ - - + - - + - - + - - + - + - - - -
-GQuark - -nm_device_vlan_error_quark () +

NM_DEVICE_VLAN_ERROR_UNKNOWN

unknown or unclassified error
-GObject * - -nm_device_vlan_new () +

NM_DEVICE_VLAN_ERROR_NOT_VLAN_CONNECTION

the connection was not of VLAN type
const char * - -nm_device_vlan_get_hw_address () +

NM_DEVICE_VLAN_ERROR_INVALID_VLAN_CONNECTION

the VLAN connection was invalid
-gboolean - -nm_device_vlan_get_carrier () +

NM_DEVICE_VLAN_ERROR_ID_MISMATCH

the VLAN identifiers of the connection and the device mismatched
-guint +

NM_DEVICE_VLAN_ERROR_INTERFACE_MISMATCH

the interfaces of the connection and the device mismatched -nm_device_vlan_get_vlan_id () -
-
-
-

Properties

-
----- - - - - - - - - - - - - - + +
gbooleancarrierRead
-gchar *hw-addressRead
guintvlan-idRead

NM_DEVICE_VLAN_ERROR_MAC_MISMATCH

the MACs of the connection and the device mismatched +
-
-

Types and Values

-
+
+
+

NM_DEVICE_VLAN_ERROR

+
#define NM_DEVICE_VLAN_ERROR nm_device_vlan_error_quark ()
+
+

+

+
+
+
+

nm_device_vlan_error_quark ()

+
GQuark              nm_device_vlan_error_quark          (void);
+

+Registers an error quark for NMDeviceVlan if necessary. +

+
--++ - - - - - - - - - - - - - - - - - - - - - - + + + +
enumNMDeviceVlanError
#defineNM_DEVICE_VLAN_ERROR
#defineNM_DEVICE_VLAN_HW_ADDRESS
#defineNM_DEVICE_VLAN_CARRIER
#defineNM_DEVICE_VLAN_VLAN_ID

Returns :

the error quark used for NMDeviceVlan errors.
-
-

Object Hierarchy

-
    GObject
-    ╰── NMObject
-        ╰── NMDevice
-            ╰── NMDeviceVlan
+
+
+

NM_DEVICE_VLAN_HW_ADDRESS

+
#define NM_DEVICE_VLAN_HW_ADDRESS  "hw-address"
 
+

+

-
-

Description

+
+
+

NM_DEVICE_VLAN_CARRIER

+
#define NM_DEVICE_VLAN_CARRIER     "carrier"
+

-
-

Functions

+
-

nm_device_vlan_error_quark ()

-
GQuark
-nm_device_vlan_error_quark (void);
-

Registers an error quark for NMDeviceVlan if necessary.

-
-

Returns

-

the error quark used for NMDeviceVlan errors.

-

+

NM_DEVICE_VLAN_VLAN_ID

+
#define NM_DEVICE_VLAN_VLAN_ID     "vlan-id"
+
+

+

+
+
+

NMDeviceVlan

+
typedef struct _NMDeviceVlan NMDeviceVlan;
+

+


-

nm_device_vlan_new ()

-
GObject *
-nm_device_vlan_new (DBusGConnection *connection,
-                    const char *path);
-

Creates a new NMDeviceVlan.

-
-

Parameters

-
+

NMDeviceVlanClass

+
typedef struct {
+	NMDeviceClass parent;
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+	void (*_reserved5) (void);
+	void (*_reserved6) (void);
+} NMDeviceVlanClass;
+
+

+

+ +
+
+

nm_device_vlan_new ()

+
GObject *           nm_device_vlan_new                  (DBusGConnection *connection,
+                                                         const char *path);
+

+Creates a new NMDeviceVlan. +

+
---++ - - - + + + + + + - - - + +

connection

the DBusGConnection

 

connection :

the DBusGConnection +

path :

the DBus object path of the device

path

the DBus object path of the device

 

Returns :

a new device. [transfer full] +
-
-

Returns

-

a new device.

-

[transfer full]

-
-

-

nm_device_vlan_get_hw_address ()

-
const char *
-nm_device_vlan_get_hw_address (NMDeviceVlan *device);
-

Gets the hardware (MAC) address of the NMDeviceVlan

-
-

Parameters

-
+

nm_device_vlan_get_hw_address ()

+
const char *        nm_device_vlan_get_hw_address       (NMDeviceVlan *device);
+

+Gets the hardware (MAC) address of the NMDeviceVlan +

+
---++ - - - - - + + + + + + + + + +

device

a NMDeviceVlan

 

device :

a NMDeviceVlan +

Returns :

the hardware address. This is the internal string used by the +device, and must not be modified.
-
-

Returns

-

the hardware address. This is the internal string used by the -device, and must not be modified.

-

-
-

-

nm_device_vlan_get_carrier ()

-
gboolean
-nm_device_vlan_get_carrier (NMDeviceVlan *device);
-

Whether the device has carrier.

-
-

Parameters

-
+

nm_device_vlan_get_carrier ()

+
gboolean            nm_device_vlan_get_carrier          (NMDeviceVlan *device);
+

+Whether the device has carrier. +

+
---++ - - - - - + + + + + + + + + +

device

a NMDeviceVlan

 

device :

a NMDeviceVlan +

Returns :

+TRUE if the device has carrier
-
-

Returns

-

TRUE if the device has carrier

-

-
-

-

nm_device_vlan_get_vlan_id ()

-
guint
-nm_device_vlan_get_vlan_id (NMDeviceVlan *device);
-
-

Parameters

-
+

nm_device_vlan_get_vlan_id ()

+
guint               nm_device_vlan_get_vlan_id          (NMDeviceVlan *device);
+
---- - - - - - -

device

a NMDeviceVlan

 
-
-
-

Returns

-

the device's VLAN ID

-

-
-
-
-
-

Types and Values

-
-

enum NMDeviceVlanError

-
-

Members

-
----++ - - - - - - - - - - - - - - - - - + - - - - + +

NM_DEVICE_VLAN_ERROR_UNKNOWN

-

unknown or unclassified error

-
 

NM_DEVICE_VLAN_ERROR_NOT_VLAN_CONNECTION

-

the connection was not of VLAN type

-
 

NM_DEVICE_VLAN_ERROR_INVALID_VLAN_CONNECTION

-

the VLAN connection was invalid

-
 

NM_DEVICE_VLAN_ERROR_ID_MISMATCH

-

the VLAN identifiers of the connection and the device mismatched

+

device :

a NMDeviceVlan  

NM_DEVICE_VLAN_ERROR_INTERFACE_MISMATCH

-

the interfaces of the connection and the device mismatched

-
 

Returns :

the device's VLAN ID
-
+
+

Property Details

-

NM_DEVICE_VLAN_ERROR

-
#define NM_DEVICE_VLAN_ERROR nm_device_vlan_error_quark ()
-
-

-

-
-
-
-

NM_DEVICE_VLAN_HW_ADDRESS

-
#define NM_DEVICE_VLAN_HW_ADDRESS  "hw-address"
-
+

The "carrier" property

+
  "carrier"                  gboolean              : Read

+Whether the device has carrier.

+

Default value: FALSE


-

NM_DEVICE_VLAN_CARRIER

-
#define NM_DEVICE_VLAN_CARRIER     "carrier"
-
+

The "hw-address" property

+
  "hw-address"               gchar*                : Read

+The hardware (MAC) address of the device.

+

Default value: NULL


-

NM_DEVICE_VLAN_VLAN_ID

-
#define NM_DEVICE_VLAN_VLAN_ID     "vlan-id"
-
+

The "vlan-id" property

+
  "vlan-id"                  guint                 : Read

+The device's VLAN ID.

-
-
-
-

Property Details

-
-

The “carrier” property

-
  “carrier”                  gboolean
-

Carrier.

-

Flags: Read

-

Default value: FALSE

-
-
-
-

The “hw-address” property

-
  “hw-address”               gchar *
-

Currently set hardware MAC address.

-

Flags: Read

-

Default value: NULL

-
-
-
-

The “vlan-id” property

-
  “vlan-id”                  guint
-

VLAN ID.

-

Flags: Read

Allowed values: <= 4095

Default value: 0

@@ -400,6 +352,6 @@ nm_device_vlan_get_vlan_id (
- Generated by GTK-Doc V1.20
+ Generated by GTK-Doc V1.19
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMDeviceWifi.html b/docs/libnm-glib/html/NMDeviceWifi.html index 61d0228b..63492658 100644 --- a/docs/libnm-glib/html/NMDeviceWifi.html +++ b/docs/libnm-glib/html/NMDeviceWifi.html @@ -2,29 +2,38 @@ -libnm-glib Reference Manual: NMDeviceWifi +NMDeviceWifi - + - - - - - - - + + + + + + + + + +
@@ -32,762 +41,678 @@

NMDeviceWifi

NMDeviceWifi

- +
+
-

Functions

-
---- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-GQuark - -nm_device_wifi_error_quark () -
-GObject * - -nm_device_wifi_new () -
const char * - -nm_device_wifi_get_hw_address () -
const char * - -nm_device_wifi_get_permanent_hw_address () -
-NM80211Mode - -nm_device_wifi_get_mode () -
-guint32 - -nm_device_wifi_get_bitrate () -
-NMDeviceWifiCapabilities - -nm_device_wifi_get_capabilities () -
-NMAccessPoint * - -nm_device_wifi_get_active_access_point () -
-NMAccessPoint * - -nm_device_wifi_get_access_point_by_path () -
const GPtrArray * - -nm_device_wifi_get_access_points () -
-void - -(*NMDeviceWifiRequestScanFn) () -
-void - -nm_device_wifi_request_scan_simple () -
+

Object Hierarchy

+
+  GObject
+   +----NMObject
+         +----NMDevice
+               +----NMDeviceWifi
+
+
+
+

Implemented Interfaces

+

+NMDeviceWifi implements + GInitable and GAsyncInitable.

Properties

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-NMAccessPoint *active-access-pointRead
guintbitrateRead
-gchar *hw-addressRead
guintmodeRead
-gchar *perm-hw-addressRead
guintwireless-capabilitiesRead
+
+  "access-points"            NMObjectArray*        : Read
+  "active-access-point"      NMAccessPoint*        : Read
+  "bitrate"                  guint                 : Read
+  "hw-address"               gchar*                : Read
+  "mode"                     guint                 : Read
+  "perm-hw-address"          gchar*                : Read
+  "wireless-capabilities"    guint                 : Read
+
-

Types and Values

-
+

Description

+

+

+ +
+

Details

+
+

enum NMDeviceWifiError

+
typedef enum {
+	NM_DEVICE_WIFI_ERROR_UNKNOWN = 0,             /*< nick=UnknownError >*/
+	NM_DEVICE_WIFI_ERROR_NOT_WIFI_CONNECTION,     /*< nick=NotWifiConnection >*/
+	NM_DEVICE_WIFI_ERROR_INVALID_WIFI_CONNECTION, /*< nick=InvalidWifiConnection >*/
+	NM_DEVICE_WIFI_ERROR_INVALID_DEVICE_MAC,      /*< nick=InvalidDeviceMac >*/
+	NM_DEVICE_WIFI_ERROR_MAC_MISMATCH,            /*< nick=MacMismatch >*/
+	NM_DEVICE_WIFI_ERROR_MISSING_DEVICE_WPA_CAPS, /*< nick=MissingDeviceWpaCaps >*/
+	NM_DEVICE_WIFI_ERROR_MISSING_DEVICE_RSN_CAPS, /*< nick=MissingDeviceRsnCaps >*/
+} NMDeviceWifiError;
+
+
--++ - - - - - - + + - - + + - - + + - - + + - - + + - - + + - - + +
enumNMDeviceWifiError
#defineNM_DEVICE_WIFI_ERROR

NM_DEVICE_WIFI_ERROR_UNKNOWN

unknown or unclassified error +
#defineNM_DEVICE_WIFI_HW_ADDRESS

NM_DEVICE_WIFI_ERROR_NOT_WIFI_CONNECTION

the connection was not of Wi-Fi type +
#defineNM_DEVICE_WIFI_PERMANENT_HW_ADDRESS

NM_DEVICE_WIFI_ERROR_INVALID_WIFI_CONNECTION

the Wi-Fi connection was invalid +
#defineNM_DEVICE_WIFI_MODE

NM_DEVICE_WIFI_ERROR_INVALID_DEVICE_MAC

the device's MAC was invalid +
#defineNM_DEVICE_WIFI_BITRATE

NM_DEVICE_WIFI_ERROR_MAC_MISMATCH

the MACs of the connection and the device mismatched +
#defineNM_DEVICE_WIFI_ACTIVE_ACCESS_POINT

NM_DEVICE_WIFI_ERROR_MISSING_DEVICE_WPA_CAPS

the device missed WPA capabilities +required by the connection +
#defineNM_DEVICE_WIFI_CAPABILITIES

NM_DEVICE_WIFI_ERROR_MISSING_DEVICE_RSN_CAPS

the device missed RSN capabilities +required by the connection +
-
-

Object Hierarchy

-
    GObject
-    ╰── NMObject
-        ╰── NMDevice
-            ╰── NMDeviceWifi
+
+
+

NM_DEVICE_WIFI_ERROR

+
#define NM_DEVICE_WIFI_ERROR nm_device_wifi_error_quark ()
 
-
-
-

Description

-
-

Functions

-
-

nm_device_wifi_error_quark ()

-
GQuark
-nm_device_wifi_error_quark (void);
-

Registers an error quark for NMDeviceWifi if necessary.

-
-

Returns

-

the error quark used for NMDeviceWifi errors.

-

-
-

-

nm_device_wifi_new ()

-
GObject *
-nm_device_wifi_new (DBusGConnection *connection,
-                    const char *path);
-

Creates a new NMDeviceWifi.

-
-

Parameters

-
+

nm_device_wifi_error_quark ()

+
GQuark              nm_device_wifi_error_quark          (void);
+

+Registers an error quark for NMDeviceWifi if necessary. +

+
---++ - - - - - - - - - - - - + + + +

connection

the DBusGConnection

 

path

the DBus object path of the device

 

Returns :

the error quark used for NMDeviceWifi errors.
-
-

Returns

-

a new WiFi device.

-

[transfer full]

-
-

-

nm_device_wifi_get_hw_address ()

-
const char *
-nm_device_wifi_get_hw_address (NMDeviceWifi *device);
-

Gets the actual hardware (MAC) address of the NMDeviceWifi

-
-

Parameters

-
----- - - - - - -

device

a NMDeviceWifi

 
+

NM_DEVICE_WIFI_HW_ADDRESS

+
#define NM_DEVICE_WIFI_HW_ADDRESS          "hw-address"
+
+

+

-
-

Returns

-

the actual hardware address. This is the internal string used by the -device, and must not be modified.

-

+
+
+

NM_DEVICE_WIFI_PERMANENT_HW_ADDRESS

+
#define NM_DEVICE_WIFI_PERMANENT_HW_ADDRESS "perm-hw-address"
+
+

+

+
+
+

NM_DEVICE_WIFI_MODE

+
#define NM_DEVICE_WIFI_MODE                "mode"
+
+

+


-

nm_device_wifi_get_permanent_hw_address ()

-
const char *
-nm_device_wifi_get_permanent_hw_address
-                               (NMDeviceWifi *device);
-

Gets the permanent hardware (MAC) address of the NMDeviceWifi

-
-

Parameters

-
----- - - - - - -

device

a NMDeviceWifi

 
+

NM_DEVICE_WIFI_BITRATE

+
#define NM_DEVICE_WIFI_BITRATE             "bitrate"
+
+

+

-
-

Returns

-

the permanent hardware address. This is the internal string used by the -device, and must not be modified.

-

+
+
+

NM_DEVICE_WIFI_ACTIVE_ACCESS_POINT

+
#define NM_DEVICE_WIFI_ACTIVE_ACCESS_POINT "active-access-point"
+
+

+

+
+
+

NM_DEVICE_WIFI_CAPABILITIES

+
#define NM_DEVICE_WIFI_CAPABILITIES        "wireless-capabilities"
+
+

+


-

nm_device_wifi_get_mode ()

-
NM80211Mode
-nm_device_wifi_get_mode (NMDeviceWifi *device);
-

Gets the NMDeviceWifi mode.

-
-

Parameters

-
----- - - - - - -

device

a NMDeviceWifi

 
+

NM_DEVICE_WIFI_ACCESS_POINTS

+
#define NM_DEVICE_WIFI_ACCESS_POINTS       "access-points"
+
+

+

-
-

Returns

-

the mode

-

+
+
+

NMDeviceWifi

+
typedef struct _NMDeviceWifi NMDeviceWifi;
+

+

+
+
+

NMDeviceWifiClass

+
typedef struct {
+	NMDeviceClass parent;
+
+	/* Signals */
+	void (*access_point_added) (NMDeviceWifi *device, NMAccessPoint *ap);
+	void (*access_point_removed) (NMDeviceWifi *device, NMAccessPoint *ap);
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+	void (*_reserved5) (void);
+	void (*_reserved6) (void);
+} NMDeviceWifiClass;
+
+

+


-

nm_device_wifi_get_bitrate ()

-
guint32
-nm_device_wifi_get_bitrate (NMDeviceWifi *device);
-

Gets the bit rate of the NMDeviceWifi.

-
-

Parameters

-
+

nm_device_wifi_new ()

+
GObject *           nm_device_wifi_new                  (DBusGConnection *connection,
+                                                         const char *path);
+

+Creates a new NMDeviceWifi. +

+
---++ - - - - - + + + + + + + + + + + + + +

device

a NMDeviceWifi

 

connection :

the DBusGConnection +

path :

the DBus object path of the device

Returns :

a new Wi-Fi device. [transfer full] +
-
-

Returns

-

the bit rate

-

-
-

-

nm_device_wifi_get_capabilities ()

-
NMDeviceWifiCapabilities
-nm_device_wifi_get_capabilities (NMDeviceWifi *device);
-

Gets the WIFI capabilities of the NMDeviceWifi.

-
-

Parameters

-
+

nm_device_wifi_get_hw_address ()

+
const char *        nm_device_wifi_get_hw_address       (NMDeviceWifi *device);
+

+Gets the actual hardware (MAC) address of the NMDeviceWifi +

+
---++ - - - - - + + + + + + + + + +

device

a NMDeviceWifi

 

device :

a NMDeviceWifi +

Returns :

the actual hardware address. This is the internal string used by the +device, and must not be modified.
-
-

Returns

-

the capabilities

-

-
-

-

nm_device_wifi_get_active_access_point ()

-
NMAccessPoint *
-nm_device_wifi_get_active_access_point
-                               (NMDeviceWifi *device);
-

Gets the active NMAccessPoint.

-
-

Parameters

-
+

nm_device_wifi_get_permanent_hw_address ()

+
const char *        nm_device_wifi_get_permanent_hw_address
+                                                        (NMDeviceWifi *device);
+

+Gets the permanent hardware (MAC) address of the NMDeviceWifi +

+
---++ - - - - - + + + + + + + + + +

device

a NMDeviceWifi

 

device :

a NMDeviceWifi +

Returns :

the permanent hardware address. This is the internal string used by the +device, and must not be modified.
-
-

Returns

-

the access point or NULL if none is active.

-

[transfer none]

-
-

-

nm_device_wifi_get_access_point_by_path ()

-
NMAccessPoint *
-nm_device_wifi_get_access_point_by_path
-                               (NMDeviceWifi *device,
-                                const char *path);
-

Gets a NMAccessPoint by path.

-
-

Parameters

-
+

nm_device_wifi_get_mode ()

+
NM80211Mode         nm_device_wifi_get_mode             (NMDeviceWifi *device);
+

+Gets the NMDeviceWifi mode. +

+
---++ - - - + + - - - + +

device

a NMDeviceWifi

 

device :

a NMDeviceWifi +

path

the object path of the access point

 

Returns :

the mode
-
-

Returns

-

the access point or NULL if none is found.

-

[transfer none]

-
-

-

nm_device_wifi_get_access_points ()

-
const GPtrArray *
-nm_device_wifi_get_access_points (NMDeviceWifi *device);
-

Gets all the scanned access points of the NMDeviceWifi.

-
-

Parameters

-
+

nm_device_wifi_get_bitrate ()

+
guint32             nm_device_wifi_get_bitrate          (NMDeviceWifi *device);
+

+Gets the bit rate of the NMDeviceWifi in kbit/s. +

+
---++ - - - - - + + + + + + + + + +

device

a NMDeviceWifi

 

device :

a NMDeviceWifi +

Returns :

the bit rate (kbit/s)
-
-

Returns

-

a GPtrArray containing all the -scanned NMAccessPoints. -The returned array is owned by the client and should not be modified.

-

[element-type NMClient.AccessPoint]

-
-

-

NMDeviceWifiRequestScanFn ()

-
void
-(*NMDeviceWifiRequestScanFn) (NMDeviceWifi *device,
-                              GError *error,
-                              gpointer user_data);
+

nm_device_wifi_get_capabilities ()

+
NMDeviceWifiCapabilities nm_device_wifi_get_capabilities
+                                                        (NMDeviceWifi *device);

+Gets the Wi-Fi capabilities of the NMDeviceWifi.

-
-
-
-

nm_device_wifi_request_scan_simple ()

-
void
-nm_device_wifi_request_scan_simple (NMDeviceWifi *device,
-                                    NMDeviceWifiRequestScanFn callback,
-                                    gpointer user_data);
-

Request NM to scan for access points on the NMDeviceWifi. This function only -instructs NM to perform scanning. Use nm_device_wifi_get_access_points() -to get available access points.

-
-

Parameters

-
+
---++ - - - - - - - - + + - - - + +

device

a NMDeviceWifi

 

callback

the function to call when the call is done.

[scope async][allow-none]

device :

a NMDeviceWifi +

user_data

user data to pass to the callback function.

[closure]

Returns :

the capabilities
-

Since 0.9.8

-
-
-
-

Types and Values

+
-

enum NMDeviceWifiError

-
-

Members

-
+

nm_device_wifi_get_active_access_point ()

+
NMAccessPoint *     nm_device_wifi_get_active_access_point
+                                                        (NMDeviceWifi *device);
+

+Gets the active NMAccessPoint. +

+
---++ - - + - - - + - + +

NM_DEVICE_WIFI_ERROR_UNKNOWN

-

unknown or unclassified error

+

device :

a NMDeviceWifi  

NM_DEVICE_WIFI_ERROR_NOT_WIFI_CONNECTION

-

the connection was not of Wi-Fi type

+

Returns :

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

nm_device_wifi_get_access_point_by_path ()

+
NMAccessPoint *     nm_device_wifi_get_access_point_by_path
+                                                        (NMDeviceWifi *device,
+                                                         const char *path);
+

+Gets a NMAccessPoint by path. +

+
++++ + - - + - - - - + + - - + - + +

NM_DEVICE_WIFI_ERROR_INVALID_WIFI_CONNECTION

-

the Wi-Fi connection was invalid

+

device :

a NMDeviceWifi  

NM_DEVICE_WIFI_ERROR_INVALID_DEVICE_MAC

-

the device's MAC was invalid

-
 

path :

the object path of the access point

NM_DEVICE_WIFI_ERROR_MAC_MISMATCH

-

the MACs of the connection and the device mismatched

+

Returns :

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

nm_device_wifi_get_access_points ()

+
const GPtrArray *   nm_device_wifi_get_access_points    (NMDeviceWifi *device);
+

+Gets all the scanned access points of the NMDeviceWifi. +

+
++++ + - - + - - - + -

NM_DEVICE_WIFI_ERROR_MISSING_DEVICE_WPA_CAPS

-

the device missed WPA capabilities -required by the connection

+

device :

a NMDeviceWifi  

NM_DEVICE_WIFI_ERROR_MISSING_DEVICE_RSN_CAPS

-

the device missed RSN capabilities -required by the connection

+

Returns :

a GPtrArray containing all the +scanned NMAccessPoints. +The returned array is owned by the client and should not be modified. [element-type NMClient.AccessPoint]  
-

-

NM_DEVICE_WIFI_ERROR

-
#define NM_DEVICE_WIFI_ERROR nm_device_wifi_error_quark ()
-
+

NMDeviceWifiRequestScanFn ()

+
void                (*NMDeviceWifiRequestScanFn)        (NMDeviceWifi *device,
+                                                         GError *error,
+                                                         gpointer user_data);


-

NM_DEVICE_WIFI_HW_ADDRESS

-
#define NM_DEVICE_WIFI_HW_ADDRESS          "hw-address"
-
+

nm_device_wifi_request_scan_simple ()

+
void                nm_device_wifi_request_scan_simple  (NMDeviceWifi *device,
+                                                         NMDeviceWifiRequestScanFn callback,
+                                                         gpointer user_data);

+Request NM to scan for access points on the NMDeviceWifi. This function only +instructs NM to perform scanning. Use nm_device_wifi_get_access_points() +to get available access points.

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

device :

a NMDeviceWifi +

callback :

the function to call when the call is done. [scope async][allow-none] +

user_data :

user data to pass to the callback function. [closure] +
+

Since 0.9.8

-
-
-

NM_DEVICE_WIFI_PERMANENT_HW_ADDRESS

-
#define NM_DEVICE_WIFI_PERMANENT_HW_ADDRESS "perm-hw-address"
-
-

-

-
+
+

Property Details

-

NM_DEVICE_WIFI_MODE

-
#define NM_DEVICE_WIFI_MODE                "mode"
-
+

The "access-points" property

+
  "access-points"            NMObjectArray*        : Read

+List of all Wi-Fi access points the device can see.

+

Since 0.9.10


-

NM_DEVICE_WIFI_BITRATE

-
#define NM_DEVICE_WIFI_BITRATE             "bitrate"
-
+

The "active-access-point" property

+
  "active-access-point"      NMAccessPoint*        : Read

+The active NMAccessPoint of the device.


-

NM_DEVICE_WIFI_ACTIVE_ACCESS_POINT

-
#define NM_DEVICE_WIFI_ACTIVE_ACCESS_POINT "active-access-point"
-
+

The "bitrate" property

+
  "bitrate"                  guint                 : Read

+The bit rate of the device in kbit/s.

+

Default value: 0


-

NM_DEVICE_WIFI_CAPABILITIES

-
#define NM_DEVICE_WIFI_CAPABILITIES        "wireless-capabilities"
-
+

The "hw-address" property

+
  "hw-address"               gchar*                : Read

+The hardware (MAC) address of the device.

-
-
-
-

Property Details

-
-

The “active-access-point” property

-
  “active-access-point”      NMAccessPoint *
-

Active Access Point.

-

Flags: Read

-
-
-
-

The “bitrate” property

-
  “bitrate”                  guint
-

Bit Rate.

-

Flags: Read

-

Default value: 0

-
-
-
-

The “hw-address” property

-
  “hw-address”               gchar *
-

Currently set hardware MAC address.

-

Flags: Read

Default value: NULL


-

The “mode” property

-
  “mode”                     guint
-

Mode.

-

Flags: Read

+

The "mode" property

+
  "mode"                     guint                 : Read
+

+The mode of the device. +

Allowed values: <= 3

Default value: 2


-

The “perm-hw-address” property

-
  “perm-hw-address”          gchar *
-

Permanent hardware MAC address.

-

Flags: Read

+

The "perm-hw-address" property

+
  "perm-hw-address"          gchar*                : Read
+

+The hardware (MAC) address of the device. +

Default value: NULL


-

The “wireless-capabilities” property

-
  “wireless-capabilities”    guint
-

Wireless Capabilities.

-

Flags: Read

+

The "wireless-capabilities" property

+
  "wireless-capabilities"    guint                 : Read
+

+The wireless capabilities of the device. +

Default value: 0

Signal Details

-

The “access-point-added” signal

-
void
-user_function (NMDeviceWifi *device,
-               GObject      *ap,
-               gpointer      user_data)
-

Flags: Run First

+

The "access-point-added" signal

+
void                user_function                      (NMDeviceWifi *device,
+                                                        GObject      *ap,
+                                                        gpointer      user_data)      : Run First
+

+Notifies that a NMAccessPoint is added to the Wi-Fi device. +

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

device :

the Wi-Fi device that received the signal

ap :

the new access point

user_data :

user data set when the signal handler was connected.

-

The “access-point-removed” signal

-
void
-user_function (NMDeviceWifi *device,
-               GObject      *ap,
-               gpointer      user_data)
-

Flags: Run First

+

The "access-point-removed" signal

+
void                user_function                      (NMDeviceWifi *device,
+                                                        GObject      *ap,
+                                                        gpointer      user_data)      : Run First
+

+Notifies that a NMAccessPoint is removed from the Wi-Fi device. +

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

device :

the Wi-Fi device that received the signal

ap :

the removed access point

user_data :

user data set when the signal handler was connected.
+ Generated by GTK-Doc V1.19
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMDeviceWimax.html b/docs/libnm-glib/html/NMDeviceWimax.html index c496a2c6..60e44b58 100644 --- a/docs/libnm-glib/html/NMDeviceWimax.html +++ b/docs/libnm-glib/html/NMDeviceWimax.html @@ -2,29 +2,38 @@ -libnm-glib Reference Manual: NMDeviceWimax +NMDeviceWimax - + - - - - - - - + + + + + + + + + +
@@ -32,745 +41,662 @@

NMDeviceWimax

NMDeviceWimax

- +
+ +
+

Object Hierarchy

+
+  GObject
+   +----NMObject
+         +----NMDevice
+               +----NMDeviceWimax
+
+
+
+

Implemented Interfaces

+

+NMDeviceWimax implements + GInitable and GAsyncInitable.

+
+
+

Properties

+
+  "active-nsp"               NMWimaxNsp*           : Read
+  "bsid"                     gchar*                : Read
+  "center-frequency"         guint                 : Read
+  "cinr"                     gint                  : Read
+  "hw-address"               gchar*                : Read
+  "nsps"                     NMObjectArray*        : Read
+  "rssi"                     gint                  : Read
+  "tx-power"                 gint                  : Read
+
+
-

Functions

-
+

Signals

+
+  "nsp-added"                                      : Run First
+  "nsp-removed"                                    : Run First
+
+ +
+

Description

+

+

+
+
+

Details

+
+

enum NMDeviceWimaxError

+
typedef enum {
+	NM_DEVICE_WIMAX_ERROR_UNKNOWN = 0,              /*< nick=UnknownError >*/
+	NM_DEVICE_WIMAX_ERROR_NOT_WIMAX_CONNECTION,     /*< nick=NotWimaxConnection >*/
+	NM_DEVICE_WIMAX_ERROR_INVALID_WIMAX_CONNECTION, /*< nick=InvalidWimaxConnection >*/
+	NM_DEVICE_WIMAX_ERROR_INVALID_DEVICE_MAC,       /*< nick=InvalidDeviceMac >*/
+	NM_DEVICE_WIMAX_ERROR_MAC_MISMATCH,             /*< nick=MacMismatch >*/
+} NMDeviceWimaxError;
+
+
--++ - - + - - + - - + - - + - - - - - - - - - - - - - - + + +
-GQuark - -nm_device_wimax_error_quark () +

NM_DEVICE_WIMAX_ERROR_UNKNOWN

unknown or unclassified error
-GObject * - -nm_device_wimax_new () +

NM_DEVICE_WIMAX_ERROR_NOT_WIMAX_CONNECTION

the connection was not of WiMax type
const char * - -nm_device_wimax_get_hw_address () +

NM_DEVICE_WIMAX_ERROR_INVALID_WIMAX_CONNECTION

the WiMax connection was invalid
-NMWimaxNsp * - -nm_device_wimax_get_active_nsp () +

NM_DEVICE_WIMAX_ERROR_INVALID_DEVICE_MAC

the device's MAC was invalid
-NMWimaxNsp * - -nm_device_wimax_get_nsp_by_path () -
const GPtrArray * - -nm_device_wimax_get_nsps () -
-guint - -nm_device_wimax_get_center_frequency () -
-gint - -nm_device_wimax_get_rssi () +

NM_DEVICE_WIMAX_ERROR_MAC_MISMATCH

the MACs of the connection and the device mismatched
+
+
+
+

NM_DEVICE_WIMAX_ERROR

+
#define NM_DEVICE_WIMAX_ERROR nm_device_wimax_error_quark ()
+
+

+

+
+
+
+

nm_device_wimax_error_quark ()

+
GQuark              nm_device_wimax_error_quark         (void);
+

+Registers an error quark for NMDeviceWimax if necessary. +

+
++++ + + + + +

Returns :

the error quark used for NMDeviceWimax errors.
+
+
+
+

NM_DEVICE_WIMAX_HW_ADDRESS

+
#define NM_DEVICE_WIMAX_HW_ADDRESS       "hw-address"
+
+

+

+
+
+
+

NM_DEVICE_WIMAX_ACTIVE_NSP

+
#define NM_DEVICE_WIMAX_ACTIVE_NSP       "active-nsp"
+
+

+

+
+
+
+

NM_DEVICE_WIMAX_CENTER_FREQUENCY

+
#define NM_DEVICE_WIMAX_CENTER_FREQUENCY "center-frequency"
+
+

+

+
+
+
+

NM_DEVICE_WIMAX_RSSI

+
#define NM_DEVICE_WIMAX_RSSI             "rssi"
+
+

+

+
+
+
+

NM_DEVICE_WIMAX_CINR

+
#define NM_DEVICE_WIMAX_CINR             "cinr"
+
+

+

+
+
+
+

NM_DEVICE_WIMAX_TX_POWER

+
#define NM_DEVICE_WIMAX_TX_POWER         "tx-power"
+
+

+

+
+
+
+

NM_DEVICE_WIMAX_BSID

+
#define NM_DEVICE_WIMAX_BSID             "bsid"
+
+

+

+
+
+
+

NM_DEVICE_WIMAX_NSPS

+
#define NM_DEVICE_WIMAX_NSPS             "nsps"
+
+

+

+
+
+
+

NMDeviceWimax

+
typedef struct _NMDeviceWimax NMDeviceWimax;
+

+

+
+
+
+

NMDeviceWimaxClass

+
typedef struct {
+	NMDeviceClass parent;
+
+	/* Signals */
+	void (*nsp_added)   (NMDeviceWimax *self, NMWimaxNsp *nsp);
+	void (*nsp_removed) (NMDeviceWimax *self, NMWimaxNsp *nsp);
+} NMDeviceWimaxClass;
+
+

+

+
+
+
+

nm_device_wimax_new ()

+
GObject *           nm_device_wimax_new                 (DBusGConnection *connection,
+                                                         const char *path);
+

+Creates a new NMDeviceWimax. +

+
++++ + - - + - - + + - - +
-gint - -nm_device_wimax_get_cinr () +

connection :

the DBusGConnection
-gint - -nm_device_wimax_get_tx_power () -

path :

the D-Bus object path of the WiMAX device
const char * - -nm_device_wimax_get_bsid () +

Returns :

a new WiMAX device. [transfer full]
-
-

Properties

-
+
+
+

nm_device_wimax_get_hw_address ()

+
const char *        nm_device_wimax_get_hw_address      (NMDeviceWimax *wimax);
+

+Gets the hardware (MAC) address of the NMDeviceWimax +

+
---++ - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - + +
-NMWimaxNsp *active-nspRead
-gchar *bsidRead
guintcenter-frequencyRead
gintcinrRead
-gchar *hw-addressRead
gintrssiRead

wimax :

a NMDeviceWimax +
ginttx-powerRead

Returns :

the hardware address. This is the internal string used by the +device, and must not be modified.
-
-

Signals

-
+
+
+

nm_device_wimax_get_active_nsp ()

+
NMWimaxNsp *        nm_device_wimax_get_active_nsp      (NMDeviceWimax *wimax);
+

+Gets the active NMWimaxNsp. +

+
---++ - - - + + - - - + +
voidnsp-addedRun First

wimax :

a NMDeviceWimax +
voidnsp-removedRun First

Returns :

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

Types and Values

-
+
+
+

nm_device_wimax_get_nsp_by_path ()

+
NMWimaxNsp *        nm_device_wimax_get_nsp_by_path     (NMDeviceWimax *wimax,
+                                                         const char *path);
+

+Gets a NMWimaxNsp by path. +

+
--++ - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + + - - + +
enumNMDeviceWimaxError
#defineNM_DEVICE_WIMAX_ERROR
#defineNM_DEVICE_WIMAX_HW_ADDRESS
#defineNM_DEVICE_WIMAX_ACTIVE_NSP
#defineNM_DEVICE_WIMAX_CENTER_FREQUENCY
#defineNM_DEVICE_WIMAX_RSSI
#defineNM_DEVICE_WIMAX_CINR

wimax :

a NMDeviceWimax +
#defineNM_DEVICE_WIMAX_TX_POWER

path :

the object path of the NSP
#defineNM_DEVICE_WIMAX_BSID

Returns :

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

Object Hierarchy

-
    GObject
-    ╰── NMObject
-        ╰── NMDevice
-            ╰── NMDeviceWimax
-
-
-
-

Description

-

-

-
-
-

Functions

-
-

nm_device_wimax_error_quark ()

-
GQuark
-nm_device_wimax_error_quark (void);
-

Registers an error quark for NMDeviceWimax if necessary.

-
-

Returns

-

the error quark used for NMDeviceWimax errors.

-

-
-

-

nm_device_wimax_new ()

-
GObject *
-nm_device_wimax_new (DBusGConnection *connection,
-                     const char *path);
-

Creates a new NMDeviceWimax.

-
-

Parameters

-
+

nm_device_wimax_get_nsps ()

+
const GPtrArray *   nm_device_wimax_get_nsps            (NMDeviceWimax *wimax);
+

+Gets all the scanned NSPs of the NMDeviceWimax. +

+
---++ - - - + + - - - + +

connection

the DBusGConnection

 

wimax :

a NMDeviceWimax +

path

the D-Bus object path of the WiMAX device

 

Returns :

a GPtrArray containing +all the scanned NMWimaxNsps. +The returned array is owned by the client and should not be modified. [element-type NMClient.WimaxNsp] +
-
-

Returns

-

a new WiMAX device.

-

[transfer full]

-
-
-
-
-

nm_device_wimax_get_hw_address ()

-
const char *
-nm_device_wimax_get_hw_address (NMDeviceWimax *wimax);
-

Gets the hardware (MAC) address of the NMDeviceWimax

-
-

Parameters

-
----- - - - - - -

wimax

a NMDeviceWimax

 
-
-
-

Returns

-

the hardware address. This is the internal string used by the -device, and must not be modified.

-

-
-

-

nm_device_wimax_get_active_nsp ()

-
NMWimaxNsp *
-nm_device_wimax_get_active_nsp (NMDeviceWimax *wimax);
-

Gets the active NMWimaxNsp.

-
-

Parameters

-
----- - - - - - -

wimax

a NMDeviceWimax

 
-
-
-

Returns

-

the access point or NULL if none is active.

-

[transfer full]

-
-
-
-
-

nm_device_wimax_get_nsp_by_path ()

-
NMWimaxNsp *
-nm_device_wimax_get_nsp_by_path (NMDeviceWimax *wimax,
-                                 const char *path);
-

Gets a NMWimaxNsp by path.

-
-

Parameters

-
+

nm_device_wimax_get_center_frequency ()

+
guint               nm_device_wimax_get_center_frequency
+                                                        (NMDeviceWimax *self);
+

+Gets the center frequency (in KHz) of the radio channel the device is using +to communicate with the network when connected. Has no meaning when the +device is not connected. +

+
---++ - - - + + - - - + +

wimax

a NMDeviceWimax

 

self :

a NMDeviceWimax +

path

the object path of the NSP

 

Returns :

the center frequency in KHz, or 0
-
-

Returns

-

the access point or NULL if none is found.

-

[transfer none]

-
-
-
-
-

nm_device_wimax_get_nsps ()

-
const GPtrArray *
-nm_device_wimax_get_nsps (NMDeviceWimax *wimax);
-

Gets all the scanned NSPs of the NMDeviceWimax.

-
-

Parameters

-
----- - - - - - -

wimax

a NMDeviceWimax

 
-
-
-

Returns

-

a GPtrArray containing -all the scanned NMWimaxNsps. -The returned array is owned by the client and should not be modified.

-

[element-type NMClient.WimaxNsp]

-
-
-
-
-

nm_device_wimax_get_center_frequency ()

-
guint
-nm_device_wimax_get_center_frequency (NMDeviceWimax *self);
-

Gets the center frequency (in KHz) of the radio channel the device is using -to communicate with the network when connected. Has no meaning when the -device is not connected.

-
-

Parameters

-
----- - - - - - -

self

a NMDeviceWimax

 
-
-
-

Returns

-

the center frequency in KHz, or 0

-

-
-

-

nm_device_wimax_get_rssi ()

-
gint
-nm_device_wimax_get_rssi (NMDeviceWimax *self);
-

Gets the RSSI of the current radio link in dBm. This value indicates how +

nm_device_wimax_get_rssi ()

+
gint                nm_device_wimax_get_rssi            (NMDeviceWimax *self);
+

+Gets the RSSI of the current radio link in dBm. This value indicates how strong the raw received RF signal from the base station is, but does not indicate the overall quality of the radio link. Has no meaning when the -device is not connected.

-
-

Parameters

-
+device is not connected. +

+
---++ - - - - - + + + + + + + + + +

self

a NMDeviceWimax

 

self :

a NMDeviceWimax +

Returns :

the RSSI in dBm, or 0
-
-

Returns

-

the RSSI in dBm, or 0

-

-
-

-

nm_device_wimax_get_cinr ()

-
gint
-nm_device_wimax_get_cinr (NMDeviceWimax *self);
-

Gets the CINR (Carrier to Interference + Noise Ratio) of the current radio +

nm_device_wimax_get_cinr ()

+
gint                nm_device_wimax_get_cinr            (NMDeviceWimax *self);
+

+Gets the CINR (Carrier to Interference + Noise Ratio) of the current radio link in dB. CINR is a more accurate measure of radio link quality. Has no -meaning when the device is not connected.

-
-

Parameters

-
+meaning when the device is not connected. +

+
---++ - - - - - + + + + + + + + + +

self

a NMDeviceWimax

 

self :

a NMDeviceWimax +

Returns :

the CINR in dB, or 0
-
-

Returns

-

the CINR in dB, or 0

-

-
-

-

nm_device_wimax_get_tx_power ()

-
gint
-nm_device_wimax_get_tx_power (NMDeviceWimax *self);
-

Average power of the last burst transmitted by the device, in units of +

nm_device_wimax_get_tx_power ()

+
gint                nm_device_wimax_get_tx_power        (NMDeviceWimax *self);
+

+Average power of the last burst transmitted by the device, in units of 0.5 dBm. i.e. a TxPower of -11 represents an actual device TX power of --5.5 dBm. Has no meaning when the device is not connected.

-
-

Parameters

-
+-5.5 dBm. Has no meaning when the device is not connected. +

+
---++ - - - - - + + + + + + + + + +

self

a NMDeviceWimax

 

self :

a NMDeviceWimax +

Returns :

the TX power in dBm, or 0
-
-

Returns

-

the TX power in dBm, or 0

-

-
-

-

nm_device_wimax_get_bsid ()

-
const char *
-nm_device_wimax_get_bsid (NMDeviceWimax *self);
-

Gets the ID of the serving Base Station when the device is connected.

-
-

Parameters

-
----- - - - - - -

self

a NMDeviceWimax

 
-
-
-

Returns

-

the ID of the serving Base Station, or NULL

-

-
-
-
-
-

Types and Values

-
-

enum NMDeviceWimaxError

-
-

Members

-
+

nm_device_wimax_get_bsid ()

+
const char *        nm_device_wimax_get_bsid            (NMDeviceWimax *self);
+

+Gets the ID of the serving Base Station when the device is connected. +

+
---++ - - - - - - - - - - - - - - - - - + - - - + -

NM_DEVICE_WIMAX_ERROR_UNKNOWN

-

unknown or unclassified error

-
 

NM_DEVICE_WIMAX_ERROR_NOT_WIMAX_CONNECTION

-

the connection was not of WiMax type

-
 

NM_DEVICE_WIMAX_ERROR_INVALID_WIMAX_CONNECTION

-

the WiMax connection was invalid

-
 

NM_DEVICE_WIMAX_ERROR_INVALID_DEVICE_MAC

-

the device's MAC was invalid

+

self :

a NMDeviceWimax  

NM_DEVICE_WIMAX_ERROR_MAC_MISMATCH

-

the MACs of the connection and the device mismatched

+

Returns :

the ID of the serving Base Station, or NULL  
-
+
+

Property Details

-

NM_DEVICE_WIMAX_ERROR

-
#define NM_DEVICE_WIMAX_ERROR nm_device_wimax_error_quark ()
-
+

The "active-nsp" property

+
  "active-nsp"               NMWimaxNsp*           : Read

+The active NMWimaxNsp of the device.


-

NM_DEVICE_WIMAX_HW_ADDRESS

-
#define NM_DEVICE_WIMAX_HW_ADDRESS       "hw-address"
-
+

The "bsid" property

+
  "bsid"                     gchar*                : Read

+The ID of the serving base station as received from the network. Has +no meaning when the device is not connected.

+

Default value: NULL


-

NM_DEVICE_WIMAX_ACTIVE_NSP

-
#define NM_DEVICE_WIMAX_ACTIVE_NSP       "active-nsp"
-
+

The "center-frequency" property

+
  "center-frequency"         guint                 : Read

+The center frequency (in KHz) of the radio channel the device is using to +communicate with the network when connected. Has no meaning when the +device is not connected.

+

Default value: 0


-

NM_DEVICE_WIMAX_CENTER_FREQUENCY

-
#define NM_DEVICE_WIMAX_CENTER_FREQUENCY "center-frequency"
-
+

The "cinr" property

+
  "cinr"                     gint                  : Read

+CINR (Carrier to Interference + Noise Ratio) of the current radio link +in dB. CINR is a more accurate measure of radio link quality. Has no +meaning when the device is not connected.

+

Default value: 0


-

NM_DEVICE_WIMAX_RSSI

-
#define NM_DEVICE_WIMAX_RSSI             "rssi"
-
+

The "hw-address" property

+
  "hw-address"               gchar*                : Read

+The hardware (MAC) address of the device.

+

Default value: NULL


-

NM_DEVICE_WIMAX_CINR

-
#define NM_DEVICE_WIMAX_CINR             "cinr"
-
+

The "nsps" property

+
  "nsps"                     NMObjectArray*        : Read

+List of all WiMAX Network Service Providers the device can see.

+

Since 0.9.10


-

NM_DEVICE_WIMAX_TX_POWER

-
#define NM_DEVICE_WIMAX_TX_POWER         "tx-power"
-
+

The "rssi" property

+
  "rssi"                     gint                  : Read

+RSSI of the current radio link in dBm. This value indicates how strong +the raw received RF signal from the base station is, but does not +indicate the overall quality of the radio link. Has no meaning when the +device is not connected.

+

Default value: 0


-

NM_DEVICE_WIMAX_BSID

-
#define NM_DEVICE_WIMAX_BSID             "bsid"
-
+

The "tx-power" property

+
  "tx-power"                 gint                  : Read

+Average power of the last burst transmitted by the device, in units of +0.5 dBm. i.e. a TxPower of -11 represents an actual device TX power of +-5.5 dBm. Has no meaning when the device is not connected.

-
-
-
-

Property Details

-
-

The “active-nsp” property

-
  “active-nsp”               NMWimaxNsp *
-

Active NSP.

-

Flags: Read

-
-
-
-

The “bsid” property

-
  “bsid”                     gchar *
-

BSID.

-

Flags: Read

-

Default value: NULL

-
-
-
-

The “center-frequency” property

-
  “center-frequency”         guint
-

Center frequency.

-

Flags: Read

-

Default value: 0

-
-
-
-

The “cinr” property

-
  “cinr”                     gint
-

CINR.

-

Flags: Read

-

Default value: 0

-
-
-
-

The “hw-address” property

-
  “hw-address”               gchar *
-

Hardware MAC address.

-

Flags: Read

-

Default value: NULL

-
-
-
-

The “rssi” property

-
  “rssi”                     gint
-

RSSI.

-

Flags: Read

-

Default value: 0

-
-
-
-

The “tx-power” property

-
  “tx-power”                 gint
-

TX Power.

-

Flags: Read

Default value: 0

Signal Details

-

The “nsp-added” signal

-
void
-user_function (NMDeviceWimax *self,
-               GObject       *nsp,
-               gpointer       user_data)
-

Flags: Run First

+

The "nsp-added" signal

+
void                user_function                      (NMDeviceWimax *self,
+                                                        GObject       *nsp,
+                                                        gpointer       user_data)      : Run First
+

+Notifies that a NMWimaxNsp is added to the wimax device. +

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

self :

the wimax device that received the signal

nsp :

the new NSP

user_data :

user data set when the signal handler was connected.

-

The “nsp-removed” signal

-
void
-user_function (NMDeviceWimax *self,
-               GObject       *nsp,
-               gpointer       user_data)
-

Flags: Run First

+

The "nsp-removed" signal

+
void                user_function                      (NMDeviceWimax *self,
+                                                        GObject       *nsp,
+                                                        gpointer       user_data)      : Run First
+

+Notifies that a NMWimaxNsp is removed from the wimax device. +

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

self :

the wimax device that received the signal

nsp :

the removed NSP

user_data :

user data set when the signal handler was connected.
+ Generated by GTK-Doc V1.19
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMIP4Config.html b/docs/libnm-glib/html/NMIP4Config.html index 4c5fbe76..ca30a7b2 100644 --- a/docs/libnm-glib/html/NMIP4Config.html +++ b/docs/libnm-glib/html/NMIP4Config.html @@ -2,28 +2,36 @@ -libnm-glib Reference Manual: NMIP4Config +NMIP4Config - + - - - - - - - + + + + + + + + + +
@@ -31,405 +39,431 @@

NMIP4Config

NMIP4Config

- +
+ +
+

Object Hierarchy

+
+  GObject
+   +----NMObject
+         +----NMIP4Config
+
+
+
+

Implemented Interfaces

+

+NMIP4Config implements + GInitable and GAsyncInitable.

+
+
+

Properties

+
+  "addresses"                gpointer              : Read
+  "domains"                  NMStringArray*        : Read
+  "gateway"                  gchar*                : Read
+  "nameservers"              NMUintArray*          : Read
+  "routes"                   gpointer              : Read
+  "searches"                 NMStringArray*        : Read
+  "wins-servers"             NMUintArray*          : Read
+
+
-

Functions

-
+

Description

+

+

+ +
+

Details

+
+

NMIP4Config

+
typedef struct _NMIP4Config NMIP4Config;
+

+

+
+
+
+

NMIP4ConfigClass

+
typedef struct {
+	NMObjectClass parent;
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+	void (*_reserved5) (void);
+	void (*_reserved6) (void);
+} NMIP4ConfigClass;
+
+

+

+
+
+
+

NM_IP4_CONFIG_GATEWAY

+
#define NM_IP4_CONFIG_GATEWAY "gateway"
+
+

+

+
+
+
+

NM_IP4_CONFIG_ADDRESSES

+
#define NM_IP4_CONFIG_ADDRESSES "addresses"
+
+

+

+
+
+
+

NM_IP4_CONFIG_ROUTES

+
#define NM_IP4_CONFIG_ROUTES "routes"
+
+

+

+
+
+
+

NM_IP4_CONFIG_NAMESERVERS

+
#define NM_IP4_CONFIG_NAMESERVERS "nameservers"
+
+

+

+
+
+
+

NM_IP4_CONFIG_DOMAINS

+
#define NM_IP4_CONFIG_DOMAINS "domains"
+
+

+

+
+
+
+

NM_IP4_CONFIG_SEARCHES

+
#define NM_IP4_CONFIG_SEARCHES "searches"
+
+

+

+
+
+
+

NM_IP4_CONFIG_WINS_SERVERS

+
#define NM_IP4_CONFIG_WINS_SERVERS "wins-servers"
+
+

+

+
+
+
+

nm_ip4_config_new ()

+
GObject *           nm_ip4_config_new                   (DBusGConnection *connection,
+                                                         const char *object_path);
+

+Creates a new NMIP4Config. +

+
--++ - - + - - - - - - - - - - - - - - + + - - +
-GObject * - -nm_ip4_config_new () +

connection :

the DBusGConnection
const GSList * - -nm_ip4_config_get_addresses () -
const GArray * - -nm_ip4_config_get_nameservers () -
const GPtrArray * - -nm_ip4_config_get_domains () -
const GSList * - -nm_ip4_config_get_routes () -

object_path :

the DBus object path of the device
const GArray * - -nm_ip4_config_get_wins_servers () +

Returns :

a new IP4 configuration. [transfer full]
-
-

Properties

-
+
+
+

nm_ip4_config_get_gateway ()

+
const char *        nm_ip4_config_get_gateway           (NMIP4Config *config);
+

+Gets the IP4 gateway address. +

+
---++ - - - - - - - - - - - - - - - - - - + + - - - + +
gpointeraddressesRead
-NMStringArray *domainsRead
-NMUintArray *nameserversRead
gpointerroutesRead

config :

a NMIP4Config +
-NMUintArray *wins-serversRead

Returns :

the IP4 address of the gateway.
+

Since 0.9.10

-
-

Types and Values

-
+
+
+

nm_ip4_config_get_addresses ()

+
const GSList *      nm_ip4_config_get_addresses         (NMIP4Config *config);
+

+Gets the IP4 addresses (containing the address, prefix, and gateway). +

+
--++ - - - - - - - - - - - - - - + + - - + +
#defineNM_IP4_CONFIG_ADDRESSES
#defineNM_IP4_CONFIG_NAMESERVERS
#defineNM_IP4_CONFIG_DOMAINS
#defineNM_IP4_CONFIG_ROUTES

config :

a NMIP4Config +
#defineNM_IP4_CONFIG_WINS_SERVERS

Returns :

the GSList containing NMIP4Addresses. +This is the internal copy used by the configuration and must not be modified. [element-type NetworkManager.IP4Address] +
-
-

Object Hierarchy

-
    GObject
-    ╰── NMObject
-        ╰── NMIP4Config
-
-
-
-

Description

+
+
+

nm_ip4_config_get_routes ()

+
const GSList *      nm_ip4_config_get_routes            (NMIP4Config *config);

+Gets the routes.

-
-
-

Functions

-
-

nm_ip4_config_new ()

-
GObject *
-nm_ip4_config_new (DBusGConnection *connection,
-                   const char *object_path);
-

Creates a new NMIP4Config.

-
-

Parameters

-
+
---++ - - - + + - - - + +

connection

the DBusGConnection

 

config :

a NMIP4Config +

object_path

the DBus object path of the device

 

Returns :

the GSList containing +NMIP4Routes. This is the internal copy used by the configuration, +and must not be modified. [element-type NetworkManager.IP4Route] +
-
-

Returns

-

a new IP4 configuration.

-

[transfer full]

-
-

-

nm_ip4_config_get_addresses ()

-
const GSList *
-nm_ip4_config_get_addresses (NMIP4Config *config);
-

Gets the IP4 addresses (containing the address, prefix, and gateway).

-
-

Parameters

-
+

nm_ip4_config_get_nameservers ()

+
const GArray *      nm_ip4_config_get_nameservers       (NMIP4Config *config);
+

+Gets the domain name servers (DNS). +

+
---++ - - - - - + + + + + + + + + +

config

a NMIP4Config

 

config :

a NMIP4Config +

Returns :

the GArray containing guint32s. +This is the internal copy used by the configuration and must not be +modified. [element-type guint32] +
-
-

Returns

-

the GSList containing NMIP4Addresses. -This is the internal copy used by the configuration and must not be modified.

-

[element-type NetworkManager.IP4Address]

-
-

-

nm_ip4_config_get_nameservers ()

-
const GArray *
-nm_ip4_config_get_nameservers (NMIP4Config *config);
-

Gets the domain name servers (DNS).

-
-

Parameters

-
+

nm_ip4_config_get_domains ()

+
const GPtrArray *   nm_ip4_config_get_domains           (NMIP4Config *config);
+

+Gets the domain names. +

+
---++ - - - - - + + + + + + + + + +

config

a NMIP4Config

 

config :

a NMIP4Config +

Returns :

the GPtrArray containing domains as strings. This is the +internal copy used by the configuration, and must not be modified. [element-type utf8] +
-
-

Returns

-

the GArray containing guint32s. This is the internal copy used by the -configuration and must not be modified.

-

[element-type guint32]

-
-

-

nm_ip4_config_get_domains ()

-
const GPtrArray *
-nm_ip4_config_get_domains (NMIP4Config *config);
-

Gets the domain names.

-
-

Parameters

-
----- - - - - - -

config

a NMIP4Config

 
-
-
-

Returns

-

the GPtrArray containing domains as strings. This is the -internal copy used by the configuration, and must not be modified.

-

[element-type utf8]

-
-
-
-
-

nm_ip4_config_get_routes ()

-
const GSList *
-nm_ip4_config_get_routes (NMIP4Config *config);
-

Gets the routes.

-
-

Parameters

-
+

nm_ip4_config_get_searches ()

+
const GPtrArray *   nm_ip4_config_get_searches          (NMIP4Config *config);
+

+Gets the dns searches. +

+
---++ - - - - - + + + + + + + + + +

config

a NMIP4Config

 

config :

a NMIP4Config +

Returns :

the GPtrArray containing dns searches as strings. This is the +internal copy used by the configuration, and must not be modified. [element-type utf8] +
-
-
-

Returns

-

the GSList containing -NMIP4Routes. This is the internal copy used by the configuration, -and must not be modified.

-

[element-type NetworkManager.IP4Route]

-
+

Since 0.9.10


-

nm_ip4_config_get_wins_servers ()

-
const GArray *
-nm_ip4_config_get_wins_servers (NMIP4Config *config);
-

Gets the Windows Internet Name Service servers (WINS).

-
-

Parameters

-
+

nm_ip4_config_get_wins_servers ()

+
const GArray *      nm_ip4_config_get_wins_servers      (NMIP4Config *config);
+

+Gets the Windows Internet Name Service servers (WINS). +

+
---++ - - - - - + + + + + + + + + +

config

a NMIP4Config

 

config :

a NMIP4Config +

Returns :

the GArray containing guint32s. +This is the internal copy used by the configuration and must not be +modified. [element-type guint32] +
-
-

Returns

-

the GArray containing guint32s. -This is the internal copy used by the configuration and must not be modified.

-

[element-type guint32]

-
-
-

Types and Values

+

Property Details

-

NM_IP4_CONFIG_ADDRESSES

-
#define NM_IP4_CONFIG_ADDRESSES "addresses"
-
+

The "addresses" property

+
  "addresses"                gpointer              : Read

+The GPtrArray containing NMIP4Addresses of the configuration.


-

NM_IP4_CONFIG_NAMESERVERS

-
#define NM_IP4_CONFIG_NAMESERVERS "nameservers"
-
+

The "domains" property

+
  "domains"                  NMStringArray*        : Read

+The GPtrArray containing domain strings of the configuration.


-

NM_IP4_CONFIG_DOMAINS

-
#define NM_IP4_CONFIG_DOMAINS "domains"
-
+

The "gateway" property

+
  "gateway"                  gchar*                : Read

+The IP4 gateway address of the configuration as string.

+

Default value: NULL

+

Since 0.9.10


-

NM_IP4_CONFIG_ROUTES

-
#define NM_IP4_CONFIG_ROUTES "routes"
-
+

The "nameservers" property

+
  "nameservers"              NMUintArray*          : Read

+The GArray containing name servers (guint32s) of the configuration.


-

NM_IP4_CONFIG_WINS_SERVERS

-
#define NM_IP4_CONFIG_WINS_SERVERS "wins-servers"
-
+

The "routes" property

+
  "routes"                   gpointer              : Read

+The GPtrArray containing NMSettingIP4Routes of the configuration.

-
-
-

Property Details

-
-

The “addresses” property

-
  “addresses”                gpointer
-

Addresses.

-

Flags: Read

-
-
-
-

The “domains” property

-
  “domains”                  NMStringArray *
-

Domains.

-

Flags: Read

-

-

The “nameservers” property

-
  “nameservers”              NMUintArray *
-

Nameservers.

-

Flags: Read

-
-
-
-

The “routes” property

-
  “routes”                   gpointer
-

Routes.

-

Flags: Read

+

The "searches" property

+
  "searches"                 NMStringArray*        : Read
+

+The GPtrArray containing dns search strings of the configuration. +

+

Since 0.9.10


-

The “wins-servers” property

-
  “wins-servers”             NMUintArray *
-

WINS Servers.

-

Flags: Read

+

The "wins-servers" property

+
  "wins-servers"             NMUintArray*          : Read
+

+The GArray containing WINS servers (guint32s) of the configuration. +

+ Generated by GTK-Doc V1.19
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMIP6Config.html b/docs/libnm-glib/html/NMIP6Config.html index 4d918c54..9f0865a2 100644 --- a/docs/libnm-glib/html/NMIP6Config.html +++ b/docs/libnm-glib/html/NMIP6Config.html @@ -2,28 +2,36 @@ -libnm-glib Reference Manual: NMIP6Config +NMIP6Config - + - - - - - - - + + + + + + + + + +
@@ -31,349 +39,450 @@

NMIP6Config

NMIP6Config

- +
+ +
+

Object Hierarchy

+
+  GObject
+   +----NMObject
+         +----NMIP6Config
+
+
+
+

Implemented Interfaces

+

+NMIP6Config implements + GInitable and GAsyncInitable.

+
-

Functions

-
+

Properties

+
+  "addresses"                NMIP6AddressObjectArray*  : Read
+  "domains"                  NMStringArray*        : Read
+  "gateway"                  gchar*                : Read
+  "nameservers"              NMIP6AddressArray*    : Read
+  "routes"                   NMIP6RouteObjectArray*  : Read
+  "searches"                 NMStringArray*        : Read
+
+ +
+

Description

+

+

+
+
+

Details

+
+

NMIP6Config

+
typedef struct _NMIP6Config NMIP6Config;
+

+

+
+
+
+

NMIP6ConfigClass

+
typedef struct {
+	NMObjectClass parent;
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+	void (*_reserved5) (void);
+	void (*_reserved6) (void);
+} NMIP6ConfigClass;
+
+

+

+
+
+
+

NM_IP6_CONFIG_GATEWAY

+
#define NM_IP6_CONFIG_GATEWAY "gateway"
+
+

+

+
+
+
+

NM_IP6_CONFIG_ADDRESSES

+
#define NM_IP6_CONFIG_ADDRESSES "addresses"
+
+

+

+
+
+
+

NM_IP6_CONFIG_ROUTES

+
#define NM_IP6_CONFIG_ROUTES "routes"
+
+

+

+
+
+
+

NM_IP6_CONFIG_NAMESERVERS

+
#define NM_IP6_CONFIG_NAMESERVERS "nameservers"
+
+

+

+
+
+
+

NM_IP6_CONFIG_DOMAINS

+
#define NM_IP6_CONFIG_DOMAINS "domains"
+
+

+

+
+
+
+

NM_IP6_CONFIG_SEARCHES

+
#define NM_IP6_CONFIG_SEARCHES "searches"
+
+

+

+
+
+
+

nm_ip6_config_new ()

+
GObject *           nm_ip6_config_new                   (DBusGConnection *connection,
+                                                         const char *object_path);
+

+Creates a new NMIP6Config. +

+
--++ - - + - - + + - - + + +
-GObject * - -nm_ip6_config_new () +

connection :

the DBusGConnection
const GSList * - -nm_ip6_config_get_addresses () -

object_path :

the DBus object path of the device
const GSList * - -nm_ip6_config_get_nameservers () +

Returns :

a new IP6 configuration. [transfer full]
+
+
+
+

nm_ip6_config_get_gateway ()

+
const char *        nm_ip6_config_get_gateway           (NMIP6Config *config);
+

+Gets the IP6 gateway. +

+
++++ + - - + - - + +
const GPtrArray * - -nm_ip6_config_get_domains () +

config :

a NMIP6Config
const GSList * - -nm_ip6_config_get_routes () -

Returns :

the IPv6 gateway of the configuration.
+

Since 0.9.10

-
-

Properties

-
+
+
+

nm_ip6_config_get_addresses ()

+
const GSList *      nm_ip6_config_get_addresses         (NMIP6Config *config);
+

+Gets the IP6 addresses (containing the address, prefix, and gateway). +

+
---++ - - - - - - - - - - - - - + + - - - + +
-NMIP6AddressObjectArray *addressesRead
-NMStringArray *domainsRead
-NMIP6AddressArray *nameserversRead

config :

a NMIP6Config +
-NMIP6RouteObjectArray *routesRead

Returns :

the GSList containing +NMIP6Addresses. This is the internal copy used by the configuration +and must not be modified. [element-type NetworkManager.IP6Address] +
-
-

Types and Values

-
+
+
+

nm_ip6_config_get_routes ()

+
const GSList *      nm_ip6_config_get_routes            (NMIP6Config *config);
+

+Gets the routes. +

+
--++ - - - - - - - - - - + + - - + +
#defineNM_IP6_CONFIG_ADDRESSES
#defineNM_IP6_CONFIG_NAMESERVERS
#defineNM_IP6_CONFIG_DOMAINS

config :

a NMIP6Config +
#defineNM_IP6_CONFIG_ROUTES

Returns :

the GSList containing +NMIP6Routes. This is the internal copy used by the configuration, +and must not be modified. [element-type NetworkManager.IP6Route] +
-
-

Object Hierarchy

-
    GObject
-    ╰── NMObject
-        ╰── NMIP6Config
-
-
-
-

Description

+
+
+

nm_ip6_config_get_num_nameservers ()

+
guint32             nm_ip6_config_get_num_nameservers   (NMIP6Config *config);

+Gets the number of the domain name servers in the configuration.

-
-
-

Functions

-
-

nm_ip6_config_new ()

-
GObject *
-nm_ip6_config_new (DBusGConnection *connection,
-                   const char *object_path);
-

Creates a new NMIP6Config.

-
-

Parameters

-
+
---++ - - - + + - - - + +

connection

the DBusGConnection

 

config :

a NMIP6Config +

object_path

the DBus object path of the device

 

Returns :

the number of domain name servers
-
-
-

Returns

-

a new IP6 configuration.

-

[transfer full]

-
+

Since 0.9.10


-

nm_ip6_config_get_addresses ()

-
const GSList *
-nm_ip6_config_get_addresses (NMIP6Config *config);
-

Gets the IP6 addresses (containing the address, prefix, and gateway).

-
-

Parameters

-
+

nm_ip6_config_get_nameserver ()

+
const struct in6_addr * nm_ip6_config_get_nameserver    (NMIP6Config *config,
+                                                         guint32 idx);
+

+Gets the domain name server at index idx in the configuration. +

+
---++ - - - - - + + + + + + + + + + + + + +

config

a NMIP6Config

 

config :

a NMIP6Config +

idx :

index of the nameserver to return

Returns :

the IPv6 address of domain name server at index iidx. [array fixed-size=16][element-type guint8][transfer none] +
-
-
-

Returns

-

the GSList containing -NMIP6Addresses. This is the internal copy used by the configuration -and must not be modified.

-

[element-type NetworkManager.IP6Address]

-
+

Since 0.9.10


-

nm_ip6_config_get_nameservers ()

-
const GSList *
-nm_ip6_config_get_nameservers (NMIP6Config *config);
-

Gets the domain name servers (DNS).

-
-

Parameters

-
+

nm_ip6_config_get_nameservers ()

+
const GSList *      nm_ip6_config_get_nameservers       (NMIP6Config *config);
+

+Gets the domain name servers (DNS). +

+
---++ - - - - - -

config

a NMIP6Config

 
-
-
-

Returns

-

a GSList containing elements of type 'struct in6_addr' which + + +

config :

+a NMIP6Config + + + +

Returns :

+a GSList containing elements of type 'struct in6_addr' which contain the addresses of nameservers of the configuration. This is the -internal copy used by the configuration and must not be modified.

-

-
+internal copy used by the configuration and must not be modified. + + +

-

nm_ip6_config_get_domains ()

-
const GPtrArray *
-nm_ip6_config_get_domains (NMIP6Config *config);
-

Gets the domain names.

-
-

Parameters

-
+

nm_ip6_config_get_domains ()

+
const GPtrArray *   nm_ip6_config_get_domains           (NMIP6Config *config);
+

+Gets the domain names. +

+
---++ - - - - - + + + + + + + + + +

config

a NMIP6Config

 

config :

a NMIP6Config +

Returns :

the GPtrArray containing domains as strings. +This is the internal copy used by the configuration, and must not be modified. [element-type utf8] +
-
-

Returns

-

the GPtrArray containing domains as strings. -This is the internal copy used by the configuration, and must not be modified.

-

[element-type utf8]

-
-

-

nm_ip6_config_get_routes ()

-
const GSList *
-nm_ip6_config_get_routes (NMIP6Config *config);
-

Gets the routes.

-
-

Parameters

-
+

nm_ip6_config_get_searches ()

+
const GPtrArray *   nm_ip6_config_get_searches          (NMIP6Config *config);
+

+Gets the dns searches. +

+
---++ - - - - - + + + + + + + + + +

config

a NMIP6Config

 

config :

a NMIP6Config +

Returns :

the GPtrArray containing dns searches as strings. +This is the internal copy used by the configuration, and must not be modified. [element-type utf8] +
-
-
-

Returns

-

the GSList containing -NMIP6Routes. This is the internal copy used by the configuration, -and must not be modified.

-

[element-type NetworkManager.IP6Route]

-
+

Since 0.9.10

-

Types and Values

+

Property Details

-

NM_IP6_CONFIG_ADDRESSES

-
#define NM_IP6_CONFIG_ADDRESSES "addresses"
-
+

The "addresses" property

+
  "addresses"                NMIP6AddressObjectArray*  : Read

+The GPtrArray containing the IPv6 addresses; use +nm_utils_ip6_addresses_from_gvalue() to return a GSList of +NMSettingIP6Address objects that is more usable than the raw data.


-

NM_IP6_CONFIG_NAMESERVERS

-
#define NM_IP6_CONFIG_NAMESERVERS "nameservers"
-
+

The "domains" property

+
  "domains"                  NMStringArray*        : Read

+The GPtrArray containing domain strings of the configuration.


-

NM_IP6_CONFIG_DOMAINS

-
#define NM_IP6_CONFIG_DOMAINS "domains"
-
+

The "gateway" property

+
  "gateway"                  gchar*                : Read

+The IPv6 gateway as string

+

Default value: NULL

+

Since 0.9.10


-

NM_IP6_CONFIG_ROUTES

-
#define NM_IP6_CONFIG_ROUTES "routes"
-
+

The "nameservers" property

+
  "nameservers"              NMIP6AddressArray*    : Read

+The GPtrArray containing elements of type 'struct ip6_addr' which +contain the addresses of nameservers of the configuration.

-
-
-

Property Details

-
-

The “addresses” property

-
  “addresses”                NMIP6AddressObjectArray *
-

Addresses.

-

Flags: Read

-

-

The “domains” property

-
  “domains”                  NMStringArray *
-

Domains.

-

Flags: Read

-
-
-
-

The “nameservers” property

-
  “nameservers”              NMIP6AddressArray *
-

Nameservers.

-

Flags: Read

+

The "routes" property

+
  "routes"                   NMIP6RouteObjectArray*  : Read
+

+The GPtrArray containing the IPv6 routes; use +nm_utils_ip6_routes_from_gvalue() to return a GSList of +NMSettingIP6Address objects that is more usable than the raw data. +


-

The “routes” property

-
  “routes”                   NMIP6RouteObjectArray *
-

Routes.

-

Flags: Read

+

The "searches" property

+
  "searches"                 NMStringArray*        : Read
+

+The GPtrArray containing dns search strings of the configuration. +

+

Since 0.9.10

+ Generated by GTK-Doc V1.19
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMObject.html b/docs/libnm-glib/html/NMObject.html index 6d3c8a09..99b05001 100644 --- a/docs/libnm-glib/html/NMObject.html +++ b/docs/libnm-glib/html/NMObject.html @@ -2,29 +2,38 @@ -libnm-glib Reference Manual: NMObject +NMObject - + - - - - - - - + + + + + + + + + +
@@ -32,286 +41,281 @@

NMObject

NMObject

- +
+
-

Functions

-
---- - - - - - - - - - - - - - - -
-GQuark - -nm_object_error_quark () -
-DBusGConnection * - -nm_object_get_connection () -
const char * - -nm_object_get_path () -
+

Object Hierarchy

+
+  GObject
+   +----NMObject
+         +----NMClient
+         +----NMDevice
+         +----NMWimaxNsp
+         +----NMAccessPoint
+         +----NMIP4Config
+         +----NMIP6Config
+         +----NMActiveConnection
+         +----NMDHCP4Config
+         +----NMDHCP6Config
+
+
+
+

Implemented Interfaces

+

+NMObject implements + GInitable and GAsyncInitable.

Properties

-
----- - - - - - - - - - - - - -
-DBusGConnection *dbus-connectionRead / Write / Construct Only
-gchar *dbus-pathRead / Write / Construct Only
+
+  "dbus-connection"          DBusGConnection*      : Read / Write / Construct Only
+  "dbus-path"                gchar*                : Read / Write / Construct Only
+

Signals

-
----- - - - - - -
voidobject-creation-failedRun First
+
+  "object-creation-failed"                         : Run First
+
+
+
+

Description

+

+

-

Types and Values

-
+

Details

+
+

enum NMObjectError

+
typedef enum {
+	NM_OBJECT_ERROR_UNKNOWN = 0,
+	NM_OBJECT_ERROR_OBJECT_CREATION_FAILURE,
+} NMObjectError;
+
+

+Describes errors that may result from operations involving a NMObject. +

+
--++ - - - - - - - - - - + + - - + +
enumNMObjectError
#defineNM_OBJECT_ERROR
#defineNM_OBJECT_DBUS_CONNECTION

NM_OBJECT_ERROR_UNKNOWN

unknown or unclassified error +
#defineNM_OBJECT_DBUS_PATH

NM_OBJECT_ERROR_OBJECT_CREATION_FAILURE

an error ocured while creating an NMObject +
-
-

Object Hierarchy

-
    GObject
-    ╰── NMObject
-        ├── NMClient
-        ├── NMDevice
-        ├── NMWimaxNsp
-        ├── NMAccessPoint
-        ├── NMIP4Config
-        ├── NMIP6Config
-        ├── NMActiveConnection
-        ├── NMDHCP4Config
-        ╰── NMDHCP6Config
+
+
+

NM_OBJECT_ERROR

+
#define NM_OBJECT_ERROR nm_object_error_quark ()
 
-
-
-

Description

-
-

Functions

-
-

nm_object_error_quark ()

-
GQuark
-nm_object_error_quark (void);
-

Registers an error quark for NMObject if necessary.

-
-

Returns

-

the error quark used for NMObject errors.

-

-
-

-

nm_object_get_connection ()

-
DBusGConnection *
-nm_object_get_connection (NMObject *object);
-

Gets the NMObject's DBusGConnection.

-
-

Parameters

-
+

nm_object_error_quark ()

+
GQuark              nm_object_error_quark               (void);
+

+Registers an error quark for NMObject if necessary. +

+
---++ - - - + +

object

a NMObject

 

Returns :

the error quark used for NMObject errors.
-
-

Returns

-

the connection.

-

[transfer none]

-
-

-

nm_object_get_path ()

-
const char *
-nm_object_get_path (NMObject *object);
-

Gets the DBus path of the NMObject.

-
-

Parameters

-
----- - - - - - -

object

a NMObject

 
+

NM_OBJECT_DBUS_CONNECTION

+
#define NM_OBJECT_DBUS_CONNECTION "dbus-connection"
+
+

+

-
-

Returns

-

the object's path. This is the internal string used by the -device, and must not be modified.

-

+
+
+

NM_OBJECT_DBUS_PATH

+
#define NM_OBJECT_DBUS_PATH "dbus-path"
+
+

+

+
+
+

NMObject

+
typedef struct _NMObject NMObject;
+

+

+
+
+

NMObjectClass

+
typedef struct {
+	GObjectClass parent;
+
+	/* Signals */
+	/* The "object-creation-failed" signal is PRIVATE for libnm-glib and
+	 * is not meant for any external usage.  It indicates that an error
+	 * occured during creation of an object.
+	 */
+	void (*object_creation_failed) (NMObject *master_object,
+	                                GError *error,
+	                                char *failed_path);
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+	void (*_reserved5) (void);
+	void (*_reserved6) (void);
+} NMObjectClass;
+
+

+

-
-

Types and Values

+
-

enum NMObjectError

-

Describes errors that may result from operations involving a NMObject.

-
-

Members

-
+

nm_object_get_connection ()

+
DBusGConnection *   nm_object_get_connection            (NMObject *object);
+

+Gets the NMObject's DBusGConnection. +

+
---++ - - + - - - + -

NM_OBJECT_ERROR_UNKNOWN

-

unknown or unclassified error

+

object :

a NMObject  

NM_OBJECT_ERROR_OBJECT_CREATION_FAILURE

-

an error ocured while creating an NMObject

+

Returns :

the connection. [transfer none]  
-
-
-
-

NM_OBJECT_ERROR

-
#define NM_OBJECT_ERROR nm_object_error_quark ()
-
-

-

-

-

NM_OBJECT_DBUS_CONNECTION

-
#define NM_OBJECT_DBUS_CONNECTION "dbus-connection"
-
-

-

-
-
-
-

NM_OBJECT_DBUS_PATH

-
#define NM_OBJECT_DBUS_PATH "dbus-path"
-
+

nm_object_get_path ()

+
const char *        nm_object_get_path                  (NMObject *object);

+Gets the DBus path of the NMObject.

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

object :

a NMObject +

Returns :

the object's path. This is the internal string used by the +device, and must not be modified.

Property Details

-

The “dbus-connection” property

-
  “dbus-connection”          DBusGConnection *
+

The "dbus-connection" property

+
  "dbus-connection"          DBusGConnection*      : Read / Write / Construct Only

Connection.

-

Flags: Read / Write / Construct Only


-

The “dbus-path” property

-
  “dbus-path”                gchar *
+

The "dbus-path" property

+
  "dbus-path"                gchar*                : Read / Write / Construct Only

DBus Object Path.

-

Flags: Read / Write / Construct Only

Default value: NULL

Signal Details

-

The “object-creation-failed” signal

-
void
-user_function (NMObject *master_object,
-               gpointer  error,
-               gpointer  failed_path,
-               gpointer  user_data)
-

Flags: Run First

+

The "object-creation-failed" signal

+
void                user_function                      (NMObject *master_object,
+                                                        gpointer  error,
+                                                        gpointer  failed_path,
+                                                        gpointer  user_data)          : Run First
+

+Indicates that an error occured while creating an NMObject object +during property handling of master_object. +

+

+Note: Be aware that the signal is private for libnm-glib's internal + use. +

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

master_object :

the object that received the signal

error :

the error that occured while creating object

failed_path :

object path of the failed object

user_data :

user data set when the signal handler was connected.
+ Generated by GTK-Doc V1.19
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMRemoteConnection.html b/docs/libnm-glib/html/NMRemoteConnection.html index 36b650d5..a5d9e214 100644 --- a/docs/libnm-glib/html/NMRemoteConnection.html +++ b/docs/libnm-glib/html/NMRemoteConnection.html @@ -2,29 +2,38 @@ -libnm-glib Reference Manual: NMRemoteConnection +NMRemoteConnection - + - - - - - - - + + + + + + + + + +
@@ -32,511 +41,635 @@

NMRemoteConnection

NMRemoteConnection

- +
+
+

Synopsis

+
enum                NMRemoteConnectionError;
+#define             NM_REMOTE_CONNECTION_ERROR
+GQuark              nm_remote_connection_error_quark    (void);
+#define             NM_REMOTE_CONNECTION_UNSAVED
+#define             NM_REMOTE_CONNECTION_UPDATED
+#define             NM_REMOTE_CONNECTION_REMOVED
+                    NMRemoteConnection;
+                    NMRemoteConnectionClass;
+void                (*NMRemoteConnectionResultFunc)     (NMRemoteConnection *connection,
+                                                         GError *error,
+                                                         gpointer user_data);
+typedef             NMRemoteConnectionCommitFunc;
+typedef             NMRemoteConnectionDeleteFunc;
+void                (*NMRemoteConnectionGetSecretsFunc) (NMRemoteConnection *connection,
+                                                         GHashTable *secrets,
+                                                         GError *error,
+                                                         gpointer user_data);
+NMRemoteConnection * nm_remote_connection_new           (DBusGConnection *bus,
+                                                         const char *path);
+void                nm_remote_connection_commit_changes (NMRemoteConnection *connection,
+                                                         NMRemoteConnectionResultFunc callback,
+                                                         gpointer user_data);
+void                nm_remote_connection_commit_changes_unsaved
+                                                        (NMRemoteConnection *connection,
+                                                         NMRemoteConnectionResultFunc callback,
+                                                         gpointer user_data);
+void                nm_remote_connection_save           (NMRemoteConnection *connection,
+                                                         NMRemoteConnectionResultFunc callback,
+                                                         gpointer user_data);
+void                nm_remote_connection_delete         (NMRemoteConnection *connection,
+                                                         NMRemoteConnectionResultFunc callback,
+                                                         gpointer user_data);
+void                nm_remote_connection_get_secrets    (NMRemoteConnection *connection,
+                                                         const char *setting_name,
+                                                         NMRemoteConnectionGetSecretsFunc callback,
+                                                         gpointer user_data);
+gboolean            nm_remote_connection_get_unsaved    (NMRemoteConnection *connection);
+
+
+
+

Object Hierarchy

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

Implemented Interfaces

+

+NMRemoteConnection implements + GInitable and GAsyncInitable.

+
+
+

Properties

+
+  "bus"                      DBusGConnection*      : Write / Construct Only
+  "dbus-connection"          DBusGConnection*      : Write / Construct Only
+  "dbus-path"                gchar*                : Write / Construct Only
+  "unsaved"                  gboolean              : Read
+
+
-

Functions

-
+

Signals

+
+  "removed"                                        : Run First
+  "updated"                                        : Run First
+  "visible"                                        : Run First
+
+ +
+

Description

+

+

+
+
+

Details

+
+

enum NMRemoteConnectionError

+
typedef enum {
+	NM_REMOTE_CONNECTION_ERROR_UNKNOWN = 0,             /*< nick=UnknownError >*/
+	NM_REMOTE_CONNECTION_ERROR_DISCONNECTED,            /*< nick=Disconnected >*/
+} NMRemoteConnectionError;
+
+
--++ - - + - - - - - - - - - - - - - - - - - - - - - - +
-void - -(*NMRemoteConnectionCommitFunc) () +

NM_REMOTE_CONNECTION_ERROR_UNKNOWN

unknown or unclassified error
-void - -(*NMRemoteConnectionDeleteFunc) () -
-void - -(*NMRemoteConnectionGetSecretsFunc) () -
-NMRemoteConnection * - -nm_remote_connection_new () -
-void - -nm_remote_connection_commit_changes () -
-void - -nm_remote_connection_delete () -
-void - -nm_remote_connection_get_secrets () +

NM_REMOTE_CONNECTION_ERROR_DISCONNECTED

dbus disconnected
-
-

Properties

-
+
+
+

NM_REMOTE_CONNECTION_ERROR

+
#define NM_REMOTE_CONNECTION_ERROR (nm_remote_connection_error_quark ())
+
+

+

+
+
+
+

nm_remote_connection_error_quark ()

+
GQuark              nm_remote_connection_error_quark    (void);
+

+Registers an error quark for NMRemoteConnection if necessary. +

+
---++ - - - - - - - - - - - - - - - - - + + + +
-DBusGConnection *busWrite / Construct Only
-DBusGConnection *dbus-connectionWrite / Construct Only
-gchar *dbus-pathWrite / Construct Only

Returns :

the error quark used for NMRemoteConnection errors.
-
-

Signals

-
+
+
+

NM_REMOTE_CONNECTION_UNSAVED

+
#define NM_REMOTE_CONNECTION_UNSAVED         "unsaved"
+
+

+

+
+
+
+

NM_REMOTE_CONNECTION_UPDATED

+
#define NM_REMOTE_CONNECTION_UPDATED         "updated"
+
+

+

+
+
+
+

NM_REMOTE_CONNECTION_REMOVED

+
#define NM_REMOTE_CONNECTION_REMOVED         "removed"
+
+

+

+
+
+
+

NMRemoteConnection

+
typedef struct _NMRemoteConnection NMRemoteConnection;
+

+

+
+
+
+

NMRemoteConnectionClass

+
typedef struct {
+	NMConnectionClass parent_class;
+
+	/* Signals */
+	void (*updated) (NMRemoteConnection *connection,
+	                 GHashTable *new_settings);
+
+	void (*removed) (NMRemoteConnection *connection);
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+	void (*_reserved5) (void);
+	void (*_reserved6) (void);
+} NMRemoteConnectionClass;
+
+

+

+
+
+
+

NMRemoteConnectionResultFunc ()

+
void                (*NMRemoteConnectionResultFunc)     (NMRemoteConnection *connection,
+                                                         GError *error,
+                                                         gpointer user_data);
+

+Called when NetworkManager has finished an asynchronous operation on a +connection, like commit changes, deleting, saving, etc. +

+
---++ - - - + + - - - + + - - - + +
voidremovedRun First

connection :

the connection for which an operation was performed
voidupdatedRun First

error :

on failure, a descriptive error
voidvisibleRun First

user_data :

user data passed to function which began the operation
-
-

Types and Values

-
---- - - - - - - - - - - -
#defineNM_REMOTE_CONNECTION_UPDATED
#defineNM_REMOTE_CONNECTION_REMOVED
-
-
-

Object Hierarchy

-
    GObject
-    ╰── NMConnection
-        ╰── NMRemoteConnection
+
+
+

NMRemoteConnectionCommitFunc

+
typedef NMRemoteConnectionResultFunc NMRemoteConnectionCommitFunc;
 
+

+

-
-

Description

+
+
+

NMRemoteConnectionDeleteFunc

+
typedef NMRemoteConnectionResultFunc NMRemoteConnectionDeleteFunc;
+

-
-

Functions

+
-

NMRemoteConnectionCommitFunc ()

-
void
-(*NMRemoteConnectionCommitFunc) (NMRemoteConnection *connection,
-                                 GError *error,
-                                 gpointer user_data);
-

Called when NetworkManager has committed outstanding changes to a connection -to backing storage as a result of nm_remote_connection_commit_changes().

-
-

Parameters

-
+

NMRemoteConnectionGetSecretsFunc ()

+
void                (*NMRemoteConnectionGetSecretsFunc) (NMRemoteConnection *connection,
+                                                         GHashTable *secrets,
+                                                         GError *error,
+                                                         gpointer user_data);
+

+Called when NetworkManager returns secrets in response to a request for +secrets via nm_remote_connection_get_secrets(). +

+
---++ - - - + + + + + + - - - + + - - - + +

connection

the connection for which updates are to be committed

 

connection :

the connection for which secrets were requested

secrets :

on success, a hash table of +hash tables, with each inner hash mapping a setting property to a GValue +containing that property's value. [element-type utf8 GLib.HashTable] +

error

on failure, a descriptive error

 

error :

on failure, a descriptive error

user_data

user data passed to nm_remote_connection_commit_changes()

 

user_data :

user data passed to nm_remote_connection_get_secrets() +
-

-

NMRemoteConnectionDeleteFunc ()

-
void
-(*NMRemoteConnectionDeleteFunc) (NMRemoteConnection *connection,
-                                 GError *error,
-                                 gpointer user_data);
-

Called when NetworkManager has deleted a connection as a result of -nm_remote_connection_delete().

-
-

Parameters

-
+

nm_remote_connection_new ()

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

+Creates a new object representing the remote connection. +

+
---++ - - - + + - - - + + - - - + +

connection

the connection to be deleted

 

bus :

a valid and connected D-Bus connection

error

on failure, a descriptive error

 

path :

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

user_data

user data passed to nm_remote_connection_delete()

 

Returns :

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

-

NMRemoteConnectionGetSecretsFunc ()

-
void
-(*NMRemoteConnectionGetSecretsFunc) (NMRemoteConnection *connection,
-                                     GHashTable *secrets,
-                                     GError *error,
-                                     gpointer user_data);
-

Called when NetworkManager returns secrets in response to a request for -secrets via nm_remote_connection_get_secrets().

-
-

Parameters

-
+

nm_remote_connection_commit_changes ()

+
void                nm_remote_connection_commit_changes (NMRemoteConnection *connection,
+                                                         NMRemoteConnectionResultFunc callback,
+                                                         gpointer user_data);
+

+Send any local changes to the settings and properties of this connection to +NetworkManager, which will immediately save them to disk. +

+
---++ - - - - - - - - + + - - - + + - - - + +

connection

the connection for which secrets were requested

 

secrets

on success, a hash table of -hash tables, with each inner hash mapping a setting property to a GValue -containing that property's value.

[element-type utf8 GLib.HashTable]

connection :

the NMRemoteConnection +

error

on failure, a descriptive error

 

callback :

a function to be called when the +commit completes. [scope async][allow-none] +

user_data

user data passed to nm_remote_connection_get_secrets()

 

user_data :

caller-specific data to be passed to callback. [closure] +
-

-

nm_remote_connection_new ()

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

Creates a new object representing the remote connection.

-
-

Parameters

-
+

nm_remote_connection_commit_changes_unsaved ()

+
void                nm_remote_connection_commit_changes_unsaved
+                                                        (NMRemoteConnection *connection,
+                                                         NMRemoteConnectionResultFunc callback,
+                                                         gpointer user_data);
+

+Send any local changes to the settings and properties of this connection to +NetworkManager. The changes are not saved to disk until either +nm_remote_connection_save() or nm_remote_connection_commit_changes() is +called. +

+
---++ - - - + + + + + + - - - + +

bus

a valid and connected D-Bus connection

 

connection :

the NMRemoteConnection +

callback :

a function to be called when the +commit completes. [scope async][allow-none] +

path

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

 

user_data :

caller-specific data to be passed to callback. [closure] +
-
-
-

Returns

-

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

-

-
+

Since 0.9.10


-

nm_remote_connection_commit_changes ()

-
void
-nm_remote_connection_commit_changes (NMRemoteConnection *connection,
-                                     NMRemoteConnectionCommitFunc callback,
-                                     gpointer user_data);
-

Save any local changes to the settings and properties of this connection and -save them in the settings service.

-
-

Parameters

-
+

nm_remote_connection_save ()

+
void                nm_remote_connection_save           (NMRemoteConnection *connection,
+                                                         NMRemoteConnectionResultFunc callback,
+                                                         gpointer user_data);
+

+Saves the connection to disk if the connection has changes that have not yet +been written to disk, or if the connection has never been saved. +

+
---++ - - - + + - - - + + - - - + +

connection

the NMRemoteConnection

 

connection :

the NMRemoteConnection +

callback

a function to be called when the -commit completes.

[scope async][allow-none]

callback :

a function to be called when the +save completes. [scope async][allow-none] +

user_data

caller-specific data to be passed to callback -.

[closure]

user_data :

caller-specific data to be passed to callback. [closure] +
-
+

Since 0.9.10


-

nm_remote_connection_delete ()

-
void
-nm_remote_connection_delete (NMRemoteConnection *connection,
-                             NMRemoteConnectionDeleteFunc callback,
-                             gpointer user_data);
-

Delete the connection.

-
-

Parameters

-
+

nm_remote_connection_delete ()

+
void                nm_remote_connection_delete         (NMRemoteConnection *connection,
+                                                         NMRemoteConnectionResultFunc callback,
+                                                         gpointer user_data);
+

+Delete the connection. +

+
---++ - - - + + - - - + + - - - + +

connection

the NMRemoteConnection

 

connection :

the NMRemoteConnection +

callback

a function to be called when the delete completes.

[scope async][allow-none]

callback :

a function to be called when the delete completes. [scope async][allow-none] +

user_data

caller-specific data to be passed to callback -.

[closure]

user_data :

caller-specific data to be passed to callback. [closure] +
-

-

nm_remote_connection_get_secrets ()

-
void
-nm_remote_connection_get_secrets (NMRemoteConnection *connection,
-                                  const char *setting_name,
-                                  NMRemoteConnectionGetSecretsFunc callback,
-                                  gpointer user_data);
-

Request the connection's secrets.

-
-

Parameters

-
+

nm_remote_connection_get_secrets ()

+
void                nm_remote_connection_get_secrets    (NMRemoteConnection *connection,
+                                                         const char *setting_name,
+                                                         NMRemoteConnectionGetSecretsFunc callback,
+                                                         gpointer user_data);
+

+Request the connection's secrets. +

+
---++ - - - + + - - - + + - - - + + - - - + +

connection

the NMRemoteConnection

 

connection :

the NMRemoteConnection +

setting_name

the NMSetting object name to get secrets for

 

setting_name :

the NMSetting object name to get secrets for

callback

a function to be called when the update completes; -must not be NULL.

[scope async]

callback :

a function to be called when the update completes; +must not be NULL. [scope async] +

user_data

caller-specific data to be passed to callback -.

[closure]

user_data :

caller-specific data to be passed to callback. [closure] +
-
-
-
-

Types and Values

-
-

NM_REMOTE_CONNECTION_UPDATED

-
#define NM_REMOTE_CONNECTION_UPDATED         "updated"
-
-

-

-

-

NM_REMOTE_CONNECTION_REMOVED

-
#define NM_REMOTE_CONNECTION_REMOVED         "removed"
-
-

-

+

nm_remote_connection_get_unsaved ()

+
gboolean            nm_remote_connection_get_unsaved    (NMRemoteConnection *connection);
+
++++ + + + + + + + + + + +

connection :

the NMRemoteConnection +

Returns :

+TRUE if the remote connection contains changes that have not +been saved to disk, FALSE if the connection is the same as its on-disk +representation.
+

Since 0.9.10

Property Details

-

The “bus” property

-
  “bus”                      DBusGConnection *
+

The "bus" property

+
  "bus"                      DBusGConnection*      : Write / Construct Only

DBusGConnection.

-

Flags: Write / Construct Only


-

The “dbus-connection” property

-
  “dbus-connection”          DBusGConnection *
+

The "dbus-connection" property

+
  "dbus-connection"          DBusGConnection*      : Write / Construct Only

DBusGConnection.

-

Flags: Write / Construct Only


-

The “dbus-path” property

-
  “dbus-path”                gchar *
+

The "dbus-path" property

+
  "dbus-path"                gchar*                : Write / Construct Only

DBus Object Path.

-

Flags: Write / Construct Only

Default value: NULL

+
+
+

The "unsaved" property

+
  "unsaved"                  gboolean              : Read
+

+TRUE if the remote connection contains changes that have not been saved +to disk, FALSE if the connection is the same as its on-disk representation. +

+

Default value: FALSE

+

Since 0.9.10

+

Signal Details

-

The “removed” signal

-
void
-user_function (NMRemoteConnection *connection,
-               gpointer            user_data)
-

Flags: Run First

+

The "removed" signal

+
void                user_function                      (NMRemoteConnection *connection,
+                                                        gpointer            user_data)       : Run First
+

+This signal is emitted when a connection is either deleted or becomes +invisible to the current user. +

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

connection :

a NMConnection +

user_data :

user data set when the signal handler was connected.

-

The “updated” signal

-
void
-user_function (NMRemoteConnection *connection,
-               gpointer            user_data)
-

Flags: Run First

+

The "updated" signal

+
void                user_function                      (NMRemoteConnection *connection,
+                                                        gpointer            user_data)       : Run First
+

+This signal is emitted when a connection changes, and it is +still visible to the user. +

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

connection :

a NMConnection +

user_data :

user data set when the signal handler was connected.

-

The “visible” signal

-
void
-user_function (NMRemoteConnection *nmremoteconnection,
-               gboolean            arg1,
-               gpointer            user_data)
-

Flags: Run First

+

The "visible" signal

+
void                user_function                      (NMRemoteConnection *nmremoteconnection,
+                                                        gboolean            arg1,
+                                                        gpointer            user_data)               : Run First
+

+

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

nmremoteconnection :

the object which received the signal.

user_data :

user data set when the signal handler was connected.
+ Generated by GTK-Doc V1.19
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMRemoteSettings.html b/docs/libnm-glib/html/NMRemoteSettings.html index be81004e..fe7118c8 100644 --- a/docs/libnm-glib/html/NMRemoteSettings.html +++ b/docs/libnm-glib/html/NMRemoteSettings.html @@ -2,755 +2,1038 @@ -libnm-glib Reference Manual: NMRemoteSettings +NMRemoteSettings - + - - - - - - - + + + + + + + + + +
- +

NMRemoteSettings

-

NMRemoteSettings

+

NMRemoteSettings — A helper for NetworkManager's settings API

+
+

Synopsis

+
enum                NMRemoteSettingsError;
+#define             NM_REMOTE_SETTINGS_ERROR
+GQuark              nm_remote_settings_error_quark      (void);
+#define             NM_REMOTE_SETTINGS_BUS
+#define             NM_REMOTE_SETTINGS_SERVICE_RUNNING
+#define             NM_REMOTE_SETTINGS_HOSTNAME
+#define             NM_REMOTE_SETTINGS_CAN_MODIFY
+#define             NM_REMOTE_SETTINGS_NEW_CONNECTION
+#define             NM_REMOTE_SETTINGS_CONNECTIONS_READ
+void                (*NMRemoteSettingsAddConnectionFunc)
+                                                        (NMRemoteSettings *settings,
+                                                         NMRemoteConnection *connection,
+                                                         GError *error,
+                                                         gpointer user_data);
+void                (*NMRemoteSettingsLoadConnectionsFunc)
+                                                        (NMRemoteSettings *settings,
+                                                         char **failures,
+                                                         GError *error,
+                                                         gpointer user_data);
+void                (*NMRemoteSettingsSaveHostnameFunc) (NMRemoteSettings *settings,
+                                                         GError *error,
+                                                         gpointer user_data);
+struct              NMRemoteSettings;
+struct              NMRemoteSettingsClass;
+NMRemoteSettings *  nm_remote_settings_new              (DBusGConnection *bus);
+void                nm_remote_settings_new_async        (DBusGConnection *bus,
+                                                         GCancellable *cancellable,
+                                                         GAsyncReadyCallback callback,
+                                                         gpointer user_data);
+NMRemoteSettings *  nm_remote_settings_new_finish       (GAsyncResult *result,
+                                                         GError **error);
+GSList *            nm_remote_settings_list_connections (NMRemoteSettings *settings);
+NMRemoteConnection * nm_remote_settings_get_connection_by_id
+                                                        (NMRemoteSettings *settings,
+                                                         const char *id);
+NMRemoteConnection * nm_remote_settings_get_connection_by_path
+                                                        (NMRemoteSettings *settings,
+                                                         const char *path);
+NMRemoteConnection * nm_remote_settings_get_connection_by_uuid
+                                                        (NMRemoteSettings *settings,
+                                                         const char *uuid);
+gboolean            nm_remote_settings_add_connection   (NMRemoteSettings *settings,
+                                                         NMConnection *connection,
+                                                         NMRemoteSettingsAddConnectionFunc callback,
+                                                         gpointer user_data);
+gboolean            nm_remote_settings_add_connection_unsaved
+                                                        (NMRemoteSettings *settings,
+                                                         NMConnection *connection,
+                                                         NMRemoteSettingsAddConnectionFunc callback,
+                                                         gpointer user_data);
+gboolean            nm_remote_settings_load_connections (NMRemoteSettings *settings,
+                                                         char **filenames,
+                                                         char ***failures,
+                                                         GError **error);
+gboolean            nm_remote_settings_reload_connections
+                                                        (NMRemoteSettings *settings,
+                                                         GError **error);
+gboolean            nm_remote_settings_save_hostname    (NMRemoteSettings *settings,
+                                                         const char *hostname,
+                                                         NMRemoteSettingsSaveHostnameFunc callback,
+                                                         gpointer user_data);
+
+
+
+

Object Hierarchy

+
+  GObject
+   +----NMRemoteSettings
+
+
+
+

Implemented Interfaces

+

+NMRemoteSettings implements + GInitable and GAsyncInitable.

+
+
+

Properties

+
+  "bus"                      DBusGConnection*      : Read / Write / Construct Only
+  "can-modify"               gboolean              : Read
+  "hostname"                 gchar*                : Read
+  "service-running"          gboolean              : Read
+
+
+ +
+

Description

+

+The NMRemoteSettings object represents NetworkManager's "settings" service, +which stores network configuration and allows authenticated clients to +add, delete, and modify that configuration. The data required to connect +to a specific network is called a "connection" and encapsulated by the +NMConnection object. Once a connection is known to NetworkManager, having +either been added by a user or read from on-disk storage, the +NMRemoteSettings object creates a NMRemoteConnection object which +represents this stored connection. Use the NMRemoteConnection object to +perform any operations like modification or deletion. +

+

+To add a new network connection to the NetworkManager settings service, first +build up a template NMConnection object. Since this connection is not yet +added to NetworkManager, it is known only to your program and is not yet +an NMRemoteConnection. Then ask NMRemoteSettings to add your connection. +When the connection is added successfully, the supplied callback is called +and returns to your program the new NMRemoteConnection which represents +the stored object known to NetworkManager. +

+

+

+
+ + + + + + + +
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
static void
+added_cb (NMRemoteSettings *settings,
+          NMRemoteConnection *remote,
+          GError *error,
+          gpointer user_data)
+{
+   if (error)
+       g_print ("Error adding connection: %s", error->message);
+   else {
+       g_print ("Added: %s\n", nm_connection_get_path (NM_CONNECTION (remote)));
+       /* Use 'remote' with nm_remote_connection_commit_changes() to save
+        * changes and nm_remote_connection_delete() to delete the connection */
+   }
+}
+
+static gboolean
+add_wired_connection (const char *human_name)
+{
+   NMConnection *connection;
+   NMSettingConnection *s_con;
+   NMSettingWired *s_wired;
+   char *uuid;
+   gboolean success;
+
+   connection = nm_connection_new ();
+
+   /* Build up the 'connection' setting */
+   s_con = (NMSettingConnection *) nm_setting_connection_new ();
+   uuid = nm_utils_uuid_generate ();
+   g_object_set (G_OBJECT (s_con),
+                 NM_SETTING_CONNECTION_UUID, uuid,
+                 NM_SETTING_CONNECTION_ID, human_name,
+                 NM_SETTING_CONNECTION_TYPE, NM_SETTING_WIRED_SETTING_NAME,
+                 NULL);
+   g_free (uuid);
+   nm_connection_add_setting (connection, NM_SETTING (s_con));
+
+   /* Add the required 'wired' setting as this is a wired connection */
+   nm_connection_add_setting (connection, nm_setting_wired_new ());
+
+   /* Add an 'ipv4' setting using AUTO configuration (eg DHCP) */
+   s_ip4 = (NMSettingIP4Config *) nm_setting_ip4_config_new ();
+   g_object_set (G_OBJECT (s_ip4),
+                 NM_SETTING_IP4_CONFIG_METHOD, NM_SETTING_IP4_CONFIG_METHOD_AUTO,
+                 NULL);
+   nm_connection_add_setting (connection, NM_SETTING (s_ip4));
+
+   /* Ask NetworkManager to store the connection */
+   success = nm_remote_settings_add_connection (settings, connection, added_cb, loop);
+
+   /* Release the template connection; the actual stored connection will
+    * be returned in added_cb() */
+   g_object_unref (connection);
+
+   /* Let glib event loop run and added_cb() will be called when NetworkManager
+    * is done adding the new connection. */
+
+   return success;
+}
+
+ +

+

+
-

Functions

-
+

Details

+
+

enum NMRemoteSettingsError

+
typedef enum {
+	NM_REMOTE_SETTINGS_ERROR_UNKNOWN = 0,            /*< nick=UnknownError >*/
+	NM_REMOTE_SETTINGS_ERROR_CONNECTION_REMOVED,     /*< nick=ConnectionRemoved >*/
+	NM_REMOTE_SETTINGS_ERROR_CONNECTION_UNAVAILABLE, /*< nick=ConnectionUnavailable >*/
+	NM_REMOTE_SETTINGS_ERROR_SERVICE_UNAVAILABLE,    /*< nick=ServiceUnavailable >*/
+} NMRemoteSettingsError;
+
+

+Describes errors that may result from operations involving a NMRemoteSettings. +

+
--++ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + - - + - - +
-GQuark - -nm_remote_settings_error_quark () -
-void - -(*NMRemoteSettingsAddConnectionFunc) () -
-void - -(*NMRemoteSettingsSaveHostnameFunc) () -
-NMRemoteSettings * - -nm_remote_settings_new () -
-void - -nm_remote_settings_new_async () -
-NMRemoteSettings * - -nm_remote_settings_new_finish () -
-GSList * - -nm_remote_settings_list_connections () -
-NMRemoteConnection * - -nm_remote_settings_get_connection_by_path () +

NM_REMOTE_SETTINGS_ERROR_UNKNOWN

unknown or unclassified error
-NMRemoteConnection * - -nm_remote_settings_get_connection_by_uuid () +

NM_REMOTE_SETTINGS_ERROR_CONNECTION_REMOVED

the NMRemoteConnection object + was removed before it was completely initialized
-gboolean - -nm_remote_settings_add_connection () +

NM_REMOTE_SETTINGS_ERROR_CONNECTION_UNAVAILABLE

the NMRemoteConnection object + is not visible or otherwise unreadable
-gboolean - -nm_remote_settings_save_hostname () +

NM_REMOTE_SETTINGS_ERROR_SERVICE_UNAVAILABLE

NetworkManager is not running. + (Since 0.9.10)
-
-

Properties

-
----- - - - - - - - - - - - - - - - - - - - - - - -
-DBusGConnection *busRead / Write / Construct Only
gbooleancan-modifyRead
-gchar *hostnameRead
gbooleanservice-runningRead
+
+
+

NM_REMOTE_SETTINGS_ERROR

+
#define NM_REMOTE_SETTINGS_ERROR nm_remote_settings_error_quark ()
+
+

+

-
-

Signals

-
+
+
+

nm_remote_settings_error_quark ()

+
GQuark              nm_remote_settings_error_quark      (void);
+

+Registers an error quark for NMRemoteSettings if necessary. +

+
---++ - - - - - - - - - - - - + + + +
voidconnections-readRun First
voidnew-connectionRun First

Returns :

the error quark used for NMRemoteSettings errors.
-
-

Types and Values

- +
+
+

NM_REMOTE_SETTINGS_BUS

+
#define NM_REMOTE_SETTINGS_BUS             "bus"
+
+

+

-
-

Object Hierarchy

-
    GObject
-    ╰── NMRemoteSettings
+
+
+

NM_REMOTE_SETTINGS_SERVICE_RUNNING

+
#define NM_REMOTE_SETTINGS_SERVICE_RUNNING "service-running"
 
+

+

-
-

Description

+
+
+

NM_REMOTE_SETTINGS_HOSTNAME

+
#define NM_REMOTE_SETTINGS_HOSTNAME        "hostname"
+

-
-

Functions

+
+
+

NM_REMOTE_SETTINGS_CAN_MODIFY

+
#define NM_REMOTE_SETTINGS_CAN_MODIFY      "can-modify"
+
+

+

+
+
+
+

NM_REMOTE_SETTINGS_NEW_CONNECTION

+
#define NM_REMOTE_SETTINGS_NEW_CONNECTION    "new-connection"
+
+

+

+
+
+
+

NM_REMOTE_SETTINGS_CONNECTIONS_READ

+
#define NM_REMOTE_SETTINGS_CONNECTIONS_READ  "connections-read"
+
+

+

+
+
+
+

NMRemoteSettingsAddConnectionFunc ()

+
void                (*NMRemoteSettingsAddConnectionFunc)
+                                                        (NMRemoteSettings *settings,
+                                                         NMRemoteConnection *connection,
+                                                         GError *error,
+                                                         gpointer user_data);
+

+

+
+
-

nm_remote_settings_error_quark ()

-
GQuark
-nm_remote_settings_error_quark (void);
-

Registers an error quark for NMRemoteSettings if necessary.

-
-

Returns

-

the error quark used for NMRemoteSettings errors.

-

+

NMRemoteSettingsLoadConnectionsFunc ()

+
void                (*NMRemoteSettingsLoadConnectionsFunc)
+                                                        (NMRemoteSettings *settings,
+                                                         char **failures,
+                                                         GError *error,
+                                                         gpointer user_data);
+

+

+
+
+

NMRemoteSettingsSaveHostnameFunc ()

+
void                (*NMRemoteSettingsSaveHostnameFunc) (NMRemoteSettings *settings,
+                                                         GError *error,
+                                                         gpointer user_data);
+

+


-

NMRemoteSettingsAddConnectionFunc ()

-
void
-(*NMRemoteSettingsAddConnectionFunc) (NMRemoteSettings *settings,
-                                      NMRemoteConnection *connection,
-                                      GError *error,
-                                      gpointer user_data);
+

struct NMRemoteSettings

+
struct NMRemoteSettings;


-

NMRemoteSettingsSaveHostnameFunc ()

-
void
-(*NMRemoteSettingsSaveHostnameFunc) (NMRemoteSettings *settings,
-                                     GError *error,
-                                     gpointer user_data);
+

struct NMRemoteSettingsClass

+
struct NMRemoteSettingsClass {
+	GObjectClass parent;
+
+	/* Signals */
+	void (*new_connection) (NMRemoteSettings *settings,
+	                        NMRemoteConnection *connection);
+
+	void (*connections_read) (NMRemoteSettings *settings);
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+	void (*_reserved5) (void);
+	void (*_reserved6) (void);
+};
+


-

nm_remote_settings_new ()

-
NMRemoteSettings *
-nm_remote_settings_new (DBusGConnection *bus);
-

Creates a new object representing the remote settings service.

-

Note that this will do blocking D-Bus calls to initialize the -settings object. You can use nm_remote_settings_new_async() if you -want to avoid that.

-
-

Parameters

-
+

nm_remote_settings_new ()

+
NMRemoteSettings *  nm_remote_settings_new              (DBusGConnection *bus);
+

+Creates a new object representing the remote settings service. +

+

+Note that this will do blocking D-Bus calls to initialize the +settings object. You can use nm_remote_settings_new_async() if you +want to avoid that. +

+
---++ - - - - - + + + + + + + + + +

bus

a valid and connected D-Bus connection.

[allow-none]

bus :

a valid and connected D-Bus connection. [allow-none] +

Returns :

the new remote settings object on success, or NULL on failure
-
-

Returns

-

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

-

-
-

-

nm_remote_settings_new_async ()

-
void
-nm_remote_settings_new_async (DBusGConnection *bus,
-                              GCancellable *cancellable,
-                              GAsyncReadyCallback callback,
-                              gpointer user_data);
-

Creates a new object representing the remote settings service and -begins asynchronously initializing it. callback - will be called -when it is done; use nm_remote_settings_new_finish() to get the -result.

-
-

Parameters

-
+

nm_remote_settings_new_async ()

+
void                nm_remote_settings_new_async        (DBusGConnection *bus,
+                                                         GCancellable *cancellable,
+                                                         GAsyncReadyCallback callback,
+                                                         gpointer user_data);
+

+Creates a new object representing the remote settings service and +begins asynchronously initializing it. callback will be called +when it is done; use nm_remote_settings_new_finish() to get the +result. +

+
---++ - - - + + - - - + + - - - + + - - - + +

bus

a valid and connected D-Bus connection.

[allow-none]

bus :

a valid and connected D-Bus connection. [allow-none] +

cancellable

a GCancellable, or NULL

 

cancellable :

a GCancellable, or NULL +

callback

callback to call when the settings object is created

 

callback :

callback to call when the settings object is created

user_data

data for callback -

 

user_data :

data for callback +
-

-

nm_remote_settings_new_finish ()

-
NMRemoteSettings *
-nm_remote_settings_new_finish (GAsyncResult *result,
-                               GError **error);
-

Gets the result of an nm_remote_settings_new_async() call.

-
-

Parameters

-
+

nm_remote_settings_new_finish ()

+
NMRemoteSettings *  nm_remote_settings_new_finish       (GAsyncResult *result,
+                                                         GError **error);
+

+Gets the result of an nm_remote_settings_new_async() call. +

+
---++ - - - + + + + + + - - - + +

result

a GAsyncResult

 

result :

a GAsyncResult +

error :

location for a GError, or NULL +

error

location for a GError, or NULL

 

Returns :

a new NMRemoteSettings object, or NULL on error
-
-

Returns

-

a new NMRemoteSettings object, or NULL on error

-

-
-

-

nm_remote_settings_list_connections ()

-
GSList *
-nm_remote_settings_list_connections (NMRemoteSettings *settings);
-
-

Parameters

-
+

nm_remote_settings_list_connections ()

+
GSList *            nm_remote_settings_list_connections (NMRemoteSettings *settings);
+
---++ - - - - - -

settings

the NMRemoteSettings

 
-
-
-

Returns

-

a + + +

settings :

+the NMRemoteSettings + + + +

Returns :

+a list containing all connections provided by the remote settings service. Each element of the returned list is a NMRemoteConnection instance, which is owned by the NMRemoteSettings object and should not be freed by the caller. The returned list is, however, owned by the caller and should be freed -using g_slist_free() when no longer required.

-

[transfer container][element-type NMClient.RemoteConnection]

-
+using g_slist_free() when no longer required. [transfer container][element-type NMClient.RemoteConnection] + + + +

-

nm_remote_settings_get_connection_by_path ()

-
NMRemoteConnection *
-nm_remote_settings_get_connection_by_path
-                               (NMRemoteSettings *settings,
-                                const char *path);
-

Returns the NMRemoteConnection representing the connection at path -.

-
-

Parameters

-
+

nm_remote_settings_get_connection_by_id ()

+
NMRemoteConnection * nm_remote_settings_get_connection_by_id
+                                                        (NMRemoteSettings *settings,
+                                                         const char *id);
+

+Returns the first matching NMRemoteConnection matching a given id. +

+
---++ - - - + + + + + + - - - + +

settings

the NMRemoteSettings

 

settings :

the NMRemoteSettings +

id :

the id of the remote connection

path

the D-Bus object path of the remote connection

 

Returns :

the remote connection object on success, or NULL if no +matching object was found. [transfer none] +
-
-
-

Returns

-

the remote connection object on success, or NULL if the object was -not known.

-

[transfer none]

-
+

Since 0.9.10


-

nm_remote_settings_get_connection_by_uuid ()

-
NMRemoteConnection *
-nm_remote_settings_get_connection_by_uuid
-                               (NMRemoteSettings *settings,
-                                const char *uuid);
-

Returns the NMRemoteConnection identified by uuid -.

-
-

Parameters

-
+

nm_remote_settings_get_connection_by_path ()

+
NMRemoteConnection * nm_remote_settings_get_connection_by_path
+                                                        (NMRemoteSettings *settings,
+                                                         const char *path);
+

+Returns the NMRemoteConnection representing the connection at path. +

+
---++ - - - + + + + + + - - - + +

settings

the NMRemoteSettings

 

settings :

the NMRemoteSettings +

path :

the D-Bus object path of the remote connection

uuid

the UUID of the remote connection

 

Returns :

the remote connection object on success, or NULL if the object was +not known. [transfer none] +
-
-

Returns

-

the remote connection object on success, or NULL if the object was -not known.

-

[transfer none]

-
-

-

nm_remote_settings_add_connection ()

-
gboolean
-nm_remote_settings_add_connection (NMRemoteSettings *settings,
-                                   NMConnection *connection,
-                                   NMRemoteSettingsAddConnectionFunc callback,
-                                   gpointer user_data);
-

Requests that the remote settings service add the given settings to a new -connection.

-
-

Parameters

-
+

nm_remote_settings_get_connection_by_uuid ()

+
NMRemoteConnection * nm_remote_settings_get_connection_by_uuid
+                                                        (NMRemoteSettings *settings,
+                                                         const char *uuid);
+

+Returns the NMRemoteConnection identified by uuid. +

+
---++ - - - - - - - - + + - - - + + - - - + +

settings

the NMRemoteSettings

 

connection

the connection to add. Note that this object's settings will be -added, not the object itself

 

settings :

the NMRemoteSettings +

callback

callback to be called when the add operation completes.

[scope async]

uuid :

the UUID of the remote connection

user_data

caller-specific data passed to callback -.

[closure]

Returns :

the remote connection object on success, or NULL if the object was +not known. [transfer none] +
-
-

Returns

-

TRUE if the request was successful, FALSE if it failed

-

-
-

-

nm_remote_settings_save_hostname ()

-
gboolean
-nm_remote_settings_save_hostname (NMRemoteSettings *settings,
-                                  const char *hostname,
-                                  NMRemoteSettingsSaveHostnameFunc callback,
-                                  gpointer user_data);
-

Requests that the machine's persistent hostname be set to the specified value -or cleared.

-
-

Parameters

-
+

nm_remote_settings_add_connection ()

+
gboolean            nm_remote_settings_add_connection   (NMRemoteSettings *settings,
+                                                         NMConnection *connection,
+                                                         NMRemoteSettingsAddConnectionFunc callback,
+                                                         gpointer user_data);
+

+Requests that the remote settings service add the given settings to a new +connection. The connection is immediately written to disk. connection is +untouched by this function and only serves as a template of the settings to +add. The NMRemoteConnection object that represents what NetworkManager +actually added is returned to callback when the addition operation is complete. +

+

+Note that the NMRemoteConnection returned in callback may not contain +identical settings to connection as NetworkManager may perform automatic +completion and/or normalization of connection properties. +

+
---++ - - - + + + + + + - - - + + - - - + + - - - + +

settings

the NMRemoteSettings

 

settings :

the NMRemoteSettings +

connection :

the connection to add. Note that this object's settings will be +added, not the object itself

hostname

the new persistent hostname to set, or NULL to clear any existing -persistent hostname

 

callback :

callback to be called when the add operation completes. [scope async] +

callback

callback to be called when the -hostname operation completes.

[scope async][allow-none]

user_data :

caller-specific data passed to callback. [closure] +

user_data

caller-specific data passed to callback -.

[closure]

Returns :

+TRUE if the request was successful, FALSE if it failed
-
-

Returns

-

TRUE if the request was successful, FALSE if it failed

-

-
-
-
-
-

Types and Values

+
-

enum NMRemoteSettingsError

-

Describes errors that may result from operations involving a NMRemoteSettings.

-
-

Members

-
+

nm_remote_settings_add_connection_unsaved ()

+
gboolean            nm_remote_settings_add_connection_unsaved
+                                                        (NMRemoteSettings *settings,
+                                                         NMConnection *connection,
+                                                         NMRemoteSettingsAddConnectionFunc callback,
+                                                         gpointer user_data);
+

+Requests that the remote settings service add the given settings to a new +connection. The connection is not written to disk, which may be done at +a later time by calling the connection's nm_remote_connection_commit_changes() +method. +

+
---++ - - + - - - + + + + + - - - + - + + + +

NM_REMOTE_SETTINGS_ERROR_UNKNOWN

-

unknown or unclassified error

+

settings :

the NMRemoteSettings  

NM_REMOTE_SETTINGS_ERROR_CONNECTION_REMOVED

-

the NMRemoteConnection object - was removed before it was completely initialized

+

connection :

the connection to add. Note that this object's settings will be +added, not the object itself

callback :

callback to be called when the add operation completes. [scope async]  

NM_REMOTE_SETTINGS_ERROR_CONNECTION_UNAVAILABLE

-

the NMRemoteConnection object - is not visible or otherwise unreadable

+

user_data :

caller-specific data passed to callback. [closure]  

Returns :

+TRUE if the request was successful, FALSE if it failed
-
-
-
-
-

NM_REMOTE_SETTINGS_ERROR

-
#define NM_REMOTE_SETTINGS_ERROR nm_remote_settings_error_quark ()
-
-

-

-
-
-
-

NM_REMOTE_SETTINGS_BUS

-
#define NM_REMOTE_SETTINGS_BUS             "bus"
-
-

-

+

Since 0.9.10


-

NM_REMOTE_SETTINGS_SERVICE_RUNNING

-
#define NM_REMOTE_SETTINGS_SERVICE_RUNNING "service-running"
-
+

nm_remote_settings_load_connections ()

+
gboolean            nm_remote_settings_load_connections (NMRemoteSettings *settings,
+                                                         char **filenames,
+                                                         char ***failures,
+                                                         GError **error);

+Requests that the remote settings service load or reload the given files, +adding or updating the connections described within.

-
-
-
-

NM_REMOTE_SETTINGS_HOSTNAME

-
#define NM_REMOTE_SETTINGS_HOSTNAME        "hostname"
-

+The changes to the indicated files will not yet be reflected in +settings's connections array when the function returns.

-
-
-
-

NM_REMOTE_SETTINGS_CAN_MODIFY

-
#define NM_REMOTE_SETTINGS_CAN_MODIFY      "can-modify"
-

+If all of the indicated files were successfully loaded, the +function will return TRUE, and failures will be set to NULL. If +NetworkManager tried to load the files, but some (or all) failed, +then failures will be set to a NULL-terminated array of the +filenames that failed to load.

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

settings :

the NMRemoteSettings +

filenames :

+NULL-terminated array of filenames to load

failures :

on return, a NULL-terminated array of +filenames that failed to load. [out][transfer full] +

error :

return location for GError +

Returns :

+TRUE if NetworkManager at least tried to load filenames, +FALSE if an error occurred (eg, permission denied).
+

Since 0.9.10


-

NM_REMOTE_SETTINGS_NEW_CONNECTION

-
#define NM_REMOTE_SETTINGS_NEW_CONNECTION    "new-connection"
-
+

nm_remote_settings_reload_connections ()

+
gboolean            nm_remote_settings_reload_connections
+                                                        (NMRemoteSettings *settings,
+                                                         GError **error);

+Requests that the remote settings service reload all connection +files from disk, adding, updating, and removing connections until +the in-memory state matches the on-disk state.

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

settings :

the NMRemoteSettings +

error :

return location for GError +

Returns :

+TRUE on success, FALSE on failure
+

Since 0.9.10


-

NM_REMOTE_SETTINGS_CONNECTIONS_READ

-
#define NM_REMOTE_SETTINGS_CONNECTIONS_READ  "connections-read"
-
+

nm_remote_settings_save_hostname ()

+
gboolean            nm_remote_settings_save_hostname    (NMRemoteSettings *settings,
+                                                         const char *hostname,
+                                                         NMRemoteSettingsSaveHostnameFunc callback,
+                                                         gpointer user_data);

+Requests that the machine's persistent hostname be set to the specified value +or cleared.

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

settings :

the NMRemoteSettings +

hostname :

the new persistent hostname to set, or NULL to clear any existing +persistent hostname

callback :

callback to be called when the +hostname operation completes. [scope async][allow-none] +

user_data :

caller-specific data passed to callback. [closure] +

Returns :

+TRUE if the request was successful, FALSE if it failed

Property Details

-

The “bus” property

-
  “bus”                      DBusGConnection *
+

The "bus" property

+
  "bus"                      DBusGConnection*      : Read / Write / Construct Only

DBusGConnection.

-

Flags: Read / Write / Construct Only


-

The “can-modify” property

-
  “can-modify”               gboolean
+

The "can-modify" property

+
  "can-modify"               gboolean              : Read

Can modify anything (hostname, connections, etc).

-

Flags: Read

Default value: FALSE


-

The “hostname” property

-
  “hostname”                 gchar *
+

The "hostname" property

+
  "hostname"                 gchar*                : Read

Persistent hostname.

-

Flags: Read

Default value: NULL


-

The “service-running” property

-
  “service-running”          gboolean
+

The "service-running" property

+
  "service-running"          gboolean              : Read

Is service running.

-

Flags: Read

Default value: FALSE

Signal Details

-

The “connections-read” signal

-
void
-user_function (NMRemoteSettings *nmremotesettings,
-               gpointer          user_data)
-

Flags: Run First

+

The "connections-read" signal

+
void                user_function                      (NMRemoteSettings *nmremotesettings,
+                                                        gpointer          user_data)             : Run First
+

+

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

nmremotesettings :

the object which received the signal.

user_data :

user data set when the signal handler was connected.

-

The “new-connection” signal

-
void
-user_function (NMRemoteSettings *nmremotesettings,
-               GObject          *arg1,
-               gpointer          user_data)
-

Flags: Run First

+

The "new-connection" signal

+
void                user_function                      (NMRemoteSettings *nmremotesettings,
+                                                        GObject          *arg1,
+                                                        gpointer          user_data)             : Run First
+

+

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

nmremotesettings :

the object which received the signal.

user_data :

user data set when the signal handler was connected.
+
+
+ Generated by GTK-Doc V1.19
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMSecretAgent.html b/docs/libnm-glib/html/NMSecretAgent.html index 94bc4e1f..2aee97d9 100644 --- a/docs/libnm-glib/html/NMSecretAgent.html +++ b/docs/libnm-glib/html/NMSecretAgent.html @@ -2,29 +2,36 @@ -libnm-glib Reference Manual: NMSecretAgent +NMSecretAgent - + - - - - - - - + + + + + + + + + +
@@ -32,230 +39,318 @@

NMSecretAgent

NMSecretAgent

- +
+
+

Synopsis

+
#define             NM_SECRET_AGENT_ERROR
+GQuark              nm_secret_agent_error_quark         (void);
+enum                NMSecretAgentError;
+enum                NMSecretAgentCapabilities;
+enum                NMSecretAgentGetSecretsFlags;
+#define             NM_SECRET_AGENT_IDENTIFIER
+#define             NM_SECRET_AGENT_AUTO_REGISTER
+#define             NM_SECRET_AGENT_REGISTERED
+#define             NM_SECRET_AGENT_CAPABILITIES
+#define             NM_SECRET_AGENT_REGISTRATION_RESULT
+                    NMSecretAgent;
+void                (*NMSecretAgentGetSecretsFunc)      (NMSecretAgent *agent,
+                                                         NMConnection *connection,
+                                                         GHashTable *secrets,
+                                                         GError *error,
+                                                         gpointer user_data);
+void                (*NMSecretAgentSaveSecretsFunc)     (NMSecretAgent *agent,
+                                                         NMConnection *connection,
+                                                         GError *error,
+                                                         gpointer user_data);
+void                (*NMSecretAgentDeleteSecretsFunc)   (NMSecretAgent *agent,
+                                                         NMConnection *connection,
+                                                         GError *error,
+                                                         gpointer user_data);
+                    NMSecretAgentClass;
+gboolean            nm_secret_agent_register            (NMSecretAgent *self);
+gboolean            nm_secret_agent_unregister          (NMSecretAgent *self);
+gboolean            nm_secret_agent_get_registered      (NMSecretAgent *self);
+void                nm_secret_agent_get_secrets         (NMSecretAgent *self,
+                                                         NMConnection *connection,
+                                                         const char *setting_name,
+                                                         const char **hints,
+                                                         NMSecretAgentGetSecretsFlags flags,
+                                                         NMSecretAgentGetSecretsFunc callback,
+                                                         gpointer user_data);
+void                nm_secret_agent_save_secrets        (NMSecretAgent *self,
+                                                         NMConnection *connection,
+                                                         NMSecretAgentSaveSecretsFunc callback,
+                                                         gpointer user_data);
+void                nm_secret_agent_delete_secrets      (NMSecretAgent *self,
+                                                         NMConnection *connection,
+                                                         NMSecretAgentDeleteSecretsFunc callback,
+                                                         gpointer user_data);
+
+
+
+

Object Hierarchy

+
+  GObject
+   +----NMSecretAgent
+
+
+
+

Properties

+
+  "auto-register"            gboolean              : Read / Write / Construct
+  "capabilities"             NMSecretAgentCapabilities  : Read / Write / Construct
+  "identifier"               gchar*                : Read / Write / Construct Only
+  "registered"               gboolean              : Read
+
+
+
+

Signals

+
+  "registration-result"                            : Run First
+
+
+
+

Description

+

+

+
-

Functions

-
+

Details

+
+

NM_SECRET_AGENT_ERROR

+
#define NM_SECRET_AGENT_ERROR         (nm_secret_agent_error_quark ())
+
+

+

+
+
+
+

nm_secret_agent_error_quark ()

+
GQuark              nm_secret_agent_error_quark         (void);
+

+

+
+
+
+

enum NMSecretAgentError

+
typedef enum {
+	NM_SECRET_AGENT_ERROR_NOT_AUTHORIZED = 0, /*< nick=NotAuthorized >*/
+	NM_SECRET_AGENT_ERROR_INVALID_CONNECTION, /*< nick=InvalidConnection >*/
+	NM_SECRET_AGENT_ERROR_USER_CANCELED,      /*< nick=UserCanceled >*/
+	NM_SECRET_AGENT_ERROR_AGENT_CANCELED,     /*< nick=AgentCanceled >*/
+	NM_SECRET_AGENT_ERROR_INTERNAL_ERROR,     /*< nick=InternalError >*/
+	NM_SECRET_AGENT_ERROR_NO_SECRETS,         /*< nick=NoSecrets >*/
+} NMSecretAgentError;
+
+

+NMSecretAgentError values are passed by secret agents back to NetworkManager +when they encounter problems retrieving secrets on behalf of NM. +

+
--++ - - - - - - - - - - + - - + - - + - - + - - + - - - - - - - - - - - - - - +
#defineNM_SECRET_AGENT_ERROR
-GQuark - -nm_secret_agent_error_quark () -
-void - -(*NMSecretAgentGetSecretsFunc) () +

NM_SECRET_AGENT_ERROR_NOT_AUTHORIZED

the caller (ie, NetworkManager) is not + authorized to make this request
-void - -(*NMSecretAgentSaveSecretsFunc) () +

NM_SECRET_AGENT_ERROR_INVALID_CONNECTION

the connection for which secrets + were requested could not be found
-void - -(*NMSecretAgentDeleteSecretsFunc) () +

NM_SECRET_AGENT_ERROR_USER_CANCELED

the request was canceled by the user
-gboolean - -nm_secret_agent_register () +

NM_SECRET_AGENT_ERROR_AGENT_CANCELED

the agent canceled the request + because it was requested to do so by NetworkManager
-gboolean - -nm_secret_agent_unregister () +

NM_SECRET_AGENT_ERROR_INTERNAL_ERROR

some internal error in the agent caused + the request to fail
-gboolean - -nm_secret_agent_get_registered () -
-void - -nm_secret_agent_get_secrets () -
-void - -nm_secret_agent_save_secrets () -
-void - -nm_secret_agent_delete_secrets () +

NM_SECRET_AGENT_ERROR_NO_SECRETS

the agent cannot find any secrets for this + connection
-
-

Properties

-
+
+
+

enum NMSecretAgentCapabilities

+
typedef enum {
+	NM_SECRET_AGENT_CAPABILITY_NONE = 0x0,
+	NM_SECRET_AGENT_CAPABILITY_VPN_HINTS = 0x1,
+
+	/* boundary value */
+	NM_SECRET_AGENT_CAPABILITY_LAST = NM_SECRET_AGENT_CAPABILITY_VPN_HINTS
+} NMSecretAgentCapabilities;
+
+

+NMSecretAgentCapabilities indicate various capabilities of the agent. +

+
---++ - - - + + - - - + + - - - + +
gbooleanauto-registerRead / Write / Construct

NM_SECRET_AGENT_CAPABILITY_NONE

the agent supports no special capabilities +
-gchar *identifierRead / Write / Construct Only

NM_SECRET_AGENT_CAPABILITY_VPN_HINTS

the agent supports sending hints given +by the NMSecretAgentClass::get_secrets() class method to VPN plugin +authentication dialogs. +
gbooleanregisteredRead

NM_SECRET_AGENT_CAPABILITY_LAST

bounds checking value; should not be used. +
+

Since 0.9.10

-
-

Signals

-
----- - - - - - -
voidregistration-resultRun First
-
-
-

Types and Values

-
+
+
+

enum NMSecretAgentGetSecretsFlags

+
typedef enum {
+	NM_SECRET_AGENT_GET_SECRETS_FLAG_NONE = 0x0,
+	NM_SECRET_AGENT_GET_SECRETS_FLAG_ALLOW_INTERACTION = 0x1,
+	NM_SECRET_AGENT_GET_SECRETS_FLAG_REQUEST_NEW = 0x2,
+	NM_SECRET_AGENT_GET_SECRETS_FLAG_USER_REQUESTED = 0x4
+} NMSecretAgentGetSecretsFlags;
+
+

+NMSecretAgentGetSecretsFlags values modify the behavior of a GetSecrets request. +

+
--++ - - - - - - - - - - + + - - + + - - + + - - + +
enumNMSecretAgentError
enumNMSecretAgentGetSecretsFlags
#defineNM_SECRET_AGENT_IDENTIFIER

NM_SECRET_AGENT_GET_SECRETS_FLAG_NONE

no special behavior; by default no +user interaction is allowed and requests for secrets are fulfilled from +persistent storage, or if no secrets are available an error is returned. +
#defineNM_SECRET_AGENT_AUTO_REGISTER

NM_SECRET_AGENT_GET_SECRETS_FLAG_ALLOW_INTERACTION

allows the request to +interact with the user, possibly prompting via UI for secrets if any are +required, or if none are found in persistent storage. +
#defineNM_SECRET_AGENT_REGISTERED

NM_SECRET_AGENT_GET_SECRETS_FLAG_REQUEST_NEW

explicitly prompt for new +secrets from the user. This flag signals that NetworkManager thinks any +existing secrets are invalid or wrong. This flag implies that interaction +is allowed. +
#defineNM_SECRET_AGENT_REGISTRATION_RESULT

NM_SECRET_AGENT_GET_SECRETS_FLAG_USER_REQUESTED

set if the request was +initiated by user-requested action via the D-Bus interface, as opposed to +automatically initiated by NetworkManager in response to (for example) scan +results or carrier changes. +
-
-

Object Hierarchy

-
    GObject
-    ╰── NMSecretAgent
+
+
+

NM_SECRET_AGENT_IDENTIFIER

+
#define NM_SECRET_AGENT_IDENTIFIER          "identifier"
 
+

+

-
-

Description

+
+
+

NM_SECRET_AGENT_AUTO_REGISTER

+
#define NM_SECRET_AGENT_AUTO_REGISTER       "auto-register"
+

-
-

Functions

+
-

NM_SECRET_AGENT_ERROR

-
#define NM_SECRET_AGENT_ERROR         (nm_secret_agent_error_quark ())
+

NM_SECRET_AGENT_REGISTERED

+
#define NM_SECRET_AGENT_REGISTERED          "registered"
 


-

nm_secret_agent_error_quark ()

-
GQuark
-nm_secret_agent_error_quark (void);
+

NM_SECRET_AGENT_CAPABILITIES

+
#define NM_SECRET_AGENT_CAPABILITIES        "capabilities"
+

-
-

Returns

-

+
+
+

NM_SECRET_AGENT_REGISTRATION_RESULT

+
#define NM_SECRET_AGENT_REGISTRATION_RESULT "registration-result"
+
+

+


-

NMSecretAgentGetSecretsFunc ()

-
void
-(*NMSecretAgentGetSecretsFunc) (NMSecretAgent *agent,
-                                NMConnection *connection,
-                                GHashTable *secrets,
-                                GError *error,
-                                gpointer user_data);
-

Called as a result of a request by NM to retrieve secrets. When the +

NMSecretAgent

+
typedef struct _NMSecretAgent NMSecretAgent;
+

+

+
+
+
+

NMSecretAgentGetSecretsFunc ()

+
void                (*NMSecretAgentGetSecretsFunc)      (NMSecretAgent *agent,
+                                                         NMConnection *connection,
+                                                         GHashTable *secrets,
+                                                         GError *error,
+                                                         gpointer user_data);
+

+Called as a result of a request by NM to retrieve secrets. When the NMSecretAgent subclass has finished retrieving secrets and is ready to return them, or to return an error, this function should be called with -those secrets or the error.

-

To easily create the hash table to return the WiFi PSK, you could do -something like this:

+those secrets or the error. +

+

+To easily create the hash table to return the Wi-Fi PSK, you could do +something like this: +

-

Example 1. Creating a secrets hash

+

Example 1. Creating a secrets hash

@@ -284,9 +379,9 @@ something like this:

s_wsec = (NMSettingWirelessSecurity *) nm_setting_wireless_security_new ();g_object_set (G_OBJECT (s_wsec), NM_SETTING_WIRELESS_SECURITY_PSK, "my really cool PSK", - NULL); + NULL);nm_connection_add_setting (secrets, NM_SETTING (s_wsec)); -secrets_hash = nm_connection_to_hash (secrets, NM_SETTING_HASH_FLAG_ALL); +secrets_hash = nm_connection_to_hash (secrets, NM_SETTING_HASH_FLAG_ALL);(call the NMSecretAgentGetSecretsFunc with secrets_hash) @@ -298,591 +393,516 @@ something like this:

-
-

Parameters

-
+


+

+
---++ - - - + + - - + - +has returned. [transfer none] + - - + - +is the secret. [element-type utf8 GLib.HashTable] + - - - + + - - - + +

agent

the secret agent object

 

agent :

the secret agent object

connection

the connection for which secrets were requested, +

connection :

the connection for which secrets were requested, note that this object will be unrefed after the callback has returned, use g_object_ref()/g_object_unref() if you want to use this object after the callback -has returned.

[transfer none]

secrets

the GHashTable containing +

secrets :

the GHashTable containing the requested secrets in the same format as an NMConnection hash (as created by nm_connection_to_hash() for example). Each key in secrets should be the name of a NMSetting object (like "802-11-wireless-security") and each value should be a GHashTable. The sub-hashes map string:GValue where the string is the setting property name (like "psk") and the value -is the secret.

[element-type utf8 GLib.HashTable]

error

if the secrets request failed, give a descriptive error here

 

error :

if the secrets request failed, give a descriptive error here

user_data

caller-specific data to be passed to the function

 

user_data :

caller-specific data to be passed to the function
-

-

NMSecretAgentSaveSecretsFunc ()

-
void
-(*NMSecretAgentSaveSecretsFunc) (NMSecretAgent *agent,
-                                 NMConnection *connection,
-                                 GError *error,
-                                 gpointer user_data);
-

Called as a result of a request by NM to save secrets. When the +

NMSecretAgentSaveSecretsFunc ()

+
void                (*NMSecretAgentSaveSecretsFunc)     (NMSecretAgent *agent,
+                                                         NMConnection *connection,
+                                                         GError *error,
+                                                         gpointer user_data);
+

+Called as a result of a request by NM to save secrets. When the NMSecretAgent subclass has finished saving the secrets, this function -should be called.

-
-

Parameters

-
+should be called. +

+
---++ - - - + + - - + - +has returned. [transfer none] + - - - + + - - - + +

agent

the secret agent object

 

agent :

the secret agent object

connection

the connection for which secrets were to be saved, +

connection :

the connection for which secrets were to be saved, note that this object will be unrefed after the callback has returned, use g_object_ref()/g_object_unref() if you want to use this object after the callback -has returned.

[transfer none]

error

if the saving secrets failed, give a descriptive error here

 

error :

if the saving secrets failed, give a descriptive error here

user_data

caller-specific data to be passed to the function

 

user_data :

caller-specific data to be passed to the function
-

-

NMSecretAgentDeleteSecretsFunc ()

-
void
-(*NMSecretAgentDeleteSecretsFunc) (NMSecretAgent *agent,
-                                   NMConnection *connection,
-                                   GError *error,
-                                   gpointer user_data);
-

Called as a result of a request by NM to delete secrets. When the +

NMSecretAgentDeleteSecretsFunc ()

+
void                (*NMSecretAgentDeleteSecretsFunc)   (NMSecretAgent *agent,
+                                                         NMConnection *connection,
+                                                         GError *error,
+                                                         gpointer user_data);
+

+Called as a result of a request by NM to delete secrets. When the NMSecretAgent subclass has finished deleting the secrets, this function -should be called.

-
-

Parameters

-
+should be called. +

+
---++ - - - + + - - + - +has returned. [transfer none] + - - - + + - - - + +

agent

the secret agent object

 

agent :

the secret agent object

connection

the connection for which secrets were to be deleted, +

connection :

the connection for which secrets were to be deleted, note that this object will be unrefed after the callback has returned, use g_object_ref()/g_object_unref() if you want to use this object after the callback -has returned.

[transfer none]

error

if the deleting secrets failed, give a descriptive error here

 

error :

if the deleting secrets failed, give a descriptive error here

user_data

caller-specific data to be passed to the function

 

user_data :

caller-specific data to be passed to the function
+
+
+

NMSecretAgentClass

+
typedef struct {
+	GObjectClass parent;
+
+	/* Virtual methods for subclasses */
+
+	/* Called when the subclass should retrieve and return secrets.  Subclass
+	 * must copy or reference any arguments it may require after returning from
+	 * this method, as the arguments will freed (except for 'self', 'callback',
+	 * and 'user_data' of course).  If the request is canceled, the callback
+	 * should still be called, but with the NM_SECRET_AGENT_ERROR_AGENT_CANCELED
+	 * error.
+	 */
+	void (*get_secrets) (NMSecretAgent *self,
+	                     NMConnection *connection,
+	                     const char *connection_path,
+	                     const char *setting_name,
+	                     const char **hints,
+	                     NMSecretAgentGetSecretsFlags flags,
+	                     NMSecretAgentGetSecretsFunc callback,
+	                     gpointer user_data);
+
+	/* Called when the subclass should cancel an outstanding request to
+	 * get secrets for a given connection.  Canceling the request MUST
+	 * call the callback that was passed along with the initial get_secrets
+	 * call, sending the NM_SECRET_AGENT_ERROR/NM_SECRET_AGENT_ERROR_AGENT_CANCELED
+	 * error to that callback.
+	 */
+	void (*cancel_get_secrets) (NMSecretAgent *self,
+	                            const char *connection_path,
+	                            const char *setting_name);
+
+	/* Called when the subclass should save the secrets contained in the
+	 * connection to backing storage.  Subclass must copy or reference any
+	 * arguments it may require after returning from this method, as the
+	 * arguments will freed (except for 'self', 'callback', and 'user_data'
+	 * of course).
+	 */
+	void (*save_secrets) (NMSecretAgent *self,
+	                      NMConnection *connection,
+	                      const char *connection_path,
+	                      NMSecretAgentSaveSecretsFunc callback,
+	                      gpointer user_data);
+
+	/* Called when the subclass should delete the secrets contained in the
+	 * connection from backing storage.  Subclass must copy or reference any
+	 * arguments it may require after returning from this method, as the
+	 * arguments will freed (except for 'self', 'callback', and 'user_data'
+	 * of course).
+	 */
+	void (*delete_secrets) (NMSecretAgent *self,
+	                        NMConnection *connection,
+	                        const char *connection_path,
+	                        NMSecretAgentDeleteSecretsFunc callback,
+	                        gpointer user_data);
+
+	/* Signals */
+	void (*registration_result) (NMSecretAgent *agent, GError *error);
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+	void (*_reserved5) (void);
+	void (*_reserved6) (void);
+} NMSecretAgentClass;
+
+

+


-

nm_secret_agent_register ()

-
gboolean
-nm_secret_agent_register (NMSecretAgent *self);
-

Registers the NMSecretAgent with the NetworkManager secret manager, +

nm_secret_agent_register ()

+
gboolean            nm_secret_agent_register            (NMSecretAgent *self);
+

+Registers the NMSecretAgent with the NetworkManager secret manager, indicating to NetworkManager that the agent is able to provide and save secrets for connections on behalf of its user. Registration is an asynchronous operation and its success or failure is indicated via the -'registration-result' signal.

-
-

Parameters

-
+'registration-result' signal. +

+
---++ - - - - - -

self

a NMSecretAgent

 
-
-
-

Returns

-

a new TRUE if registration was successfully requested (this does + + +

self :

+a NMSecretAgent + + + +

Returns :

+a new TRUE if registration was successfully requested (this does not mean registration itself was successful), FALSE if registration was not -successfully requested.

-

-
-
-
-
-

nm_secret_agent_unregister ()

-
gboolean
-nm_secret_agent_unregister (NMSecretAgent *self);
-

Unregisters the NMSecretAgent with the NetworkManager secret manager, -indicating to NetworkManager that the agent is will no longer provide or -store secrets on behalf of this user.

-
-

Parameters

-
----- - - - - - +successfully requested. + +

self

a NMSecretAgent

 
-
-

Returns

-

a new TRUE if unregistration was successful, FALSE if it was not.

-

-
-

-

nm_secret_agent_get_registered ()

-
gboolean
-nm_secret_agent_get_registered (NMSecretAgent *self);
-
-

Parameters

-
----- - - - - - -

self

a NMSecretAgent

 
-
-
-

Returns

-

a TRUE if the agent is registered, FALSE if it is not.

-

-
-
-
-
-

nm_secret_agent_get_secrets ()

-
void
-nm_secret_agent_get_secrets (NMSecretAgent *self,
-                             NMConnection *connection,
-                             const char *setting_name,
-                             const char **hints,
-                             NMSecretAgentGetSecretsFlags flags,
-                             NMSecretAgentGetSecretsFunc callback,
-                             gpointer user_data);
-

Asyncronously retrieve secrets belonging to connection - for the -setting setting_name -. flags - indicate specific behavior that the secret -agent should use when performing the request, for example returning only -existing secrets without user interaction, or requesting entirely new -secrets from the user.

-

Virtual: get_secrets

-
-

Parameters

-
+

nm_secret_agent_unregister ()

+
gboolean            nm_secret_agent_unregister          (NMSecretAgent *self);
+

+Unregisters the NMSecretAgent with the NetworkManager secret manager, +indicating to NetworkManager that the agent is will no longer provide or +store secrets on behalf of this user. +

+
---++ - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - + +

self

a NMSecretAgent

 

connection

the NMConnection for which we're asked secrets

 

setting_name

the name of the secret setting

 

hints

hints to the agent.

[array zero-terminated=1]

flags

flags that modify the behavior of the request

 

callback

a callback, to be invoked when the operation is done.

[scope async]

self :

a NMSecretAgent +

user_data

caller-specific data to be passed to callback -.

[closure]

Returns :

a new TRUE if unregistration was successful, FALSE if it was not.
-

-

nm_secret_agent_save_secrets ()

-
void
-nm_secret_agent_save_secrets (NMSecretAgent *self,
-                              NMConnection *connection,
-                              NMSecretAgentSaveSecretsFunc callback,
-                              gpointer user_data);
-

Asyncronously ensure that all secrets inside connection - -are stored to disk.

-

Virtual: save_secrets

-
-

Parameters

-
+

nm_secret_agent_get_registered ()

+
gboolean            nm_secret_agent_get_registered      (NMSecretAgent *self);
+
---++ - - - - - - - - - - - - - + + - - - + +

self

a NMSecretAgent

 

connection

a NMConnection

 

callback

a callback, to be invoked when the operation is done.

[scope async]

self :

a NMSecretAgent +

user_data

caller-specific data to be passed to callback -.

[closure]

Returns :

a TRUE if the agent is registered, FALSE if it is not.
-

-

nm_secret_agent_delete_secrets ()

-
void
-nm_secret_agent_delete_secrets (NMSecretAgent *self,
-                                NMConnection *connection,
-                                NMSecretAgentDeleteSecretsFunc callback,
-                                gpointer user_data);
-

Asynchronously ask the agent to delete all saved secrets belonging to -connection -.

-

Virtual: delete_secrets

-
-

Parameters

-
+

nm_secret_agent_get_secrets ()

+
void                nm_secret_agent_get_secrets         (NMSecretAgent *self,
+                                                         NMConnection *connection,
+                                                         const char *setting_name,
+                                                         const char **hints,
+                                                         NMSecretAgentGetSecretsFlags flags,
+                                                         NMSecretAgentGetSecretsFunc callback,
+                                                         gpointer user_data);
+

+Asyncronously retrieve secrets belonging to connection for the +setting setting_name. flags indicate specific behavior that the secret +agent should use when performing the request, for example returning only +existing secrets without user interaction, or requesting entirely new +secrets from the user. +

+

+Virtual: get_secrets +

+
---++ - - - + + - - - + + - - - + + - - - + + + + + + + + + + + + + +

self

a NMSecretAgent

 

self :

a NMSecretAgent +

connection

a NMConnection

 

connection :

the NMConnection for which we're asked secrets

callback

a callback, to be invoked when the operation is done.

[scope async]

setting_name :

the name of the secret setting

user_data

caller-specific data to be passed to callback -.

[closure]

hints :

hints to the agent. [array zero-terminated=1] +

flags :

flags that modify the behavior of the request

callback :

a callback, to be invoked when the operation is done. [scope async] +

user_data :

caller-specific data to be passed to callback. [closure] +
-
-
-
-

Types and Values

+
-

enum NMSecretAgentError

-

NMSecretAgentError values are passed by secret agents back to NetworkManager -when they encounter problems retrieving secrets on behalf of NM.

-
-

Members

-
+

nm_secret_agent_save_secrets ()

+
void                nm_secret_agent_save_secrets        (NMSecretAgent *self,
+                                                         NMConnection *connection,
+                                                         NMSecretAgentSaveSecretsFunc callback,
+                                                         gpointer user_data);
+

+Asyncronously ensure that all secrets inside connection +are stored to disk. +

+

+Virtual: save_secrets +

+
---++ - - - - - - - - - - - - + - - - + - - - + - - - + -

NM_SECRET_AGENT_ERROR_NOT_AUTHORIZED

-

the caller (ie, NetworkManager) is not - authorized to make this request

-
 

NM_SECRET_AGENT_ERROR_INVALID_CONNECTION

-

the connection for which secrets - were requested could not be found

-
 

NM_SECRET_AGENT_ERROR_USER_CANCELED

-

the request was canceled by the user

+

self :

a NMSecretAgent  

NM_SECRET_AGENT_ERROR_AGENT_CANCELED

-

the agent canceled the request - because it was requested to do so by NetworkManager

+

connection :

a NMConnection  

NM_SECRET_AGENT_ERROR_INTERNAL_ERROR

-

some internal error in the agent caused - the request to fail

+

callback :

a callback, to be invoked when the operation is done. [scope async]  

NM_SECRET_AGENT_ERROR_NO_SECRETS

-

the agent cannot find any secrets for this - connection

+

user_data :

caller-specific data to be passed to callback. [closure]  
-

-

enum NMSecretAgentGetSecretsFlags

-

NMSecretAgentGetSecretsFlags values modify the behavior of a GetSecrets request.

-
-

Members

-
+

nm_secret_agent_delete_secrets ()

+
void                nm_secret_agent_delete_secrets      (NMSecretAgent *self,
+                                                         NMConnection *connection,
+                                                         NMSecretAgentDeleteSecretsFunc callback,
+                                                         gpointer user_data);
+

+Asynchronously ask the agent to delete all saved secrets belonging to +connection. +

+

+Virtual: delete_secrets +

+
---++ - - + - - - + - - - + - - - + -

NM_SECRET_AGENT_GET_SECRETS_FLAG_NONE

-

no special behavior; by default no -user interaction is allowed and requests for secrets are fulfilled from -persistent storage, or if no secrets are available an error is returned.

+

self :

a NMSecretAgent  

NM_SECRET_AGENT_GET_SECRETS_FLAG_ALLOW_INTERACTION

-

allows the request to -interact with the user, possibly prompting via UI for secrets if any are -required, or if none are found in persistent storage.

+

connection :

a NMConnection  

NM_SECRET_AGENT_GET_SECRETS_FLAG_REQUEST_NEW

-

explicitly prompt for new -secrets from the user. This flag signals that NetworkManager thinks any -existing secrets are invalid or wrong. This flag implies that interaction -is allowed.

+

callback :

a callback, to be invoked when the operation is done. [scope async]  

NM_SECRET_AGENT_GET_SECRETS_FLAG_USER_REQUESTED

-

set if the request was -initiated by user-requested action via the D-Bus interface, as opposed to -automatically initiated by NetworkManager in response to (for example) scan -results or carrier changes.

+

user_data :

caller-specific data to be passed to callback. [closure]  
-
+
+

Property Details

-

NM_SECRET_AGENT_IDENTIFIER

-
#define NM_SECRET_AGENT_IDENTIFIER          "identifier"
-
+

The "auto-register" property

+
  "auto-register"            gboolean              : Read / Write / Construct

+If TRUE, the agent will attempt to automatically register itself after +it is created (via an idle handler) and to re-register itself if +NetworkManager restarts. If FALSE, the agent does not automatically +register with NetworkManager, and nm_secret_agent_register() must be +called. If 'auto-register' is TRUE, calling nm_secret_agent_unregister() +will suppress auto-registration until nm_secret_agent_register() is +called, which re-enables auto-registration.

+

Default value: TRUE


-

NM_SECRET_AGENT_AUTO_REGISTER

-
#define NM_SECRET_AGENT_AUTO_REGISTER       "auto-register"
-
+

The "capabilities" property

+
  "capabilities"             NMSecretAgentCapabilities  : Read / Write / Construct

+A bitfield of NMSecretAgentCapabilities.


-

NM_SECRET_AGENT_REGISTERED

-
#define NM_SECRET_AGENT_REGISTERED          "registered"
-
+

The "identifier" property

+
  "identifier"               gchar*                : Read / Write / Construct Only

+Identifies this agent; only one agent in each user session may use the +same identifier. Identifier formatting follows the same rules as +D-Bus bus names with the exception that the ':' character is not +allowed. The valid set of characters is "[A-Z][a-z][0-9]_-." and the +identifier is limited in length to 255 characters with a minimum +of 3 characters. An example valid identifier is 'org.gnome.nm-applet' +(without quotes).

+

Default value: NULL


-

NM_SECRET_AGENT_REGISTRATION_RESULT

-
#define NM_SECRET_AGENT_REGISTRATION_RESULT "registration-result"
-
+

The "registered" property

+
  "registered"               gboolean              : Read

+TRUE if the agent is registered with NetworkManager, FALSE if not.

-
-
-
-

Property Details

-
-

The “auto-register” property

-
  “auto-register”            gboolean
-

Auto Register.

-

Flags: Read / Write / Construct

-

Default value: TRUE

-
-
-
-

The “identifier” property

-
  “identifier”               gchar *
-

Identifier.

-

Flags: Read / Write / Construct Only

-

Default value: NULL

-
-
-
-

The “registered” property

-
  “registered”               gboolean
-

Registered.

-

Flags: Read

Default value: FALSE

Signal Details

-

The “registration-result” signal

-
void
-user_function (NMSecretAgent *agent,
-               gpointer       error,
-               gpointer       user_data)
-

Flags: Run First

+

The "registration-result" signal

+
void                user_function                      (NMSecretAgent *agent,
+                                                        gpointer       error,
+                                                        gpointer       user_data)      : Run First
+

+Indicates the result of a registration request; if error is NULL the +request was successful. +

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

agent :

the agent that received the signal

error :

the error, if any, that occured while registering

user_data :

user data set when the signal handler was connected.
+ Generated by GTK-Doc V1.19
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMVPNConnection.html b/docs/libnm-glib/html/NMVPNConnection.html index 1b1238f9..4241b467 100644 --- a/docs/libnm-glib/html/NMVPNConnection.html +++ b/docs/libnm-glib/html/NMVPNConnection.html @@ -2,29 +2,38 @@ -libnm-glib Reference Manual: NMVPNConnection +NMVPNConnection - + - - - - - - - + + + + + + + + + +
@@ -32,105 +41,46 @@

NMVPNConnection

NMVPNConnection

- +
-
-

Functions

-
---- - - - - - - - - - - - - - - -
-GObject * - -nm_vpn_connection_new () -
-NMVPNConnectionState - -nm_vpn_connection_get_vpn_state () -
const char * - -nm_vpn_connection_get_banner () -
+
-

Properties

-
----- - - - - - - - - - - - - -
-gchar *bannerRead
guintvpn-stateRead
+

Object Hierarchy

+
+  GObject
+   +----NMObject
+         +----NMActiveConnection
+               +----NMVPNConnection
+
-

Signals

-
----- - - - - - -
voidvpn-state-changedRun First
+

Implemented Interfaces

+

+NMVPNConnection implements + GInitable and GAsyncInitable.

-

Types and Values

-
---- - - - - - - - - - - -
#defineNM_VPN_CONNECTION_VPN_STATE
#defineNM_VPN_CONNECTION_BANNER
+

Properties

+
+  "banner"                   gchar*                : Read
+  "vpn-state"                guint                 : Read
+
-

Object Hierarchy

-
    GObject
-    ╰── NMObject
-        ╰── NMActiveConnection
-            ╰── NMVPNConnection
+

Signals

+
+  "vpn-state-changed"                              : Run First
 
@@ -139,130 +89,152 @@

-

Functions

+

Details

+
+

NM_VPN_CONNECTION_VPN_STATE

+
#define NM_VPN_CONNECTION_VPN_STATE "vpn-state"
+
+

+

+
+
+
+

NM_VPN_CONNECTION_BANNER

+
#define NM_VPN_CONNECTION_BANNER "banner"
+
+

+

+
+
+
+

NMVPNConnection

+
typedef struct _NMVPNConnection NMVPNConnection;
+

+

+
+
-

nm_vpn_connection_new ()

-
GObject *
-nm_vpn_connection_new (DBusGConnection *connection,
-                       const char *path);
-

Creates a new NMVPNConnection.

-
-

Parameters

-
+

NMVPNConnectionClass

+
typedef struct {
+	NMActiveConnectionClass parent;
+
+	/* Signals */
+	void (*vpn_state_changed) (NMVPNConnection *connection,
+	                           NMVPNConnectionState state,
+	                           NMVPNConnectionStateReason reason);
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+	void (*_reserved5) (void);
+	void (*_reserved6) (void);
+} NMVPNConnectionClass;
+
+

+

+ +
+
+

nm_vpn_connection_new ()

+
GObject *           nm_vpn_connection_new               (DBusGConnection *connection,
+                                                         const char *path);
+

+Creates a new NMVPNConnection. +

+
---++ - - - + + + + + + - - - + +

connection

the DBusGConnection

 

connection :

the DBusGConnection +

path :

the DBus object path of the new connection

path

the DBus object path of the new connection

 

Returns :

a new connection object. [transfer full] +
-
-

Returns

-

a new connection object.

-

[transfer full]

-
-

-

nm_vpn_connection_get_vpn_state ()

-
NMVPNConnectionState
-nm_vpn_connection_get_vpn_state (NMVPNConnection *vpn);
-

Gets the current NMVPNConnection state.

-
-

Parameters

-
+

nm_vpn_connection_get_vpn_state ()

+
NMVPNConnectionState nm_vpn_connection_get_vpn_state    (NMVPNConnection *vpn);
+

+Gets the current NMVPNConnection state. +

+
---++ - - - - - + + + + + + + + + +

vpn

a NMVPNConnection

 

vpn :

a NMVPNConnection +

Returns :

the VPN state of the active VPN connection.
-
-

Returns

-

the VPN state of the active VPN connection.

-

-
-

-

nm_vpn_connection_get_banner ()

-
const char *
-nm_vpn_connection_get_banner (NMVPNConnection *vpn);
-

Gets the VPN login banner of the active NMVPNConnection.

-
-

Parameters

-
+

nm_vpn_connection_get_banner ()

+
const char *        nm_vpn_connection_get_banner        (NMVPNConnection *vpn);
+

+Gets the VPN login banner of the active NMVPNConnection. +

+
---++ - - - - - + + + + + + + + + +

vpn

a NMVPNConnection

 

vpn :

a NMVPNConnection +

Returns :

the VPN login banner of the VPN connection. This is the internal +string used by the connection, and must not be modified.
-
-

Returns

-

the VPN login banner of the VPN connection. This is the internal -string used by the connection, and must not be modified.

-

-
-
-

Types and Values

+

Property Details

-

NM_VPN_CONNECTION_VPN_STATE

-
#define NM_VPN_CONNECTION_VPN_STATE "vpn-state"
-
+

The "banner" property

+
  "banner"                   gchar*                : Read

+The VPN login banner of the active VPN connection.

+

Default value: NULL


-

NM_VPN_CONNECTION_BANNER

-
#define NM_VPN_CONNECTION_BANNER "banner"
-
+

The "vpn-state" property

+
  "vpn-state"                guint                 : Read

+The VPN state of the active VPN connection.

-
-
-
-

Property Details

-
-

The “banner” property

-
  “banner”                   gchar *
-

Login Banner.

-

Flags: Read

-

Default value: NULL

-
-
-
-

The “vpn-state” property

-
  “vpn-state”                guint
-

Current VPN state.

-

Flags: Read

Allowed values: <= 7

Default value: 0

@@ -270,18 +242,34 @@ string used by the connection, and must not be modified.

Signal Details

-

The “vpn-state-changed” signal

-
void
-user_function (NMVPNConnection *nmvpnconnection,
-               guint            arg1,
-               guint            arg2,
-               gpointer         user_data)
-

Flags: Run First

+

The "vpn-state-changed" signal

+
void                user_function                      (NMVPNConnection *nmvpnconnection,
+                                                        guint            arg1,
+                                                        guint            arg2,
+                                                        gpointer         user_data)            : Run First
+

+

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

nmvpnconnection :

the object which received the signal.

user_data :

user data set when the signal handler was connected.
+ Generated by GTK-Doc V1.19
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMWimaxNsp.html b/docs/libnm-glib/html/NMWimaxNsp.html index 0976c9ff..736d56fd 100644 --- a/docs/libnm-glib/html/NMWimaxNsp.html +++ b/docs/libnm-glib/html/NMWimaxNsp.html @@ -2,28 +2,36 @@ -libnm-glib Reference Manual: NMWimaxNsp +NMWimaxNsp - + - - - - - - - + + + + + + + + + +
@@ -31,423 +39,350 @@

NMWimaxNsp

NMWimaxNsp

- +
+ +
+

Object Hierarchy

+
+  GObject
+   +----NMObject
+         +----NMWimaxNsp
+
+
+
+

Implemented Interfaces

+

+NMWimaxNsp implements + GInitable and GAsyncInitable.

+
+
+

Properties

+
+  "name"                     gchar*                : Read
+  "network-type"             guint                 : Read
+  "signal-quality"           guint                 : Read
+
+
+
+

Description

+

+

+
-

Functions

-
+

Details

+
+

NM_WIMAX_NSP_NAME

+
#define NM_WIMAX_NSP_NAME           "name"
+
+

+

+
+
+
+

NM_WIMAX_NSP_SIGNAL_QUALITY

+
#define NM_WIMAX_NSP_SIGNAL_QUALITY "signal-quality"
+
+

+

+
+
+
+

NM_WIMAX_NSP_NETWORK_TYPE

+
#define NM_WIMAX_NSP_NETWORK_TYPE   "network-type"
+
+

+

+
+
+
+

enum NMWimaxNspNetworkType

+
typedef enum {
+	NM_WIMAX_NSP_NETWORK_TYPE_UNKNOWN         = 0,
+	NM_WIMAX_NSP_NETWORK_TYPE_HOME            = 1,
+	NM_WIMAX_NSP_NETWORK_TYPE_PARTNER         = 2,
+	NM_WIMAX_NSP_NETWORK_TYPE_ROAMING_PARTNER = 3
+} NMWimaxNspNetworkType;
+
+

+

+
--++ - - - - - - + - - + - - + - - - - - - +
-GObject * - -nm_wimax_nsp_new () -
const char * - -nm_wimax_nsp_get_name () +

NM_WIMAX_NSP_NETWORK_TYPE_UNKNOWN

-guint32 - -nm_wimax_nsp_get_signal_quality () +

NM_WIMAX_NSP_NETWORK_TYPE_HOME

-NMWimaxNspNetworkType - -nm_wimax_nsp_get_network_type () +

NM_WIMAX_NSP_NETWORK_TYPE_PARTNER

-GSList * - -nm_wimax_nsp_filter_connections () -
-gboolean - -nm_wimax_nsp_connection_valid () +

NM_WIMAX_NSP_NETWORK_TYPE_ROAMING_PARTNER

-
-

Properties

-
+
+
+

NMWimaxNsp

+
typedef struct _NMWimaxNsp NMWimaxNsp;
+

+

+
+
+
+

NMWimaxNspClass

+
typedef struct {
+	NMObjectClass parent;
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+	void (*_reserved5) (void);
+	void (*_reserved6) (void);
+} NMWimaxNspClass;
+
+

+

+
+
+
+

nm_wimax_nsp_new ()

+
GObject *           nm_wimax_nsp_new                    (DBusGConnection *connection,
+                                                         const char *path);
+

+Creates a new NMWimaxNsp. +

+
---++ - - - + + - - - + + - - - + +
-gchar *nameRead

connection :

the DBusGConnection +
guintnetwork-typeRead

path :

the D-Bus object path of the WiMAX NSP
guintsignal-qualityRead

Returns :

a new WiMAX NSP. [transfer full] +
-
-

Types and Values

-
+
+
+

nm_wimax_nsp_get_name ()

+
const char *        nm_wimax_nsp_get_name               (NMWimaxNsp *nsp);
+

+Gets the name of the wimax NSP +

+
--++ - - - - - - - - - - + + - - + +
#defineNM_WIMAX_NSP_NAME
#defineNM_WIMAX_NSP_SIGNAL_QUALITY
#defineNM_WIMAX_NSP_NETWORK_TYPE

nsp :

a NMWimaxNsp +
enumNMWimaxNspNetworkType

Returns :

the name
-
-

Object Hierarchy

-
    GObject
-    ╰── NMObject
-        ╰── NMWimaxNsp
-
-
-
-

Description

+
+
+

nm_wimax_nsp_get_signal_quality ()

+
guint32             nm_wimax_nsp_get_signal_quality     (NMWimaxNsp *nsp);

+Gets the WPA signal quality of the wimax NSP.

-
-
-

Functions

-
-

nm_wimax_nsp_new ()

-
GObject *
-nm_wimax_nsp_new (DBusGConnection *connection,
-                  const char *path);
-

Creates a new NMWimaxNsp.

-
-

Parameters

-
+
---++ - - - + + - - - + +

connection

the DBusGConnection

 

nsp :

a NMWimaxNsp +

path

the D-Bus object path of the WiMAX NSP

 

Returns :

the signal quality
-
-

Returns

-

a new WiMAX NSP.

-

[transfer full]

-
-
-
-
-

nm_wimax_nsp_get_name ()

-
const char *
-nm_wimax_nsp_get_name (NMWimaxNsp *nsp);
-

Gets the name of the wimax NSP

-
-

Parameters

-
----- - - - - - -

nsp

a NMWimaxNsp

 
-
-
-

Returns

-

the name

-

-
-
-
-
-

nm_wimax_nsp_get_signal_quality ()

-
guint32
-nm_wimax_nsp_get_signal_quality (NMWimaxNsp *nsp);
-

Gets the WPA signal quality of the wimax NSP.

-
-

Parameters

-
----- - - - - - -

nsp

a NMWimaxNsp

 
-
-
-

Returns

-

the signal quality

-

-
-
-
-
-

nm_wimax_nsp_get_network_type ()

-
NMWimaxNspNetworkType
-nm_wimax_nsp_get_network_type (NMWimaxNsp *nsp);
-

Gets the network type of the wimax NSP.

-
-

Parameters

-
----- - - - - - -

nsp

a NMWimaxNsp

 
-
-
-

Returns

-

the network type

-

-
-

-

nm_wimax_nsp_filter_connections ()

-
GSList *
-nm_wimax_nsp_filter_connections (NMWimaxNsp *nsp,
-                                 const GSList *connections);
-

Filters a given list of connections for a given NMWimaxNsp object and -return connections which may be activated with the access point. Any -returned connections will match the nsp -'s network name and other attributes.

-
-

Parameters

-
+

nm_wimax_nsp_get_network_type ()

+
NMWimaxNspNetworkType nm_wimax_nsp_get_network_type     (NMWimaxNsp *nsp);
+

+Gets the network type of the wimax NSP. +

+
---++ - - - + + - - - + +

nsp

an NMWimaxNsp to filter connections for

 

nsp :

a NMWimaxNsp +

connections

a list of -NMConnection objects to filter.

[element-type NetworkManager.Connection]

Returns :

the network type
-
-

Returns

-

a -list of NMConnection objects that could be activated with the given nsp -. -The elements of the list are owned by their creator and should not be freed -by the caller, but the returned list itself is owned by the caller and should -be freed with g_slist_free() when it is no longer required.

-

[transfer container][element-type NetworkManager.Connection]

-
-

-

nm_wimax_nsp_connection_valid ()

-
gboolean
-nm_wimax_nsp_connection_valid (NMWimaxNsp *nsp,
-                               NMConnection *connection);
-

Validates a given connection against a given WiMAX NSP to ensure that the -connection may be activated with that NSP. The connection must match the -nsp -'s network name and other attributes.

-
-

Parameters

-
+

nm_wimax_nsp_filter_connections ()

+
GSList *            nm_wimax_nsp_filter_connections     (NMWimaxNsp *nsp,
+                                                         const GSList *connections);
+

+Filters a given list of connections for a given NMWimaxNsp object and +return connections which may be activated with the access point. Any +returned connections will match the nsp's network name and other attributes. +

+
---++ - - - + + + + + + - - - + +

nsp

an NMWimaxNsp to validate connection -against

 

nsp :

an NMWimaxNsp to filter connections for

connections :

a list of +NMConnection objects to filter. [element-type NetworkManager.Connection] +

connection

an NMConnection to validate against nsp -

 

Returns :

a +list of NMConnection objects that could be activated with the given nsp. +The elements of the list are owned by their creator and should not be freed +by the caller, but the returned list itself is owned by the caller and should +be freed with g_slist_free() when it is no longer required. [transfer container][element-type NetworkManager.Connection] +
-
-

Returns

-

TRUE if the connection may be activated with this WiMAX NSP, -FALSE if it cannot be.

-

-
-
-
-
-

Types and Values

-
-

NM_WIMAX_NSP_NAME

-
#define NM_WIMAX_NSP_NAME           "name"
-
-

-

-
-
-
-

NM_WIMAX_NSP_SIGNAL_QUALITY

-
#define NM_WIMAX_NSP_SIGNAL_QUALITY "signal-quality"
-
-

-

-
-
-
-

NM_WIMAX_NSP_NETWORK_TYPE

-
#define NM_WIMAX_NSP_NETWORK_TYPE   "network-type"
-
-

-

-

-

enum NMWimaxNspNetworkType

+

nm_wimax_nsp_connection_valid ()

+
gboolean            nm_wimax_nsp_connection_valid       (NMWimaxNsp *nsp,
+                                                         NMConnection *connection);

+Validates a given connection against a given WiMAX NSP to ensure that the +connection may be activated with that NSP. The connection must match the +nsp's network name and other attributes.

-
-

Members

-
+
---++ - - - - - - - - + + - - - + + - - - + +

NM_WIMAX_NSP_NETWORK_TYPE_UNKNOWN

  

NM_WIMAX_NSP_NETWORK_TYPE_HOME

  

nsp :

an NMWimaxNsp to validate connection against

NM_WIMAX_NSP_NETWORK_TYPE_PARTNER

  

connection :

an NMConnection to validate against nsp +

NM_WIMAX_NSP_NETWORK_TYPE_ROAMING_PARTNER

  

Returns :

+TRUE if the connection may be activated with this WiMAX NSP, +FALSE if it cannot be.
-

Property Details

-

The “name” property

-
  “name”                     gchar *
-

Name.

-

Flags: Read

+

The "name" property

+
  "name"                     gchar*                : Read
+

+The name of the WiMAX NSP. +

Default value: NULL


-

The “network-type” property

-
  “network-type”             guint
-

Network Type.

-

Flags: Read

+

The "network-type" property

+
  "network-type"             guint                 : Read
+

+The network type of the WiMAX NSP. +

Default value: 0


-

The “signal-quality” property

-
  “signal-quality”           guint
-

Signal Quality.

-

Flags: Read

+

The "signal-quality" property

+
  "signal-quality"           guint                 : Read
+

+The signal quality of the WiMAX NSP. +

Allowed values: <= 100

Default value: 0

@@ -455,6 +390,6 @@ against

+ Generated by GTK-Doc V1.19
\ No newline at end of file diff --git a/docs/libnm-glib/html/annotation-glossary.html b/docs/libnm-glib/html/annotation-glossary.html index ede10027..7c26248c 100644 --- a/docs/libnm-glib/html/annotation-glossary.html +++ b/docs/libnm-glib/html/annotation-glossary.html @@ -2,32 +2,37 @@ -libnm-glib Reference Manual: Annotation Glossary +Annotation Glossary - + - - - - - - - + + + + + + + + + +

Annotation Glossary

@@ -55,9 +60,11 @@

Free data after the code is done.

transfer none

Don't free data after the code is done.

+
type
+

Override the parsed C type with given type.

+ Generated by GTK-Doc V1.19
\ No newline at end of file diff --git a/docs/libnm-glib/html/api-index-full.html b/docs/libnm-glib/html/api-index-full.html index 822db046..b576616e 100644 --- a/docs/libnm-glib/html/api-index-full.html +++ b/docs/libnm-glib/html/api-index-full.html @@ -2,81 +2,94 @@ -libnm-glib Reference Manual: API Index +API Index - + - - - - - - - + + + + + + + + + +

API Index

A

-NMAccessPoint:bssid, object property in NMAccessPoint +NMAccessPoint, struct in NMAccessPoint
-NMAccessPoint:flags, object property in NMAccessPoint +NMAccessPoint:bssid, object property in NMAccessPoint
-NMAccessPoint:frequency, object property in NMAccessPoint +NMAccessPoint:flags, object property in NMAccessPoint
-NMAccessPoint:hw-address, object property in NMAccessPoint +NMAccessPoint:frequency, object property in NMAccessPoint
-NMAccessPoint:max-bitrate, object property in NMAccessPoint +NMAccessPoint:hw-address, object property in NMAccessPoint
-NMAccessPoint:mode, object property in NMAccessPoint +NMAccessPoint:max-bitrate, object property in NMAccessPoint
-NMAccessPoint:rsn-flags, object property in NMAccessPoint +NMAccessPoint:mode, object property in NMAccessPoint
-NMAccessPoint:ssid, object property in NMAccessPoint +NMAccessPoint:rsn-flags, object property in NMAccessPoint
-NMAccessPoint:strength, object property in NMAccessPoint +NMAccessPoint:ssid, object property in NMAccessPoint
-NMAccessPoint:wpa-flags, object property in NMAccessPoint +NMAccessPoint:strength, object property in NMAccessPoint +
+
+
+NMAccessPoint:wpa-flags, object property in NMAccessPoint +
+
+
+NMAccessPointClass, struct in NMAccessPoint
@@ -84,11 +97,11 @@
-nm_access_point_connection_valid, function in NMAccessPoint +nm_access_point_connection_valid, function in NMAccessPoint
-nm_access_point_filter_connections, function in NMAccessPoint +nm_access_point_filter_connections, function in NMAccessPoint
@@ -100,43 +113,43 @@
-nm_access_point_get_bssid, function in NMAccessPoint +nm_access_point_get_bssid, function in NMAccessPoint
-nm_access_point_get_flags, function in NMAccessPoint +nm_access_point_get_flags, function in NMAccessPoint
-nm_access_point_get_frequency, function in NMAccessPoint +nm_access_point_get_frequency, function in NMAccessPoint
-nm_access_point_get_hw_address, function in NMAccessPoint +nm_access_point_get_hw_address, function in NMAccessPoint
-nm_access_point_get_max_bitrate, function in NMAccessPoint +nm_access_point_get_max_bitrate, function in NMAccessPoint
-nm_access_point_get_mode, function in NMAccessPoint +nm_access_point_get_mode, function in NMAccessPoint
-nm_access_point_get_rsn_flags, function in NMAccessPoint +nm_access_point_get_rsn_flags, function in NMAccessPoint
-nm_access_point_get_ssid, function in NMAccessPoint +nm_access_point_get_ssid, function in NMAccessPoint
-nm_access_point_get_strength, function in NMAccessPoint +nm_access_point_get_strength, function in NMAccessPoint
-nm_access_point_get_wpa_flags, function in NMAccessPoint +nm_access_point_get_wpa_flags, function in NMAccessPoint
@@ -152,7 +165,7 @@
-nm_access_point_new, function in NMAccessPoint +nm_access_point_new, function in NMAccessPoint
@@ -172,35 +185,71 @@
-NMActiveConnection:connection, object property in NMActiveConnection +NMActiveConnection, struct in NMActiveConnection +
+
+
+NMActiveConnection:connection, object property in NMActiveConnection +
+
+
+NMActiveConnection:default, object property in NMActiveConnection +
+
+
+NMActiveConnection:default6, object property in NMActiveConnection +
+
+
+NMActiveConnection:devices, object property in NMActiveConnection +
+
+
+NMActiveConnection:dhcp4-config, object property in NMActiveConnection +
+
+
+NMActiveConnection:dhcp6-config, object property in NMActiveConnection +
+
+
+NMActiveConnection:id, object property in NMActiveConnection +
+
+
+NMActiveConnection:ip4-config, object property in NMActiveConnection
-NMActiveConnection:default, object property in NMActiveConnection +NMActiveConnection:ip6-config, object property in NMActiveConnection
-NMActiveConnection:default6, object property in NMActiveConnection +NMActiveConnection:master, object property in NMActiveConnection
-NMActiveConnection:devices, object property in NMActiveConnection +NMActiveConnection:specific-object, object property in NMActiveConnection
-NMActiveConnection:master, object property in NMActiveConnection +NMActiveConnection:state, object property in NMActiveConnection
-NMActiveConnection:specific-object, object property in NMActiveConnection +NMActiveConnection:type, object property in NMActiveConnection
-NMActiveConnection:state, object property in NMActiveConnection +NMActiveConnection:uuid, object property in NMActiveConnection
-NMActiveConnection:uuid, object property in NMActiveConnection +NMActiveConnection:vpn, object property in NMActiveConnection +
+
+
+NMActiveConnectionClass, struct in NMActiveConnection
@@ -220,35 +269,83 @@
-nm_active_connection_get_connection, function in NMActiveConnection +NM_ACTIVE_CONNECTION_DHCP4_CONFIG, macro in NMActiveConnection +
+
+
+NM_ACTIVE_CONNECTION_DHCP6_CONFIG, macro in NMActiveConnection +
+
+
+nm_active_connection_get_connection, function in NMActiveConnection +
+
+
+nm_active_connection_get_connection_type, function in NMActiveConnection +
+
+
+nm_active_connection_get_default, function in NMActiveConnection +
+
+
+nm_active_connection_get_default6, function in NMActiveConnection +
+
+
+nm_active_connection_get_devices, function in NMActiveConnection +
+
+
+nm_active_connection_get_dhcp4_config, function in NMActiveConnection +
+
+
+nm_active_connection_get_dhcp6_config, function in NMActiveConnection +
+
+
+nm_active_connection_get_id, function in NMActiveConnection
-nm_active_connection_get_default, function in NMActiveConnection +nm_active_connection_get_ip4_config, function in NMActiveConnection
-nm_active_connection_get_default6, function in NMActiveConnection +nm_active_connection_get_ip6_config, function in NMActiveConnection
-nm_active_connection_get_devices, function in NMActiveConnection +nm_active_connection_get_master, function in NMActiveConnection
-nm_active_connection_get_master, function in NMActiveConnection +nm_active_connection_get_specific_object, function in NMActiveConnection
-nm_active_connection_get_specific_object, function in NMActiveConnection +nm_active_connection_get_state, function in NMActiveConnection
-nm_active_connection_get_state, function in NMActiveConnection +nm_active_connection_get_uuid, function in NMActiveConnection
-nm_active_connection_get_uuid, function in NMActiveConnection +nm_active_connection_get_vpn, function in NMActiveConnection +
+
+
+NM_ACTIVE_CONNECTION_ID, macro in NMActiveConnection +
+
+
+NM_ACTIVE_CONNECTION_IP4_CONFIG, macro in NMActiveConnection +
+
+
+NM_ACTIVE_CONNECTION_IP6_CONFIG, macro in NMActiveConnection
@@ -256,7 +353,7 @@
-nm_active_connection_new, function in NMActiveConnection +nm_active_connection_new, function in NMActiveConnection
@@ -268,84 +365,112 @@
+NM_ACTIVE_CONNECTION_TYPE, macro in NMActiveConnection +
+
+
NM_ACTIVE_CONNECTION_UUID, macro in NMActiveConnection
+
+NM_ACTIVE_CONNECTION_VPN, macro in NMActiveConnection +
+

C

-NMClient::device-added, object signal in NMClient +NMClient, struct in NMClient +
+
+
+NMClient::device-added, object signal in NMClient +
+
+
+NMClient::device-removed, object signal in NMClient +
+
+
+NMClient::permission-changed, object signal in NMClient +
+
+
+NMClient:activating-connection, object property in NMClient +
+
+
+NMClient:active-connections, object property in NMClient
-NMClient::device-removed, object signal in NMClient +NMClient:connectivity, object property in NMClient
-NMClient::permission-changed, object signal in NMClient +NMClient:devices, object property in NMClient
-NMClient:activating-connection, object property in NMClient +NMClient:manager-running, object property in NMClient
-NMClient:active-connections, object property in NMClient +NMClient:networking-enabled, object property in NMClient
-NMClient:connectivity, object property in NMClient +NMClient:primary-connection, object property in NMClient
-NMClient:manager-running, object property in NMClient +NMClient:startup, object property in NMClient
-NMClient:networking-enabled, object property in NMClient +NMClient:state, object property in NMClient
-NMClient:primary-connection, object property in NMClient +NMClient:version, object property in NMClient
-NMClient:state, object property in NMClient +NMClient:wimax-enabled, object property in NMClient
-NMClient:version, object property in NMClient +NMClient:wimax-hardware-enabled, object property in NMClient
-NMClient:wimax-enabled, object property in NMClient +NMClient:wireless-enabled, object property in NMClient
-NMClient:wimax-hardware-enabled, object property in NMClient +NMClient:wireless-hardware-enabled, object property in NMClient
-NMClient:wireless-enabled, object property in NMClient +NMClient:wwan-enabled, object property in NMClient
-NMClient:wireless-hardware-enabled, object property in NMClient +NMClient:wwan-hardware-enabled, object property in NMClient
-NMClient:wwan-enabled, object property in NMClient +NMClientActivateFn, user_function in NMClient
-NMClient:wwan-hardware-enabled, object property in NMClient +NMClientAddActivateFn, user_function in NMClient
-NMClientActivateFn, user_function in NMClient +NMClientClass, struct in NMClient
-NMClientAddActivateFn, user_function in NMClient +NMClientError, enum in NMClient
@@ -357,7 +482,7 @@
-nm_client_activate_connection, function in NMClient +nm_client_activate_connection, function in NMClient
@@ -369,19 +494,19 @@
-nm_client_add_and_activate_connection, function in NMClient +nm_client_add_and_activate_connection, function in NMClient
-nm_client_check_connectivity, function in NMClient +nm_client_check_connectivity, function in NMClient
-nm_client_check_connectivity_async, function in NMClient +nm_client_check_connectivity_async, function in NMClient
-nm_client_check_connectivity_finish, function in NMClient +nm_client_check_connectivity_finish, function in NMClient
@@ -389,55 +514,71 @@
-nm_client_deactivate_connection, function in NMClient +nm_client_deactivate_connection, function in NMClient
-nm_client_get_activating_connection, function in NMClient +NM_CLIENT_DEVICES, macro in NMClient
-nm_client_get_active_connections, function in NMClient +NM_CLIENT_ERROR, macro in NMClient
-nm_client_get_connectivity, function in NMClient +nm_client_error_quark, function in NMClient
-nm_client_get_devices, function in NMClient +nm_client_get_activating_connection, function in NMClient
-nm_client_get_device_by_iface, function in NMClient +nm_client_get_active_connections, function in NMClient
-nm_client_get_device_by_path, function in NMClient +nm_client_get_connectivity, function in NMClient
-nm_client_get_logging, function in NMClient +nm_client_get_devices, function in NMClient
-nm_client_get_manager_running, function in NMClient +nm_client_get_device_by_iface, function in NMClient
-nm_client_get_permission_result, function in NMClient +nm_client_get_device_by_path, function in NMClient
-nm_client_get_primary_connection, function in NMClient +nm_client_get_logging, function in NMClient
-nm_client_get_state, function in NMClient +nm_client_get_manager_running, function in NMClient
-nm_client_get_version, function in NMClient +nm_client_get_permission_result, function in NMClient +
+
+
+nm_client_get_primary_connection, function in NMClient +
+
+
+nm_client_get_startup, function in NMClient +
+
+
+nm_client_get_state, function in NMClient +
+
+
+nm_client_get_version, function in NMClient
@@ -449,23 +590,23 @@
-nm_client_networking_get_enabled, function in NMClient +nm_client_networking_get_enabled, function in NMClient
-nm_client_networking_set_enabled, function in NMClient +nm_client_networking_set_enabled, function in NMClient
-nm_client_new, function in NMClient +nm_client_new, function in NMClient
-nm_client_new_async, function in NMClient +nm_client_new_async, function in NMClient
-nm_client_new_finish, function in NMClient +nm_client_new_finish, function in NMClient
@@ -473,11 +614,15 @@
-nm_client_set_logging, function in NMClient +nm_client_set_logging, function in NMClient +
+
+
+nm_client_sleep, function in NMClient
-nm_client_sleep, function in NMClient +NM_CLIENT_STARTUP, macro in NMClient
@@ -493,7 +638,7 @@
-nm_client_wimax_get_enabled, function in NMClient +nm_client_wimax_get_enabled, function in NMClient
@@ -501,11 +646,11 @@
-nm_client_wimax_hardware_get_enabled, function in NMClient +nm_client_wimax_hardware_get_enabled, function in NMClient
-nm_client_wimax_set_enabled, function in NMClient +nm_client_wimax_set_enabled, function in NMClient
@@ -513,7 +658,7 @@
-nm_client_wireless_get_enabled, function in NMClient +nm_client_wireless_get_enabled, function in NMClient
@@ -521,11 +666,11 @@
-nm_client_wireless_hardware_get_enabled, function in NMClient +nm_client_wireless_hardware_get_enabled, function in NMClient
-nm_client_wireless_set_enabled, function in NMClient +nm_client_wireless_set_enabled, function in NMClient
@@ -533,7 +678,7 @@
-nm_client_wwan_get_enabled, function in NMClient +nm_client_wwan_get_enabled, function in NMClient
@@ -541,104 +686,124 @@
-nm_client_wwan_hardware_get_enabled, function in NMClient +nm_client_wwan_hardware_get_enabled, function in NMClient
-nm_client_wwan_set_enabled, function in NMClient +nm_client_wwan_set_enabled, function in NMClient

D

-NMDevice::state-changed, object signal in NMDevice +NMDevice, struct in NMDevice +
+
+
+NMDevice::state-changed, object signal in NMDevice +
+
+
+NMDevice:active-connection, object property in NMDevice +
+
+
+NMDevice:autoconnect, object property in NMDevice +
+
+
+NMDevice:available-connections, object property in NMDevice +
+
+
+NMDevice:capabilities, object property in NMDevice
-NMDevice:active-connection, object property in NMDevice +NMDevice:device-type, object property in NMDevice
-NMDevice:autoconnect, object property in NMDevice +NMDevice:dhcp4-config, object property in NMDevice
-NMDevice:available-connections, object property in NMDevice +NMDevice:dhcp6-config, object property in NMDevice
-NMDevice:capabilities, object property in NMDevice +NMDevice:driver, object property in NMDevice
-NMDevice:device-type, object property in NMDevice +NMDevice:driver-version, object property in NMDevice
-NMDevice:dhcp4-config, object property in NMDevice +NMDevice:firmware-missing, object property in NMDevice
-NMDevice:dhcp6-config, object property in NMDevice +NMDevice:firmware-version, object property in NMDevice
-NMDevice:driver, object property in NMDevice +NMDevice:interface, object property in NMDevice
-NMDevice:driver-version, object property in NMDevice +NMDevice:ip-interface, object property in NMDevice
-NMDevice:firmware-missing, object property in NMDevice +NMDevice:ip4-config, object property in NMDevice
-NMDevice:firmware-version, object property in NMDevice +NMDevice:ip6-config, object property in NMDevice
-NMDevice:interface, object property in NMDevice +NMDevice:managed, object property in NMDevice
-NMDevice:ip-interface, object property in NMDevice +NMDevice:mtu, object property in NMDevice
-NMDevice:ip4-config, object property in NMDevice +NMDevice:physical-port-id, object property in NMDevice
-NMDevice:ip6-config, object property in NMDevice +NMDevice:product, object property in NMDevice
-NMDevice:managed, object property in NMDevice +NMDevice:state, object property in NMDevice
-NMDevice:product, object property in NMDevice +NMDevice:state-reason, object property in NMDevice
-NMDevice:state, object property in NMDevice +NMDevice:udi, object property in NMDevice
-NMDevice:state-reason, object property in NMDevice +NMDevice:vendor, object property in NMDevice
-NMDevice:udi, object property in NMDevice +NMDeviceAdsl, struct in NMDeviceAdsl
-NMDevice:vendor, object property in NMDevice +NMDeviceAdsl:carrier, object property in NMDeviceAdsl
-NMDeviceAdsl:carrier, object property in NMDeviceAdsl +NMDeviceAdslClass, struct in NMDeviceAdsl
@@ -646,15 +811,23 @@
-NMDeviceBond:carrier, object property in NMDeviceBond +NMDeviceBond, struct in NMDeviceBond
-NMDeviceBond:hw-address, object property in NMDeviceBond +NMDeviceBond:carrier, object property in NMDeviceBond
-NMDeviceBond:slaves, object property in NMDeviceBond +NMDeviceBond:hw-address, object property in NMDeviceBond +
+
+
+NMDeviceBond:slaves, object property in NMDeviceBond +
+
+
+NMDeviceBondClass, struct in NMDeviceBond
@@ -662,15 +835,23 @@
-NMDeviceBridge:carrier, object property in NMDeviceBridge +NMDeviceBridge, struct in NMDeviceBridge
-NMDeviceBridge:hw-address, object property in NMDeviceBridge +NMDeviceBridge:carrier, object property in NMDeviceBridge
-NMDeviceBridge:slaves, object property in NMDeviceBridge +NMDeviceBridge:hw-address, object property in NMDeviceBridge +
+
+
+NMDeviceBridge:slaves, object property in NMDeviceBridge +
+
+
+NMDeviceBridgeClass, struct in NMDeviceBridge
@@ -678,15 +859,23 @@
-NMDeviceBt:bt-capabilities, object property in NMDeviceBt +NMDeviceBt, struct in NMDeviceBt +
+
+
+NMDeviceBt:bt-capabilities, object property in NMDeviceBt
-NMDeviceBt:hw-address, object property in NMDeviceBt +NMDeviceBt:hw-address, object property in NMDeviceBt
-NMDeviceBt:name, object property in NMDeviceBt +NMDeviceBt:name, object property in NMDeviceBt +
+
+
+NMDeviceBtClass, struct in NMDeviceBt
@@ -694,23 +883,39 @@
-NMDeviceDeactivateFn, user_function in NMDevice +NMDeviceClass, struct in NMDevice +
+
+
+NMDeviceDeactivateFn, user_function in NMDevice +
+
+
+NMDeviceError, enum in NMDevice +
+
+
+NMDeviceEthernet, struct in NMDeviceEthernet +
+
+
+NMDeviceEthernet:carrier, object property in NMDeviceEthernet
-NMDeviceEthernet:carrier, object property in NMDeviceEthernet +NMDeviceEthernet:hw-address, object property in NMDeviceEthernet
-NMDeviceEthernet:hw-address, object property in NMDeviceEthernet +NMDeviceEthernet:perm-hw-address, object property in NMDeviceEthernet
-NMDeviceEthernet:perm-hw-address, object property in NMDeviceEthernet +NMDeviceEthernet:speed, object property in NMDeviceEthernet
-NMDeviceEthernet:speed, object property in NMDeviceEthernet +NMDeviceEthernetClass, struct in NMDeviceEthernet
@@ -718,11 +923,39 @@
-NMDeviceInfiniband:carrier, object property in NMDeviceInfiniband +NMDeviceGeneric, struct in NMDeviceGeneric
-NMDeviceInfiniband:hw-address, object property in NMDeviceInfiniband +NMDeviceGeneric:hw-address, object property in NMDeviceGeneric +
+
+
+NMDeviceGeneric:type-description, object property in NMDeviceGeneric +
+
+
+NMDeviceGenericClass, struct in NMDeviceGeneric +
+
+
+NMDeviceGenericError, enum in NMDeviceGeneric +
+
+
+NMDeviceInfiniband, struct in NMDeviceInfiniband +
+
+
+NMDeviceInfiniband:carrier, object property in NMDeviceInfiniband +
+
+
+NMDeviceInfiniband:hw-address, object property in NMDeviceInfiniband +
+
+
+NMDeviceInfinibandClass, struct in NMDeviceInfiniband
@@ -730,11 +963,19 @@
-NMDeviceModem:current-capabilities, object property in NMDeviceModem +NMDeviceModem, struct in NMDeviceModem
-NMDeviceModem:modem-capabilities, object property in NMDeviceModem +NMDeviceModem:current-capabilities, object property in NMDeviceModem +
+
+
+NMDeviceModem:modem-capabilities, object property in NMDeviceModem +
+
+
+NMDeviceModemClass, struct in NMDeviceModem
@@ -742,15 +983,23 @@
-NMDeviceOlpcMesh:active-channel, object property in NMDeviceOlpcMesh +NMDeviceOlpcMesh, struct in NMDeviceOlpcMesh +
+
+
+NMDeviceOlpcMesh:active-channel, object property in NMDeviceOlpcMesh
-NMDeviceOlpcMesh:companion, object property in NMDeviceOlpcMesh +NMDeviceOlpcMesh:companion, object property in NMDeviceOlpcMesh
-NMDeviceOlpcMesh:hw-address, object property in NMDeviceOlpcMesh +NMDeviceOlpcMesh:hw-address, object property in NMDeviceOlpcMesh +
+
+
+NMDeviceOlpcMeshClass, struct in NMDeviceOlpcMesh
@@ -758,15 +1007,47 @@
-NMDeviceVlan:carrier, object property in NMDeviceVlan +NMDeviceTeam, struct in NMDeviceTeam +
+
+
+NMDeviceTeam:carrier, object property in NMDeviceTeam +
+
+
+NMDeviceTeam:hw-address, object property in NMDeviceTeam +
+
+
+NMDeviceTeam:slaves, object property in NMDeviceTeam +
+
+
+NMDeviceTeamClass, struct in NMDeviceTeam
-NMDeviceVlan:hw-address, object property in NMDeviceVlan +NMDeviceTeamError, enum in NMDeviceTeam
-NMDeviceVlan:vlan-id, object property in NMDeviceVlan +NMDeviceVlan, struct in NMDeviceVlan +
+
+
+NMDeviceVlan:carrier, object property in NMDeviceVlan +
+
+
+NMDeviceVlan:hw-address, object property in NMDeviceVlan +
+
+
+NMDeviceVlan:vlan-id, object property in NMDeviceVlan +
+
+
+NMDeviceVlanClass, struct in NMDeviceVlan
@@ -774,35 +1055,47 @@
-NMDeviceWifi::access-point-added, object signal in NMDeviceWifi +NMDeviceWifi, struct in NMDeviceWifi +
+
+
+NMDeviceWifi::access-point-added, object signal in NMDeviceWifi
-NMDeviceWifi::access-point-removed, object signal in NMDeviceWifi +NMDeviceWifi::access-point-removed, object signal in NMDeviceWifi
-NMDeviceWifi:active-access-point, object property in NMDeviceWifi +NMDeviceWifi:access-points, object property in NMDeviceWifi
-NMDeviceWifi:bitrate, object property in NMDeviceWifi +NMDeviceWifi:active-access-point, object property in NMDeviceWifi
-NMDeviceWifi:hw-address, object property in NMDeviceWifi +NMDeviceWifi:bitrate, object property in NMDeviceWifi
-NMDeviceWifi:mode, object property in NMDeviceWifi +NMDeviceWifi:hw-address, object property in NMDeviceWifi
-NMDeviceWifi:perm-hw-address, object property in NMDeviceWifi +NMDeviceWifi:mode, object property in NMDeviceWifi
-NMDeviceWifi:wireless-capabilities, object property in NMDeviceWifi +NMDeviceWifi:perm-hw-address, object property in NMDeviceWifi +
+
+
+NMDeviceWifi:wireless-capabilities, object property in NMDeviceWifi +
+
+
+NMDeviceWifiClass, struct in NMDeviceWifi
@@ -810,43 +1103,55 @@
-NMDeviceWifiRequestScanFn, user_function in NMDeviceWifi +NMDeviceWifiRequestScanFn, user_function in NMDeviceWifi +
+
+
+NMDeviceWimax, struct in NMDeviceWimax +
+
+
+NMDeviceWimax::nsp-added, object signal in NMDeviceWimax +
+
+
+NMDeviceWimax::nsp-removed, object signal in NMDeviceWimax
-NMDeviceWimax::nsp-added, object signal in NMDeviceWimax +NMDeviceWimax:active-nsp, object property in NMDeviceWimax
-NMDeviceWimax::nsp-removed, object signal in NMDeviceWimax +NMDeviceWimax:bsid, object property in NMDeviceWimax
-NMDeviceWimax:active-nsp, object property in NMDeviceWimax +NMDeviceWimax:center-frequency, object property in NMDeviceWimax
-NMDeviceWimax:bsid, object property in NMDeviceWimax +NMDeviceWimax:cinr, object property in NMDeviceWimax
-NMDeviceWimax:center-frequency, object property in NMDeviceWimax +NMDeviceWimax:hw-address, object property in NMDeviceWimax
-NMDeviceWimax:cinr, object property in NMDeviceWimax +NMDeviceWimax:nsps, object property in NMDeviceWimax
-NMDeviceWimax:hw-address, object property in NMDeviceWimax +NMDeviceWimax:rssi, object property in NMDeviceWimax
-NMDeviceWimax:rssi, object property in NMDeviceWimax +NMDeviceWimax:tx-power, object property in NMDeviceWimax
-NMDeviceWimax:tx-power, object property in NMDeviceWimax +NMDeviceWimaxClass, struct in NMDeviceWimax
@@ -866,15 +1171,15 @@
-nm_device_adsl_error_quark, function in NMDeviceAdsl +nm_device_adsl_error_quark, function in NMDeviceAdsl
-nm_device_adsl_get_carrier, function in NMDeviceAdsl +nm_device_adsl_get_carrier, function in NMDeviceAdsl
-nm_device_adsl_new, function in NMDeviceAdsl +nm_device_adsl_new, function in NMDeviceAdsl
@@ -894,19 +1199,19 @@
-nm_device_bond_error_quark, function in NMDeviceBond +nm_device_bond_error_quark, function in NMDeviceBond
-nm_device_bond_get_carrier, function in NMDeviceBond +nm_device_bond_get_carrier, function in NMDeviceBond
-nm_device_bond_get_hw_address, function in NMDeviceBond +nm_device_bond_get_hw_address, function in NMDeviceBond
-nm_device_bond_get_slaves, function in NMDeviceBond +nm_device_bond_get_slaves, function in NMDeviceBond
@@ -914,7 +1219,7 @@
-nm_device_bond_new, function in NMDeviceBond +nm_device_bond_new, function in NMDeviceBond
@@ -930,19 +1235,19 @@
-nm_device_bridge_error_quark, function in NMDeviceBridge +nm_device_bridge_error_quark, function in NMDeviceBridge
-nm_device_bridge_get_carrier, function in NMDeviceBridge +nm_device_bridge_get_carrier, function in NMDeviceBridge
-nm_device_bridge_get_hw_address, function in NMDeviceBridge +nm_device_bridge_get_hw_address, function in NMDeviceBridge
-nm_device_bridge_get_slaves, function in NMDeviceBridge +nm_device_bridge_get_slaves, function in NMDeviceBridge
@@ -950,7 +1255,7 @@
-nm_device_bridge_new, function in NMDeviceBridge +nm_device_bridge_new, function in NMDeviceBridge
@@ -966,19 +1271,19 @@
-nm_device_bt_error_quark, function in NMDeviceBt +nm_device_bt_error_quark, function in NMDeviceBt
-nm_device_bt_get_capabilities, function in NMDeviceBt +nm_device_bt_get_capabilities, function in NMDeviceBt
-nm_device_bt_get_hw_address, function in NMDeviceBt +nm_device_bt_get_hw_address, function in NMDeviceBt
-nm_device_bt_get_name, function in NMDeviceBt +nm_device_bt_get_name, function in NMDeviceBt
@@ -990,7 +1295,7 @@
-nm_device_bt_new, function in NMDeviceBt +nm_device_bt_new, function in NMDeviceBt
@@ -998,11 +1303,11 @@
-nm_device_connection_compatible, function in NMDevice +nm_device_connection_compatible, function in NMDevice
-nm_device_connection_valid, function in NMDevice +nm_device_connection_valid, function in NMDevice
@@ -1018,7 +1323,11 @@
-nm_device_disconnect, function in NMDevice +nm_device_disambiguate_names, function in NMDevice +
+
+
+nm_device_disconnect, function in NMDevice
@@ -1030,6 +1339,14 @@
+NM_DEVICE_ERROR, macro in NMDevice +
+
+
+nm_device_error_quark, function in NMDevice +
+
+
NM_DEVICE_ETHERNET_CARRIER, macro in NMDeviceEthernet
@@ -1038,23 +1355,23 @@
-nm_device_ethernet_error_quark, function in NMDeviceEthernet +nm_device_ethernet_error_quark, function in NMDeviceEthernet
-nm_device_ethernet_get_carrier, function in NMDeviceEthernet +nm_device_ethernet_get_carrier, function in NMDeviceEthernet
-nm_device_ethernet_get_hw_address, function in NMDeviceEthernet +nm_device_ethernet_get_hw_address, function in NMDeviceEthernet
-nm_device_ethernet_get_permanent_hw_address, function in NMDeviceEthernet +nm_device_ethernet_get_permanent_hw_address, function in NMDeviceEthernet
-nm_device_ethernet_get_speed, function in NMDeviceEthernet +nm_device_ethernet_get_speed, function in NMDeviceEthernet
@@ -1062,7 +1379,7 @@
-nm_device_ethernet_new, function in NMDeviceEthernet +nm_device_ethernet_new, function in NMDeviceEthernet
@@ -1074,7 +1391,7 @@
-nm_device_filter_connections, function in NMDevice +nm_device_filter_connections, function in NMDevice
@@ -1086,87 +1403,135 @@
-nm_device_get_active_connection, function in NMDevice +NM_DEVICE_GENERIC_ERROR, macro in NMDeviceGeneric
-nm_device_get_autoconnect, function in NMDevice +nm_device_generic_error_quark, function in NMDeviceGeneric
-nm_device_get_available_connections, function in NMDevice +nm_device_generic_get_hw_address, function in NMDeviceGeneric
-nm_device_get_capabilities, function in NMDevice +NM_DEVICE_GENERIC_HW_ADDRESS, macro in NMDeviceGeneric
-nm_device_get_device_type, function in NMDevice +nm_device_generic_new, function in NMDeviceGeneric
-nm_device_get_dhcp4_config, function in NMDevice +NM_DEVICE_GENERIC_TYPE_DESCRIPTION, macro in NMDeviceGeneric
-nm_device_get_dhcp6_config, function in NMDevice +nm_device_get_active_connection, function in NMDevice
-nm_device_get_driver, function in NMDevice +nm_device_get_autoconnect, function in NMDevice
-nm_device_get_driver_version, function in NMDevice +nm_device_get_available_connections, function in NMDevice
-nm_device_get_firmware_missing, function in NMDevice +nm_device_get_capabilities, function in NMDevice
-nm_device_get_firmware_version, function in NMDevice +nm_device_get_description, function in NMDevice
-nm_device_get_iface, function in NMDevice +nm_device_get_device_type, function in NMDevice
-nm_device_get_ip4_config, function in NMDevice +nm_device_get_dhcp4_config, function in NMDevice
-nm_device_get_ip6_config, function in NMDevice +nm_device_get_dhcp6_config, function in NMDevice
-nm_device_get_ip_iface, function in NMDevice +nm_device_get_driver, function in NMDevice
-nm_device_get_managed, function in NMDevice +nm_device_get_driver_version, function in NMDevice
-nm_device_get_product, function in NMDevice +nm_device_get_firmware_missing, function in NMDevice
-nm_device_get_state, function in NMDevice +nm_device_get_firmware_version, function in NMDevice
-nm_device_get_state_reason, function in NMDevice +nm_device_get_hw_address, function in NMDevice
-nm_device_get_udi, function in NMDevice +nm_device_get_iface, function in NMDevice
-nm_device_get_vendor, function in NMDevice +nm_device_get_ip4_config, function in NMDevice +
+
+
+nm_device_get_ip6_config, function in NMDevice +
+
+
+nm_device_get_ip_iface, function in NMDevice +
+
+
+nm_device_get_managed, function in NMDevice +
+
+
+nm_device_get_mtu, function in NMDevice +
+
+
+nm_device_get_physical_port_id, function in NMDevice +
+
+
+nm_device_get_product, function in NMDevice +
+
+
+nm_device_get_setting_type, function in NMDevice +
+
+
+nm_device_get_state, function in NMDevice +
+
+
+nm_device_get_state_reason, function in NMDevice +
+
+
+nm_device_get_type_description, function in NMDevice +
+
+
+nm_device_get_udi, function in NMDevice +
+
+
+nm_device_get_vendor, function in NMDevice
@@ -1178,15 +1543,15 @@
-nm_device_infiniband_error_quark, function in NMDeviceInfiniband +nm_device_infiniband_error_quark, function in NMDeviceInfiniband
-nm_device_infiniband_get_carrier, function in NMDeviceInfiniband +nm_device_infiniband_get_carrier, function in NMDeviceInfiniband
-nm_device_infiniband_get_hw_address, function in NMDeviceInfiniband +nm_device_infiniband_get_hw_address, function in NMDeviceInfiniband
@@ -1194,7 +1559,7 @@
-nm_device_infiniband_new, function in NMDeviceInfiniband +nm_device_infiniband_new, function in NMDeviceInfiniband
@@ -1226,15 +1591,15 @@
-nm_device_modem_error_quark, function in NMDeviceModem +nm_device_modem_error_quark, function in NMDeviceModem
-nm_device_modem_get_current_capabilities, function in NMDeviceModem +nm_device_modem_get_current_capabilities, function in NMDeviceModem
-nm_device_modem_get_modem_capabilities, function in NMDeviceModem +nm_device_modem_get_modem_capabilities, function in NMDeviceModem
@@ -1242,7 +1607,11 @@
-nm_device_new, function in NMDevice +NM_DEVICE_MTU, macro in NMDevice +
+
+
+nm_device_new, function in NMDevice
@@ -1258,19 +1627,19 @@
-nm_device_olpc_mesh_error_quark, function in NMDeviceOlpcMesh +nm_device_olpc_mesh_error_quark, function in NMDeviceOlpcMesh
-nm_device_olpc_mesh_get_active_channel, function in NMDeviceOlpcMesh +nm_device_olpc_mesh_get_active_channel, function in NMDeviceOlpcMesh
-nm_device_olpc_mesh_get_companion, function in NMDeviceOlpcMesh +nm_device_olpc_mesh_get_companion, function in NMDeviceOlpcMesh
-nm_device_olpc_mesh_get_hw_address, function in NMDeviceOlpcMesh +nm_device_olpc_mesh_get_hw_address, function in NMDeviceOlpcMesh
@@ -1278,7 +1647,11 @@
-nm_device_olpc_mesh_new, function in NMDeviceOlpcMesh +nm_device_olpc_mesh_new, function in NMDeviceOlpcMesh +
+
+
+NM_DEVICE_PHYSICAL_PORT_ID, macro in NMDevice
@@ -1286,7 +1659,7 @@
-nm_device_set_autoconnect, function in NMDevice +nm_device_set_autoconnect, function in NMDevice
@@ -1298,6 +1671,42 @@
+NM_DEVICE_TEAM_CARRIER, macro in NMDeviceTeam +
+
+
+NM_DEVICE_TEAM_ERROR, macro in NMDeviceTeam +
+
+
+nm_device_team_error_quark, function in NMDeviceTeam +
+
+
+nm_device_team_get_carrier, function in NMDeviceTeam +
+
+
+nm_device_team_get_hw_address, function in NMDeviceTeam +
+
+
+nm_device_team_get_slaves, function in NMDeviceTeam +
+
+
+NM_DEVICE_TEAM_HW_ADDRESS, macro in NMDeviceTeam +
+
+
+nm_device_team_new, function in NMDeviceTeam +
+
+
+NM_DEVICE_TEAM_SLAVES, macro in NMDeviceTeam +
+
+
NM_DEVICE_UDI, macro in NMDevice
@@ -1314,19 +1723,19 @@
-nm_device_vlan_error_quark, function in NMDeviceVlan +nm_device_vlan_error_quark, function in NMDeviceVlan
-nm_device_vlan_get_carrier, function in NMDeviceVlan +nm_device_vlan_get_carrier, function in NMDeviceVlan
-nm_device_vlan_get_hw_address, function in NMDeviceVlan +nm_device_vlan_get_hw_address, function in NMDeviceVlan
-nm_device_vlan_get_vlan_id, function in NMDeviceVlan +nm_device_vlan_get_vlan_id, function in NMDeviceVlan
@@ -1334,7 +1743,7 @@
-nm_device_vlan_new, function in NMDeviceVlan +nm_device_vlan_new, function in NMDeviceVlan
@@ -1342,6 +1751,10 @@
+NM_DEVICE_WIFI_ACCESS_POINTS, macro in NMDeviceWifi +
+
+
NM_DEVICE_WIFI_ACTIVE_ACCESS_POINT, macro in NMDeviceWifi
@@ -1358,39 +1771,39 @@
-nm_device_wifi_error_quark, function in NMDeviceWifi +nm_device_wifi_error_quark, function in NMDeviceWifi
-nm_device_wifi_get_access_points, function in NMDeviceWifi +nm_device_wifi_get_access_points, function in NMDeviceWifi
-nm_device_wifi_get_access_point_by_path, function in NMDeviceWifi +nm_device_wifi_get_access_point_by_path, function in NMDeviceWifi
-nm_device_wifi_get_active_access_point, function in NMDeviceWifi +nm_device_wifi_get_active_access_point, function in NMDeviceWifi
-nm_device_wifi_get_bitrate, function in NMDeviceWifi +nm_device_wifi_get_bitrate, function in NMDeviceWifi
-nm_device_wifi_get_capabilities, function in NMDeviceWifi +nm_device_wifi_get_capabilities, function in NMDeviceWifi
-nm_device_wifi_get_hw_address, function in NMDeviceWifi +nm_device_wifi_get_hw_address, function in NMDeviceWifi
-nm_device_wifi_get_mode, function in NMDeviceWifi +nm_device_wifi_get_mode, function in NMDeviceWifi
-nm_device_wifi_get_permanent_hw_address, function in NMDeviceWifi +nm_device_wifi_get_permanent_hw_address, function in NMDeviceWifi
@@ -1402,7 +1815,7 @@
-nm_device_wifi_new, function in NMDeviceWifi +nm_device_wifi_new, function in NMDeviceWifi
@@ -1410,7 +1823,7 @@
-nm_device_wifi_request_scan_simple, function in NMDeviceWifi +nm_device_wifi_request_scan_simple, function in NMDeviceWifi
@@ -1434,43 +1847,43 @@
-nm_device_wimax_error_quark, function in NMDeviceWimax +nm_device_wimax_error_quark, function in NMDeviceWimax
-nm_device_wimax_get_active_nsp, function in NMDeviceWimax +nm_device_wimax_get_active_nsp, function in NMDeviceWimax
-nm_device_wimax_get_bsid, function in NMDeviceWimax +nm_device_wimax_get_bsid, function in NMDeviceWimax
-nm_device_wimax_get_center_frequency, function in NMDeviceWimax +nm_device_wimax_get_center_frequency, function in NMDeviceWimax
-nm_device_wimax_get_cinr, function in NMDeviceWimax +nm_device_wimax_get_cinr, function in NMDeviceWimax
-nm_device_wimax_get_hw_address, function in NMDeviceWimax +nm_device_wimax_get_hw_address, function in NMDeviceWimax
-nm_device_wimax_get_nsps, function in NMDeviceWimax +nm_device_wimax_get_nsps, function in NMDeviceWimax
-nm_device_wimax_get_nsp_by_path, function in NMDeviceWimax +nm_device_wimax_get_nsp_by_path, function in NMDeviceWimax
-nm_device_wimax_get_rssi, function in NMDeviceWimax +nm_device_wimax_get_rssi, function in NMDeviceWimax
-nm_device_wimax_get_tx_power, function in NMDeviceWimax +nm_device_wimax_get_tx_power, function in NMDeviceWimax
@@ -1478,7 +1891,11 @@
-nm_device_wimax_new, function in NMDeviceWimax +nm_device_wimax_new, function in NMDeviceWimax +
+
+
+NM_DEVICE_WIMAX_NSPS, macro in NMDeviceWimax
@@ -1490,19 +1907,27 @@
-NMDHCP4Config:options, object property in NMDHCP4Config +NMDHCP4Config, struct in NMDHCP4Config +
+
+
+NMDHCP4Config:options, object property in NMDHCP4Config +
+
+
+NMDHCP4ConfigClass, struct in NMDHCP4Config
-nm_dhcp4_config_get_one_option, function in NMDHCP4Config +nm_dhcp4_config_get_one_option, function in NMDHCP4Config
-nm_dhcp4_config_get_options, function in NMDHCP4Config +nm_dhcp4_config_get_options, function in NMDHCP4Config
-nm_dhcp4_config_new, function in NMDHCP4Config +nm_dhcp4_config_new, function in NMDHCP4Config
@@ -1510,19 +1935,27 @@
-NMDHCP6Config:options, object property in NMDHCP6Config +NMDHCP6Config, struct in NMDHCP6Config +
+
+
+NMDHCP6Config:options, object property in NMDHCP6Config
-nm_dhcp6_config_get_one_option, function in NMDHCP6Config +NMDHCP6ConfigClass, struct in NMDHCP6Config
-nm_dhcp6_config_get_options, function in NMDHCP6Config +nm_dhcp6_config_get_one_option, function in NMDHCP6Config
-nm_dhcp6_config_new, function in NMDHCP6Config +nm_dhcp6_config_get_options, function in NMDHCP6Config +
+
+
+nm_dhcp6_config_new, function in NMDHCP6Config
@@ -1531,23 +1964,39 @@

I

-NMIP4Config:addresses, object property in NMIP4Config +NMIP4Config, struct in NMIP4Config
-NMIP4Config:domains, object property in NMIP4Config +NMIP4Config:addresses, object property in NMIP4Config
-NMIP4Config:nameservers, object property in NMIP4Config +NMIP4Config:domains, object property in NMIP4Config
-NMIP4Config:routes, object property in NMIP4Config +NMIP4Config:gateway, object property in NMIP4Config
-NMIP4Config:wins-servers, object property in NMIP4Config +NMIP4Config:nameservers, object property in NMIP4Config +
+
+
+NMIP4Config:routes, object property in NMIP4Config +
+
+
+NMIP4Config:searches, object property in NMIP4Config +
+
+
+NMIP4Config:wins-servers, object property in NMIP4Config +
+
+
+NMIP4ConfigClass, struct in NMIP4Config
@@ -1559,23 +2008,35 @@
-nm_ip4_config_get_addresses, function in NMIP4Config +NM_IP4_CONFIG_GATEWAY, macro in NMIP4Config
-nm_ip4_config_get_domains, function in NMIP4Config +nm_ip4_config_get_addresses, function in NMIP4Config
-nm_ip4_config_get_nameservers, function in NMIP4Config +nm_ip4_config_get_domains, function in NMIP4Config
-nm_ip4_config_get_routes, function in NMIP4Config +nm_ip4_config_get_gateway, function in NMIP4Config
-nm_ip4_config_get_wins_servers, function in NMIP4Config +nm_ip4_config_get_nameservers, function in NMIP4Config +
+
+
+nm_ip4_config_get_routes, function in NMIP4Config +
+
+
+nm_ip4_config_get_searches, function in NMIP4Config +
+
+
+nm_ip4_config_get_wins_servers, function in NMIP4Config
@@ -1583,7 +2044,7 @@
-nm_ip4_config_new, function in NMIP4Config +nm_ip4_config_new, function in NMIP4Config
@@ -1591,23 +2052,43 @@
+NM_IP4_CONFIG_SEARCHES, macro in NMIP4Config +
+
+
NM_IP4_CONFIG_WINS_SERVERS, macro in NMIP4Config
-NMIP6Config:addresses, object property in NMIP6Config +NMIP6Config, struct in NMIP6Config +
+
+
+NMIP6Config:addresses, object property in NMIP6Config +
+
+
+NMIP6Config:domains, object property in NMIP6Config
-NMIP6Config:domains, object property in NMIP6Config +NMIP6Config:gateway, object property in NMIP6Config
-NMIP6Config:nameservers, object property in NMIP6Config +NMIP6Config:nameservers, object property in NMIP6Config
-NMIP6Config:routes, object property in NMIP6Config +NMIP6Config:routes, object property in NMIP6Config +
+
+
+NMIP6Config:searches, object property in NMIP6Config +
+
+
+NMIP6ConfigClass, struct in NMIP6Config
@@ -1619,19 +2100,39 @@
-nm_ip6_config_get_addresses, function in NMIP6Config +NM_IP6_CONFIG_GATEWAY, macro in NMIP6Config +
+
+
+nm_ip6_config_get_addresses, function in NMIP6Config +
+
+
+nm_ip6_config_get_domains, function in NMIP6Config +
+
+
+nm_ip6_config_get_gateway, function in NMIP6Config
-nm_ip6_config_get_domains, function in NMIP6Config +nm_ip6_config_get_nameserver, function in NMIP6Config
-nm_ip6_config_get_nameservers, function in NMIP6Config +nm_ip6_config_get_nameservers, function in NMIP6Config
-nm_ip6_config_get_routes, function in NMIP6Config +nm_ip6_config_get_num_nameservers, function in NMIP6Config +
+
+
+nm_ip6_config_get_routes, function in NMIP6Config +
+
+
+nm_ip6_config_get_searches, function in NMIP6Config
@@ -1639,24 +2140,36 @@
-nm_ip6_config_new, function in NMIP6Config +nm_ip6_config_new, function in NMIP6Config
NM_IP6_CONFIG_ROUTES, macro in NMIP6Config
+
+NM_IP6_CONFIG_SEARCHES, macro in NMIP6Config +
+

O

-NMObject::object-creation-failed, object signal in NMObject +NMObject, struct in NMObject +
+
+
+NMObject::object-creation-failed, object signal in NMObject +
+
+
+NMObject:dbus-connection, object property in NMObject
-NMObject:dbus-connection, object property in NMObject +NMObject:dbus-path, object property in NMObject
-NMObject:dbus-path, object property in NMObject +NMObjectClass, struct in NMObject
@@ -1676,80 +2189,108 @@
-nm_object_error_quark, function in NMObject +nm_object_error_quark, function in NMObject
-nm_object_get_connection, function in NMObject +nm_object_get_connection, function in NMObject
-nm_object_get_path, function in NMObject +nm_object_get_path, function in NMObject

R

-NMRemoteConnection::removed, object signal in NMRemoteConnection +NMRemoteConnection, struct in NMRemoteConnection +
+
+
+NMRemoteConnection::removed, object signal in NMRemoteConnection +
+
+
+NMRemoteConnection::updated, object signal in NMRemoteConnection +
+
+
+NMRemoteConnection::visible, object signal in NMRemoteConnection +
+
+
+NMRemoteConnection:bus, object property in NMRemoteConnection +
+
+
+NMRemoteConnection:dbus-connection, object property in NMRemoteConnection
-NMRemoteConnection::updated, object signal in NMRemoteConnection +NMRemoteConnection:dbus-path, object property in NMRemoteConnection
-NMRemoteConnection::visible, object signal in NMRemoteConnection +NMRemoteConnection:unsaved, object property in NMRemoteConnection
-NMRemoteConnection:bus, object property in NMRemoteConnection +NMRemoteConnectionClass, struct in NMRemoteConnection
-NMRemoteConnection:dbus-connection, object property in NMRemoteConnection +NMRemoteConnectionCommitFunc, typedef in NMRemoteConnection
-NMRemoteConnection:dbus-path, object property in NMRemoteConnection +NMRemoteConnectionDeleteFunc, typedef in NMRemoteConnection
-NMRemoteConnectionCommitFunc, user_function in NMRemoteConnection +NMRemoteConnectionError, enum in NMRemoteConnection
-NMRemoteConnectionDeleteFunc, user_function in NMRemoteConnection +NMRemoteConnectionGetSecretsFunc, user_function in NMRemoteConnection
-NMRemoteConnectionGetSecretsFunc, user_function in NMRemoteConnection +NMRemoteConnectionResultFunc, user_function in NMRemoteConnection
-NMRemoteSettings::connections-read, object signal in NMRemoteSettings +NMRemoteSettings, struct in NMRemoteSettings
-NMRemoteSettings::new-connection, object signal in NMRemoteSettings +NMRemoteSettings::connections-read, object signal in NMRemoteSettings
-NMRemoteSettings:bus, object property in NMRemoteSettings +NMRemoteSettings::new-connection, object signal in NMRemoteSettings
-NMRemoteSettings:can-modify, object property in NMRemoteSettings +NMRemoteSettings:bus, object property in NMRemoteSettings
-NMRemoteSettings:hostname, object property in NMRemoteSettings +NMRemoteSettings:can-modify, object property in NMRemoteSettings
-NMRemoteSettings:service-running, object property in NMRemoteSettings +NMRemoteSettings:hostname, object property in NMRemoteSettings
-NMRemoteSettingsAddConnectionFunc, user_function in NMRemoteSettings +NMRemoteSettings:service-running, object property in NMRemoteSettings +
+
+
+NMRemoteSettingsAddConnectionFunc, user_function in NMRemoteSettings +
+
+
+NMRemoteSettingsClass, struct in NMRemoteSettings
@@ -1757,23 +2298,43 @@
-NMRemoteSettingsSaveHostnameFunc, user_function in NMRemoteSettings +NMRemoteSettingsLoadConnectionsFunc, user_function in NMRemoteSettings +
+
+
+NMRemoteSettingsSaveHostnameFunc, user_function in NMRemoteSettings +
+
+
+nm_remote_connection_commit_changes, function in NMRemoteConnection +
+
+
+nm_remote_connection_commit_changes_unsaved, function in NMRemoteConnection
-nm_remote_connection_commit_changes, function in NMRemoteConnection +nm_remote_connection_delete, function in NMRemoteConnection
-nm_remote_connection_delete, function in NMRemoteConnection +NM_REMOTE_CONNECTION_ERROR, macro in NMRemoteConnection
-nm_remote_connection_get_secrets, function in NMRemoteConnection +nm_remote_connection_error_quark, function in NMRemoteConnection
-nm_remote_connection_new, function in NMRemoteConnection +nm_remote_connection_get_secrets, function in NMRemoteConnection +
+
+
+nm_remote_connection_get_unsaved, function in NMRemoteConnection +
+
+
+nm_remote_connection_new, function in NMRemoteConnection
@@ -1781,11 +2342,23 @@
+nm_remote_connection_save, function in NMRemoteConnection +
+
+
+NM_REMOTE_CONNECTION_UNSAVED, macro in NMRemoteConnection +
+
+
NM_REMOTE_CONNECTION_UPDATED, macro in NMRemoteConnection
-nm_remote_settings_add_connection, function in NMRemoteSettings +nm_remote_settings_add_connection, function in NMRemoteSettings +
+
+
+nm_remote_settings_add_connection_unsaved, function in NMRemoteSettings
@@ -1805,15 +2378,19 @@
-nm_remote_settings_error_quark, function in NMRemoteSettings +nm_remote_settings_error_quark, function in NMRemoteSettings
-nm_remote_settings_get_connection_by_path, function in NMRemoteSettings +nm_remote_settings_get_connection_by_id, function in NMRemoteSettings
-nm_remote_settings_get_connection_by_uuid, function in NMRemoteSettings +nm_remote_settings_get_connection_by_path, function in NMRemoteSettings +
+
+
+nm_remote_settings_get_connection_by_uuid, function in NMRemoteSettings
@@ -1821,15 +2398,19 @@
-nm_remote_settings_list_connections, function in NMRemoteSettings +nm_remote_settings_list_connections, function in NMRemoteSettings
-nm_remote_settings_new, function in NMRemoteSettings +nm_remote_settings_load_connections, function in NMRemoteSettings
-nm_remote_settings_new_async, function in NMRemoteSettings +nm_remote_settings_new, function in NMRemoteSettings +
+
+
+nm_remote_settings_new_async, function in NMRemoteSettings
@@ -1837,11 +2418,15 @@
-nm_remote_settings_new_finish, function in NMRemoteSettings +nm_remote_settings_new_finish, function in NMRemoteSettings +
+
+
+nm_remote_settings_reload_connections, function in NMRemoteSettings
-nm_remote_settings_save_hostname, function in NMRemoteSettings +nm_remote_settings_save_hostname, function in NMRemoteSettings
@@ -1850,23 +2435,39 @@

S

-NMSecretAgent::registration-result, object signal in NMSecretAgent +NMSecretAgent, struct in NMSecretAgent +
+
+
+NMSecretAgent::registration-result, object signal in NMSecretAgent +
+
+
+NMSecretAgent:auto-register, object property in NMSecretAgent
-NMSecretAgent:auto-register, object property in NMSecretAgent +NMSecretAgent:capabilities, object property in NMSecretAgent
-NMSecretAgent:identifier, object property in NMSecretAgent +NMSecretAgent:identifier, object property in NMSecretAgent
-NMSecretAgent:registered, object property in NMSecretAgent +NMSecretAgent:registered, object property in NMSecretAgent
-NMSecretAgentDeleteSecretsFunc, user_function in NMSecretAgent +NMSecretAgentCapabilities, enum in NMSecretAgent +
+
+
+NMSecretAgentClass, struct in NMSecretAgent +
+
+
+NMSecretAgentDeleteSecretsFunc, user_function in NMSecretAgent
@@ -1878,11 +2479,11 @@
-NMSecretAgentGetSecretsFunc, user_function in NMSecretAgent +NMSecretAgentGetSecretsFunc, user_function in NMSecretAgent
-NMSecretAgentSaveSecretsFunc, user_function in NMSecretAgent +NMSecretAgentSaveSecretsFunc, user_function in NMSecretAgent
@@ -1890,7 +2491,11 @@
-nm_secret_agent_delete_secrets, function in NMSecretAgent +NM_SECRET_AGENT_CAPABILITIES, macro in NMSecretAgent +
+
+
+nm_secret_agent_delete_secrets, function in NMSecretAgent
@@ -1898,15 +2503,15 @@
-nm_secret_agent_error_quark, function in NMSecretAgent +nm_secret_agent_error_quark, function in NMSecretAgent
-nm_secret_agent_get_registered, function in NMSecretAgent +nm_secret_agent_get_registered, function in NMSecretAgent
-nm_secret_agent_get_secrets, function in NMSecretAgent +nm_secret_agent_get_secrets, function in NMSecretAgent
@@ -1914,7 +2519,7 @@
-nm_secret_agent_register, function in NMSecretAgent +nm_secret_agent_register, function in NMSecretAgent
@@ -1926,24 +2531,40 @@
-nm_secret_agent_save_secrets, function in NMSecretAgent +nm_secret_agent_save_secrets, function in NMSecretAgent
-nm_secret_agent_unregister, function in NMSecretAgent +nm_secret_agent_unregister, function in NMSecretAgent

V

-NMVPNConnection::vpn-state-changed, object signal in NMVPNConnection +NMVPNConnection, struct in NMVPNConnection +
+
+
+NMVPNConnection::vpn-state-changed, object signal in NMVPNConnection +
+
+
+NMVPNConnection:banner, object property in NMVPNConnection
-NMVPNConnection:banner, object property in NMVPNConnection +NMVPNConnection:vpn-state, object property in NMVPNConnection
-NMVPNConnection:vpn-state, object property in NMVPNConnection +NMVPNConnectionClass, struct in NMVPNConnection +
+
+
+NMVPNPlugin, struct in NMVPNPlugin +
+
+
+NMVPNPluginClass, struct in NMVPNPlugin
@@ -1951,15 +2572,23 @@
-NMVpnPluginUiCapability, enum in NMVpnPluginUiWidget +NMVpnPluginUiCapability, enum in NMVpnPluginUi
-NMVpnPluginUiFactory, user_function in NMVpnPluginUiWidget +NMVpnPluginUiFactory, user_function in NMVpnPluginUi
-NMVpnPluginUiInterfaceProp, enum in NMVpnPluginUiWidget +NMVpnPluginUiInterface, struct in NMVpnPluginUi +
+
+
+NMVpnPluginUiInterfaceProp, enum in NMVpnPluginUi +
+
+
+NMVpnPluginUiWidgetInterface, struct in NMVpnPluginUi
@@ -1967,15 +2596,15 @@
-nm_vpn_connection_get_banner, function in NMVPNConnection +nm_vpn_connection_get_banner, function in NMVPNConnection
-nm_vpn_connection_get_vpn_state, function in NMVPNConnection +nm_vpn_connection_get_vpn_state, function in NMVPNConnection
-nm_vpn_connection_new, function in NMVPNConnection +nm_vpn_connection_new, function in NMVPNConnection
@@ -1987,43 +2616,47 @@
-nm_vpn_plugin_disconnect, function in NMVPNPlugin +nm_vpn_plugin_disconnect, function in NMVPNPlugin +
+
+
+nm_vpn_plugin_error_quark, function in NMVPNPlugin
-nm_vpn_plugin_error_quark, function in NMVPNPlugin +nm_vpn_plugin_failure, function in NMVPNPlugin
-nm_vpn_plugin_failure, function in NMVPNPlugin +nm_vpn_plugin_get_connection, function in NMVPNPlugin
-nm_vpn_plugin_get_connection, function in NMVPNPlugin +nm_vpn_plugin_get_state, function in NMVPNPlugin
-nm_vpn_plugin_get_state, function in NMVPNPlugin +nm_vpn_plugin_secrets_required, function in NMVPNPlugin
-nm_vpn_plugin_set_config, function in NMVPNPlugin +nm_vpn_plugin_set_config, function in NMVPNPlugin
-nm_vpn_plugin_set_ip4_config, function in NMVPNPlugin +nm_vpn_plugin_set_ip4_config, function in NMVPNPlugin
-nm_vpn_plugin_set_ip6_config, function in NMVPNPlugin +nm_vpn_plugin_set_ip6_config, function in NMVPNPlugin
-nm_vpn_plugin_set_login_banner, function in NMVPNPlugin +nm_vpn_plugin_set_login_banner, function in NMVPNPlugin
-nm_vpn_plugin_set_state, function in NMVPNPlugin +nm_vpn_plugin_set_state, function in NMVPNPlugin
@@ -2031,76 +2664,84 @@
-nm_vpn_plugin_ui_factory, function in NMVpnPluginUiWidget +nm_vpn_plugin_ui_factory, function in NMVpnPluginUi
-nm_vpn_plugin_ui_interface_delete_connection, function in NMVpnPluginUiWidget +nm_vpn_plugin_ui_interface_delete_connection, function in NMVpnPluginUi
-NM_VPN_PLUGIN_UI_INTERFACE_DESC, macro in NMVpnPluginUiWidget +NM_VPN_PLUGIN_UI_INTERFACE_DESC, macro in NMVpnPluginUi
-nm_vpn_plugin_ui_interface_export, function in NMVpnPluginUiWidget +nm_vpn_plugin_ui_interface_export, function in NMVpnPluginUi
-nm_vpn_plugin_ui_interface_get_capabilities, function in NMVpnPluginUiWidget +nm_vpn_plugin_ui_interface_get_capabilities, function in NMVpnPluginUi
-nm_vpn_plugin_ui_interface_get_suggested_name, function in NMVpnPluginUiWidget +nm_vpn_plugin_ui_interface_get_suggested_name, function in NMVpnPluginUi
-nm_vpn_plugin_ui_interface_import, function in NMVpnPluginUiWidget +nm_vpn_plugin_ui_interface_import, function in NMVpnPluginUi
-NM_VPN_PLUGIN_UI_INTERFACE_NAME, macro in NMVpnPluginUiWidget +NM_VPN_PLUGIN_UI_INTERFACE_NAME, macro in NMVpnPluginUi
-NM_VPN_PLUGIN_UI_INTERFACE_SERVICE, macro in NMVpnPluginUiWidget +NM_VPN_PLUGIN_UI_INTERFACE_SERVICE, macro in NMVpnPluginUi
-nm_vpn_plugin_ui_interface_ui_factory, function in NMVpnPluginUiWidget +nm_vpn_plugin_ui_interface_ui_factory, function in NMVpnPluginUi
-nm_vpn_plugin_ui_widget_interface_get_widget, function in NMVpnPluginUiWidget +nm_vpn_plugin_ui_widget_interface_get_widget, function in NMVpnPluginUi
-nm_vpn_plugin_ui_widget_interface_save_secrets, function in NMVpnPluginUiWidget +nm_vpn_plugin_ui_widget_interface_save_secrets, function in NMVpnPluginUi
-nm_vpn_plugin_ui_widget_interface_update_connection, function in NMVpnPluginUiWidget +nm_vpn_plugin_ui_widget_interface_update_connection, function in NMVpnPluginUi
-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

-NMWimaxNsp:name, object property in NMWimaxNsp +NMWimaxNsp, struct in NMWimaxNsp +
+
+
+NMWimaxNsp:name, object property in NMWimaxNsp +
+
+
+NMWimaxNsp:network-type, object property in NMWimaxNsp
-NMWimaxNsp:network-type, object property in NMWimaxNsp +NMWimaxNsp:signal-quality, object property in NMWimaxNsp
-NMWimaxNsp:signal-quality, object property in NMWimaxNsp +NMWimaxNspClass, struct in NMWimaxNsp
@@ -2108,23 +2749,23 @@
-nm_wimax_nsp_connection_valid, function in NMWimaxNsp +nm_wimax_nsp_connection_valid, function in NMWimaxNsp
-nm_wimax_nsp_filter_connections, function in NMWimaxNsp +nm_wimax_nsp_filter_connections, function in NMWimaxNsp
-nm_wimax_nsp_get_name, function in NMWimaxNsp +nm_wimax_nsp_get_name, function in NMWimaxNsp
-nm_wimax_nsp_get_network_type, function in NMWimaxNsp +nm_wimax_nsp_get_network_type, function in NMWimaxNsp
-nm_wimax_nsp_get_signal_quality, function in NMWimaxNsp +nm_wimax_nsp_get_signal_quality, function in NMWimaxNsp
@@ -2136,7 +2777,7 @@
-nm_wimax_nsp_new, function in NMWimaxNsp +nm_wimax_nsp_new, function in NMWimaxNsp
@@ -2146,6 +2787,6 @@
+ Generated by GTK-Doc V1.19
\ No newline at end of file diff --git a/docs/libnm-glib/html/ch02.html b/docs/libnm-glib/html/ch02.html index 573515a1..c730745b 100644 --- a/docs/libnm-glib/html/ch02.html +++ b/docs/libnm-glib/html/ch02.html @@ -2,22 +2,22 @@ -libnm-glib Reference Manual: libnm-glib API Reference +libnm-glib API Reference - + - - - - - - + + + + + +

@@ -57,6 +57,12 @@ NMDeviceBridge
+NMDeviceTeam +
+
+NMDeviceGeneric +
+
NMDeviceInfiniband
@@ -90,7 +96,7 @@ NMRemoteConnection
-NMRemoteSettings +NMRemoteSettings — A helper for NetworkManager's settings API
nm-types @@ -105,7 +111,7 @@ NMVPNPlugin
-NMVpnPluginUiWidget +NMVpnPluginUi
nm-vpn-plugin-utils @@ -114,6 +120,6 @@

+ Generated by GTK-Doc V1.19
\ No newline at end of file diff --git a/docs/libnm-glib/html/home.png b/docs/libnm-glib/html/home.png index 9346b336..17003611 100644 Binary files a/docs/libnm-glib/html/home.png and b/docs/libnm-glib/html/home.png differ diff --git a/docs/libnm-glib/html/index.html b/docs/libnm-glib/html/index.html index e231d828..588c303c 100644 --- a/docs/libnm-glib/html/index.html +++ b/docs/libnm-glib/html/index.html @@ -2,11 +2,11 @@ -libnm-glib Reference Manual: libnm-glib Reference Manual +libnm-glib Reference Manual - + @@ -15,7 +15,7 @@

- for libnm-glib 0.9.8.10 + for libnm-glib 0.9.10.0 The latest version of this documentation can be found on-line at https://developer.gnome.org/libnm-glib/0.9/. @@ -84,6 +84,12 @@ NMDeviceBridge

+NMDeviceTeam +
+
+NMDeviceGeneric +
+
NMDeviceInfiniband
@@ -117,7 +123,7 @@ NMRemoteConnection
-NMRemoteSettings +NMRemoteSettings — A helper for NetworkManager's settings API
nm-types @@ -132,7 +138,7 @@ NMVPNPlugin
-NMVpnPluginUiWidget +NMVpnPluginUi
nm-vpn-plugin-utils @@ -145,6 +151,6 @@
+ Generated by GTK-Doc V1.19
\ No newline at end of file diff --git a/docs/libnm-glib/html/index.sgml b/docs/libnm-glib/html/index.sgml index c4c30f65..5aab1ec1 100644 --- a/docs/libnm-glib/html/index.sgml +++ b/docs/libnm-glib/html/index.sgml @@ -1,12 +1,54 @@ - + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -31,6 +73,7 @@ + @@ -43,30 +86,15 @@ - - - - - - - - - - - - - - - - - + + @@ -80,47 +108,99 @@ - - - + + + - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -129,6 +209,8 @@ + + @@ -142,35 +224,18 @@ + + + + - - - - - - - - - - - - - - - - - - - - - - + @@ -188,6 +253,8 @@ + + @@ -196,39 +263,63 @@ - - - + + + - - - - - - - - + + + + + + + + + + + + + + - + + + - - - + + + + + + + + + + + + + + + + + + + @@ -240,16 +331,8 @@ - - - - - - - - - + @@ -260,54 +343,83 @@ - - - + + + - - - - - + + + + + + + + + + - - - + + + - - - - - - - + + + + + + + + + + + + + + - + + + - - - + + + + + + + + + + + + + + + + + + @@ -318,179 +430,267 @@ - - - - - - - - - - + - - - + + + - - - - - + + + + + + + + + - - - + + + - - - - - - - + + + + + + + + + + + + - - - + + + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + - - - - - - + + + + + + + + + + + + - - - + + + - - - - - - - + + + + + + + + + + + + + + - - - + + + - - - - - - - + + + + + + + + + + + - - - + + + - + + + + + + + + + + + - - - - - - - - + + + - + + + + + + + + + + + + + @@ -504,17 +704,6 @@ - - - - - - - - - - - @@ -527,155 +716,198 @@ - - - + + + - + + + + + + + + + + + + - + - - - - - - + + - - - + + + - + + + + + + + + + + + + + - - - - - - + + + - - - + + + - + + + + - - - - - + + + - + + + + - - - + + + - - - - - - - + + + + + + + + - + + + - - - + + + + + + + + + + + + + + - - - + + - + + + - - - + + + + + + + + + + + + + + + + + + + + - - - - - - - - - @@ -684,113 +916,145 @@ + - + - - + - + + - - - + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - + - + + + - - - + + + + + - - - - - - + - + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + - + - @@ -800,3 +1064,4 @@ + diff --git a/docs/libnm-glib/html/left-insensitive.png b/docs/libnm-glib/html/left-insensitive.png deleted file mode 100644 index 3269393a..00000000 Binary files a/docs/libnm-glib/html/left-insensitive.png and /dev/null differ diff --git a/docs/libnm-glib/html/left.png b/docs/libnm-glib/html/left.png index 2abde032..2d05b3d5 100644 Binary files a/docs/libnm-glib/html/left.png and b/docs/libnm-glib/html/left.png differ diff --git a/docs/libnm-glib/html/libnm-glib-NMVPNPlugin.html b/docs/libnm-glib/html/libnm-glib-NMVPNPlugin.html index 41a3ce7c..2b71816b 100644 --- a/docs/libnm-glib/html/libnm-glib-NMVPNPlugin.html +++ b/docs/libnm-glib/html/libnm-glib-NMVPNPlugin.html @@ -2,27 +2,30 @@ -libnm-glib Reference Manual: NMVPNPlugin +NMVPNPlugin - - + + - - - - - - - + + + + + + + + + +
@@ -30,348 +33,334 @@

NMVPNPlugin

NMVPNPlugin

- +
+
+

Synopsis

+
#define             NM_VPN_PLUGIN_DBUS_SERVICE_NAME
+#define             NM_VPN_PLUGIN_STATE
+enum                NMVPNPluginError;
+                    NMVPNPlugin;
+                    NMVPNPluginClass;
+GQuark              nm_vpn_plugin_error_quark           (void);
+DBusGConnection *   nm_vpn_plugin_get_connection        (NMVPNPlugin *plugin);
+NMVPNServiceState   nm_vpn_plugin_get_state             (NMVPNPlugin *plugin);
+void                nm_vpn_plugin_set_state             (NMVPNPlugin *plugin,
+                                                         NMVPNServiceState state);
+void                nm_vpn_plugin_secrets_required      (NMVPNPlugin *plugin,
+                                                         const char *message,
+                                                         const char **hints);
+void                nm_vpn_plugin_set_login_banner      (NMVPNPlugin *plugin,
+                                                         const char *banner);
+void                nm_vpn_plugin_failure               (NMVPNPlugin *plugin,
+                                                         NMVPNPluginFailure reason);
+void                nm_vpn_plugin_set_config            (NMVPNPlugin *plugin,
+                                                         GHashTable *config);
+void                nm_vpn_plugin_set_ip4_config        (NMVPNPlugin *plugin,
+                                                         GHashTable *ip4_config);
+void                nm_vpn_plugin_set_ip6_config        (NMVPNPlugin *plugin,
+                                                         GHashTable *ip6_config);
+gboolean            nm_vpn_plugin_disconnect            (NMVPNPlugin *plugin,
+                                                         GError **err);
+
+
+
+

Description

+

+

+
-

Functions

-
+

Details

+
+

NM_VPN_PLUGIN_DBUS_SERVICE_NAME

+
#define NM_VPN_PLUGIN_DBUS_SERVICE_NAME "service-name"
+
+

+

+
+
+
+

NM_VPN_PLUGIN_STATE

+
#define NM_VPN_PLUGIN_STATE             "state"
+
+

+

+
+
+
+

enum NMVPNPluginError

+
typedef enum {
+	NM_VPN_PLUGIN_ERROR_GENERAL,                   /*< nick=General >*/
+	NM_VPN_PLUGIN_ERROR_STARTING_IN_PROGRESS,      /*< nick=StartingInProgress >*/
+	NM_VPN_PLUGIN_ERROR_ALREADY_STARTED,           /*< nick=AlreadyStarted >*/
+	NM_VPN_PLUGIN_ERROR_STOPPING_IN_PROGRESS,      /*< nick=StoppingInProgress >*/
+	NM_VPN_PLUGIN_ERROR_ALREADY_STOPPED,           /*< nick=AlreadyStopped >*/
+	NM_VPN_PLUGIN_ERROR_WRONG_STATE,               /*< nick=WrongState >*/
+	NM_VPN_PLUGIN_ERROR_BAD_ARGUMENTS,             /*< nick=BadArguments >*/
+	NM_VPN_PLUGIN_ERROR_LAUNCH_FAILED,             /*< nick=LaunchFailed >*/
+	NM_VPN_PLUGIN_ERROR_CONNECTION_INVALID,        /*< nick=ConnectionInvalid >*/
+	NM_VPN_PLUGIN_ERROR_INTERACTIVE_NOT_SUPPORTED  /*< nick=InteractiveNotSupported >*/
+} NMVPNPluginError;
+
+

+Returned by the VPN service plugin to indicate errors. +

+
--++ - - + - - + - - + - - + - - + - - + - - + - - + - - + - - +
-GQuark - -nm_vpn_plugin_error_quark () +

NM_VPN_PLUGIN_ERROR_GENERAL

general failure
-DBusGConnection * - -nm_vpn_plugin_get_connection () +

NM_VPN_PLUGIN_ERROR_STARTING_IN_PROGRESS

the plugin is already starting, + and another connect request was received
-NMVPNServiceState - -nm_vpn_plugin_get_state () +

NM_VPN_PLUGIN_ERROR_ALREADY_STARTED

the plugin is already connected, and + another connect request was received
-void - -nm_vpn_plugin_set_state () +

NM_VPN_PLUGIN_ERROR_STOPPING_IN_PROGRESS

the plugin is already stopping, + and another stop request was received
-void - -nm_vpn_plugin_set_login_banner () +

NM_VPN_PLUGIN_ERROR_ALREADY_STOPPED

the plugin is already stopped, and + another disconnect request was received
-void - -nm_vpn_plugin_failure () +

NM_VPN_PLUGIN_ERROR_WRONG_STATE

the operation could not be performed in + this state
-void - -nm_vpn_plugin_set_config () +

NM_VPN_PLUGIN_ERROR_BAD_ARGUMENTS

the operation could not be performed as + the request contained malformed arguments, or arguments of unexpected type. + Usually means that one of the VPN setting data items or secrets was not of + the expected type (ie int, string, bool, etc).
-void - -nm_vpn_plugin_set_ip4_config () +

NM_VPN_PLUGIN_ERROR_LAUNCH_FAILED

a child process failed to launch
-void - -nm_vpn_plugin_set_ip6_config () +

NM_VPN_PLUGIN_ERROR_CONNECTION_INVALID

the operation could not be performed + because the connection was invalid. Usually means that the connection's + VPN setting was missing some required data item or secret.
-gboolean - -nm_vpn_plugin_disconnect () +

NM_VPN_PLUGIN_ERROR_INTERACTIVE_NOT_SUPPORTED

the operation could not be + performed as the plugin does not support interactive operations, such as + ConnectInteractive() or NewSecrets()
-
-

Types and Values

-
---- - - - - - - - - - - - - - - -
#defineNM_VPN_PLUGIN_DBUS_SERVICE_NAME
#defineNM_VPN_PLUGIN_STATE
enumNMVPNPluginError
-
-
-

Object Hierarchy

-
+
+
+

NMVPNPlugin

+
typedef struct {
+	GObject parent;
+} NMVPNPlugin;
 
-
-
-

Description

-
-

Functions

+
-

nm_vpn_plugin_error_quark ()

-
GQuark
-nm_vpn_plugin_error_quark (void);
+

NMVPNPluginClass

+
typedef struct {
+	GObjectClass parent;
+
+	/* virtual methods */
+	gboolean (*connect)      (NMVPNPlugin   *plugin,
+	                          NMConnection  *connection,
+	                          GError       **err);
+
+	gboolean (*need_secrets) (NMVPNPlugin *plugin,
+	                          NMConnection *connection,
+	                          char **setting_name,
+	                          GError **error);
+
+	gboolean (*disconnect)   (NMVPNPlugin   *plugin,
+	                          GError       **err);
+
+	/* Signals */
+	void (*state_changed)  (NMVPNPlugin *plugin,
+	                        NMVPNServiceState state);
+
+	void (*ip4_config)     (NMVPNPlugin *plugin,
+	                        GHashTable  *ip4_config);
+
+	void (*login_banner)   (NMVPNPlugin *plugin,
+	                        const char *banner);
+
+	void (*failure)        (NMVPNPlugin *plugin,
+	                        NMVPNPluginFailure reason);
+
+	void (*quit)           (NMVPNPlugin *plugin);
+
+	void (*config)         (NMVPNPlugin *plugin,
+	                        GHashTable  *config);
+
+	void (*ip6_config)     (NMVPNPlugin *plugin,
+	                        GHashTable  *config);
+
+	/* more methods */
+	gboolean (*new_secrets)  (NMVPNPlugin *plugin,
+	                          NMConnection *connection,
+	                          GError **error);
+
+	gboolean (*connect_interactive) (NMVPNPlugin *plugin,
+	                                 NMConnection *connection,
+	                                 GHashTable *details,
+	                                 GError **error);
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+} NMVPNPluginClass;
+

-
-

Returns

-

-

-

nm_vpn_plugin_get_connection ()

-
DBusGConnection *
-nm_vpn_plugin_get_connection (NMVPNPlugin *plugin);
+

nm_vpn_plugin_error_quark ()

+
GQuark              nm_vpn_plugin_error_quark           (void);

-
-

Returns

-

-

-

nm_vpn_plugin_get_state ()

-
NMVPNServiceState
-nm_vpn_plugin_get_state (NMVPNPlugin *plugin);
+

nm_vpn_plugin_get_connection ()

+
DBusGConnection *   nm_vpn_plugin_get_connection        (NMVPNPlugin *plugin);

-
-

Returns

-

-

-

nm_vpn_plugin_set_state ()

-
void
-nm_vpn_plugin_set_state (NMVPNPlugin *plugin,
-                         NMVPNServiceState state);
+

nm_vpn_plugin_get_state ()

+
NMVPNServiceState   nm_vpn_plugin_get_state             (NMVPNPlugin *plugin);


-

nm_vpn_plugin_set_login_banner ()

-
void
-nm_vpn_plugin_set_login_banner (NMVPNPlugin *plugin,
-                                const char *banner);
+

nm_vpn_plugin_set_state ()

+
void                nm_vpn_plugin_set_state             (NMVPNPlugin *plugin,
+                                                         NMVPNServiceState state);


-

nm_vpn_plugin_failure ()

-
void
-nm_vpn_plugin_failure (NMVPNPlugin *plugin,
-                       NMVPNPluginFailure reason);
+

nm_vpn_plugin_secrets_required ()

+
void                nm_vpn_plugin_secrets_required      (NMVPNPlugin *plugin,
+                                                         const char *message,
+                                                         const char **hints);

+Called by VPN plugin implementations to signal to NetworkManager that secrets +are required during the connection process. This signal may be used to +request new secrets when the secrets originally provided by NetworkManager +are insufficient, or the VPN process indicates that it needs additional +information to complete the request.

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

plugin :

the NMVPNPlugin +

message :

an information message about why secrets are required, if any

hints :

VPN specific secret names for required new secrets
+

Since 0.9.10


-

nm_vpn_plugin_set_config ()

-
void
-nm_vpn_plugin_set_config (NMVPNPlugin *plugin,
-                          GHashTable *config);
+

nm_vpn_plugin_set_login_banner ()

+
void                nm_vpn_plugin_set_login_banner      (NMVPNPlugin *plugin,
+                                                         const char *banner);


-

nm_vpn_plugin_set_ip4_config ()

-
void
-nm_vpn_plugin_set_ip4_config (NMVPNPlugin *plugin,
-                              GHashTable *ip4_config);
+

nm_vpn_plugin_failure ()

+
void                nm_vpn_plugin_failure               (NMVPNPlugin *plugin,
+                                                         NMVPNPluginFailure reason);


-

nm_vpn_plugin_set_ip6_config ()

-
void
-nm_vpn_plugin_set_ip6_config (NMVPNPlugin *plugin,
-                              GHashTable *ip6_config);
+

nm_vpn_plugin_set_config ()

+
void                nm_vpn_plugin_set_config            (NMVPNPlugin *plugin,
+                                                         GHashTable *config);


-

nm_vpn_plugin_disconnect ()

-
gboolean
-nm_vpn_plugin_disconnect (NMVPNPlugin *plugin,
-                          GError **err);
+

nm_vpn_plugin_set_ip4_config ()

+
void                nm_vpn_plugin_set_ip4_config        (NMVPNPlugin *plugin,
+                                                         GHashTable *ip4_config);

-
-

Returns

-

-
-
-
-

Types and Values

+
-

NM_VPN_PLUGIN_DBUS_SERVICE_NAME

-
#define NM_VPN_PLUGIN_DBUS_SERVICE_NAME "service-name"
-
+

nm_vpn_plugin_set_ip6_config ()

+
void                nm_vpn_plugin_set_ip6_config        (NMVPNPlugin *plugin,
+                                                         GHashTable *ip6_config);


-

NM_VPN_PLUGIN_STATE

-
#define NM_VPN_PLUGIN_STATE             "state"
-
+

nm_vpn_plugin_disconnect ()

+
gboolean            nm_vpn_plugin_disconnect            (NMVPNPlugin *plugin,
+                                                         GError **err);

-
-
-

enum NMVPNPluginError

-

Returned by the VPN service plugin to indicate errors.

-
-

Members

-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

NM_VPN_PLUGIN_ERROR_GENERAL

-

general failure

-
 

NM_VPN_PLUGIN_ERROR_STARTING_IN_PROGRESS

-

the plugin is already starting, - and another connect request was received

-
 

NM_VPN_PLUGIN_ERROR_ALREADY_STARTED

-

the plugin is already connected, and - another connect request was received

-
 

NM_VPN_PLUGIN_ERROR_STOPPING_IN_PROGRESS

-

the plugin is already stopping, - and another stop request was received

-
 

NM_VPN_PLUGIN_ERROR_ALREADY_STOPPED

-

the plugin is already stopped, and - another disconnect request was received

-
 

NM_VPN_PLUGIN_ERROR_WRONG_STATE

-

the operation could not be performed in - this state

-
 

NM_VPN_PLUGIN_ERROR_BAD_ARGUMENTS

-

the operation could not be performed as - the request contained malformed arguments, or arguments of unexpected type. - Usually means that one of the VPN setting data items or secrets was not of - the expected type (ie int, string, bool, etc).

-
 

NM_VPN_PLUGIN_ERROR_LAUNCH_FAILED

-

a child process failed to launch

-
 

NM_VPN_PLUGIN_ERROR_CONNECTION_INVALID

-

the operation could not be performed - because the connection was invalid. Usually means that the connection's - VPN setting was missing some required data item or secret.

-
 
-
-
+ Generated by GTK-Doc V1.19
\ No newline at end of file diff --git a/docs/libnm-glib/html/libnm-glib-NMVpnPluginUi.html b/docs/libnm-glib/html/libnm-glib-NMVpnPluginUi.html new file mode 100644 index 00000000..44ec7e14 --- /dev/null +++ b/docs/libnm-glib/html/libnm-glib-NMVpnPluginUi.html @@ -0,0 +1,397 @@ + + + + +NMVpnPluginUi + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

NMVpnPluginUi

+

NMVpnPluginUi

+
+
+

Synopsis

+
NMVpnPluginUiInterface * (*NMVpnPluginUiFactory)        (GError **error);
+NMVpnPluginUiInterface * nm_vpn_plugin_ui_factory       (GError **error);
+enum                NMVpnPluginUiCapability;
+#define             NM_VPN_PLUGIN_UI_INTERFACE_NAME
+#define             NM_VPN_PLUGIN_UI_INTERFACE_DESC
+#define             NM_VPN_PLUGIN_UI_INTERFACE_SERVICE
+enum                NMVpnPluginUiInterfaceProp;
+struct              NMVpnPluginUiInterface;
+NMVpnPluginUiWidgetInterface * nm_vpn_plugin_ui_interface_ui_factory
+                                                        (NMVpnPluginUiInterface *iface,
+                                                         NMConnection *connection,
+                                                         GError **error);
+guint32             nm_vpn_plugin_ui_interface_get_capabilities
+                                                        (NMVpnPluginUiInterface *iface);
+NMConnection *      nm_vpn_plugin_ui_interface_import   (NMVpnPluginUiInterface *iface,
+                                                         const char *path,
+                                                         GError **error);
+gboolean            nm_vpn_plugin_ui_interface_export   (NMVpnPluginUiInterface *iface,
+                                                         const char *path,
+                                                         NMConnection *connection,
+                                                         GError **error);
+char *              nm_vpn_plugin_ui_interface_get_suggested_name
+                                                        (NMVpnPluginUiInterface *iface,
+                                                         NMConnection *connection);
+gboolean            nm_vpn_plugin_ui_interface_delete_connection
+                                                        (NMVpnPluginUiInterface *iface,
+                                                         NMConnection *connection,
+                                                         GError **error);
+struct              NMVpnPluginUiWidgetInterface;
+GObject *           nm_vpn_plugin_ui_widget_interface_get_widget
+                                                        (NMVpnPluginUiWidgetInterface *iface);
+gboolean            nm_vpn_plugin_ui_widget_interface_update_connection
+                                                        (NMVpnPluginUiWidgetInterface *iface,
+                                                         NMConnection *connection,
+                                                         GError **error);
+gboolean            nm_vpn_plugin_ui_widget_interface_save_secrets
+                                                        (NMVpnPluginUiWidgetInterface *iface,
+                                                         NMConnection *connection,
+                                                         GError **error);
+
+
+
+

Description

+

+

+
+
+

Details

+
+

NMVpnPluginUiFactory ()

+
NMVpnPluginUiInterface * (*NMVpnPluginUiFactory)        (GError **error);
+

+

+
+
+
+

nm_vpn_plugin_ui_factory ()

+
NMVpnPluginUiInterface * nm_vpn_plugin_ui_factory       (GError **error);
+

+

+
+
+
+

enum NMVpnPluginUiCapability

+
typedef enum {
+	NM_VPN_PLUGIN_UI_CAPABILITY_NONE   = 0x00,
+	NM_VPN_PLUGIN_UI_CAPABILITY_IMPORT = 0x01,
+	NM_VPN_PLUGIN_UI_CAPABILITY_EXPORT = 0x02,
+	NM_VPN_PLUGIN_UI_CAPABILITY_IPV6   = 0x04
+} NMVpnPluginUiCapability;
+
+

+Flags that indicate to UI programs certain capabilities of the plugin. +

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

NM_VPN_PLUGIN_UI_CAPABILITY_NONE

unknown or no capability +

NM_VPN_PLUGIN_UI_CAPABILITY_IMPORT

the plugin can import new connections +

NM_VPN_PLUGIN_UI_CAPABILITY_EXPORT

the plugin can export connections +

NM_VPN_PLUGIN_UI_CAPABILITY_IPV6

the plugin supports IPv6 addressing +
+
+
+
+

NM_VPN_PLUGIN_UI_INTERFACE_NAME

+
#define NM_VPN_PLUGIN_UI_INTERFACE_NAME "name"
+
+

+

+
+
+
+

NM_VPN_PLUGIN_UI_INTERFACE_DESC

+
#define NM_VPN_PLUGIN_UI_INTERFACE_DESC "desc"
+
+

+

+
+
+
+

NM_VPN_PLUGIN_UI_INTERFACE_SERVICE

+
#define NM_VPN_PLUGIN_UI_INTERFACE_SERVICE "service"
+
+

+

+
+
+
+

enum NMVpnPluginUiInterfaceProp

+
typedef enum {
+	/* private */
+	NM_VPN_PLUGIN_UI_INTERFACE_PROP_FIRST = 0x1000,
+
+	/* public */
+	NM_VPN_PLUGIN_UI_INTERFACE_PROP_NAME = NM_VPN_PLUGIN_UI_INTERFACE_PROP_FIRST,
+	NM_VPN_PLUGIN_UI_INTERFACE_PROP_DESC,
+	NM_VPN_PLUGIN_UI_INTERFACE_PROP_SERVICE
+} NMVpnPluginUiInterfaceProp;
+
+

+GObject property numbers that plugins should override to provide certain +information to UI programs. +

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

NM_VPN_PLUGIN_UI_INTERFACE_PROP_FIRST

+

NM_VPN_PLUGIN_UI_INTERFACE_PROP_NAME

the VPN plugin's name +

NM_VPN_PLUGIN_UI_INTERFACE_PROP_DESC

description of the VPN plugin and what +VPN services it supports +

NM_VPN_PLUGIN_UI_INTERFACE_PROP_SERVICE

the D-Bus service name used by the +plugin's VPN service daemon +
+
+
+
+

struct NMVpnPluginUiInterface

+
struct NMVpnPluginUiInterface {
+	GTypeInterface g_iface;
+
+	/* Plugin's factory function that returns a GObject that implements
+	 * NMVpnPluginUiWidgetInterface, pre-filled with values from 'connection'
+	 * if non-NULL.
+	 */
+	NMVpnPluginUiWidgetInterface * (*ui_factory) (NMVpnPluginUiInterface *iface,
+	                                              NMConnection *connection,
+	                                              GError **error);
+
+	/* Plugin's capabiltity function that returns a bitmask of capabilities
+	 * described by NM_VPN_PLUGIN_UI_CAPABILITY_* defines.
+	 */
+	guint32 (*get_capabilities) (NMVpnPluginUiInterface *iface);
+
+	/* Try to import a connection from the specified path.  On success, return a
+	 * partial NMConnection object.  On error, return NULL and set 'error' with
+	 * additional information.  Note that 'error' can be NULL, in which case no
+	 * additional error information should be provided.
+	 */
+	NMConnection * (*import_from_file) (NMVpnPluginUiInterface *iface,
+	                                    const char *path,
+	                                    GError **error);
+
+	/* Export the given connection to the specified path.  Return TRUE on success.
+	 * On error, return FALSE and set 'error' with additional error information.
+	 * Note that 'error' can be NULL, in which case no additional error information
+	 * should be provided.
+	 */
+	gboolean (*export_to_file) (NMVpnPluginUiInterface *iface,
+	                            const char *path,
+	                            NMConnection *connection,
+	                            GError **error);
+
+	/* For a given connection, return a suggested file name.  Returned value should
+	 * be NULL or a suggested file name allocated via g_malloc/g_new/etc to be freed
+	 * by the caller.
+	 */
+	char * (*get_suggested_name) (NMVpnPluginUiInterface *iface, NMConnection *connection);
+
+	/* Deprecated and no longer used */
+	gboolean (*delete_connection) (NMVpnPluginUiInterface *iface, NMConnection *connection, GError **error);
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+	void (*_reserved5) (void);
+	void (*_reserved6) (void);
+};
+
+

+

+
+
+
+

nm_vpn_plugin_ui_interface_ui_factory ()

+
NMVpnPluginUiWidgetInterface * nm_vpn_plugin_ui_interface_ui_factory
+                                                        (NMVpnPluginUiInterface *iface,
+                                                         NMConnection *connection,
+                                                         GError **error);
+

+

+
+
+
+

nm_vpn_plugin_ui_interface_get_capabilities ()

+
guint32             nm_vpn_plugin_ui_interface_get_capabilities
+                                                        (NMVpnPluginUiInterface *iface);
+

+

+
+
+
+

nm_vpn_plugin_ui_interface_import ()

+
NMConnection *      nm_vpn_plugin_ui_interface_import   (NMVpnPluginUiInterface *iface,
+                                                         const char *path,
+                                                         GError **error);
+

+

+
+
+
+

nm_vpn_plugin_ui_interface_export ()

+
gboolean            nm_vpn_plugin_ui_interface_export   (NMVpnPluginUiInterface *iface,
+                                                         const char *path,
+                                                         NMConnection *connection,
+                                                         GError **error);
+

+

+
+
+
+

nm_vpn_plugin_ui_interface_get_suggested_name ()

+
char *              nm_vpn_plugin_ui_interface_get_suggested_name
+                                                        (NMVpnPluginUiInterface *iface,
+                                                         NMConnection *connection);
+

+

+
+
+
+

nm_vpn_plugin_ui_interface_delete_connection ()

+
gboolean            nm_vpn_plugin_ui_interface_delete_connection
+                                                        (NMVpnPluginUiInterface *iface,
+                                                         NMConnection *connection,
+                                                         GError **error);
+

+

+
+
+
+

struct NMVpnPluginUiWidgetInterface

+
struct NMVpnPluginUiWidgetInterface {
+	GTypeInterface g_iface;
+
+	/* Return the GtkWidget for the VPN's UI */
+	GObject * (*get_widget) (NMVpnPluginUiWidgetInterface *iface);
+
+	/* Called to save the user-entered options to the connection object.  Should
+	 * return FALSE and set 'error' if the current options are invalid.  'error'
+	 * should contain enough information for the plugin to determine which UI
+	 * widget is invalid at a later point in time.  For example, creating unique
+	 * error codes for what error occurred and populating the message field
+	 * of 'error' with the name of the invalid property.
+	 */
+	gboolean (*update_connection) (NMVpnPluginUiWidgetInterface *iface,
+	                               NMConnection *connection,
+	                               GError **error);
+
+	/* Deprecated and no longer used */
+	gboolean (*save_secrets) (NMVpnPluginUiWidgetInterface *iface,
+	                          NMConnection *connection,
+	                          GError **error);
+
+	/* Emitted when the value of a UI widget changes.  May trigger a validity
+	 * check via update_connection() to write values to the connection */
+	void (*changed) (NMVpnPluginUiWidgetInterface *iface);
+};
+
+

+

+
+
+
+

nm_vpn_plugin_ui_widget_interface_get_widget ()

+
GObject *           nm_vpn_plugin_ui_widget_interface_get_widget
+                                                        (NMVpnPluginUiWidgetInterface *iface);
+

+

+
+
+
+

nm_vpn_plugin_ui_widget_interface_update_connection ()

+
gboolean            nm_vpn_plugin_ui_widget_interface_update_connection
+                                                        (NMVpnPluginUiWidgetInterface *iface,
+                                                         NMConnection *connection,
+                                                         GError **error);
+

+

+
+
+
+

nm_vpn_plugin_ui_widget_interface_save_secrets ()

+
gboolean            nm_vpn_plugin_ui_widget_interface_save_secrets
+                                                        (NMVpnPluginUiWidgetInterface *iface,
+                                                         NMConnection *connection,
+                                                         GError **error);
+

+

+
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-glib/html/libnm-glib-NMVpnPluginUiWidget.html b/docs/libnm-glib/html/libnm-glib-NMVpnPluginUiWidget.html deleted file mode 100644 index 01eb80ee..00000000 --- a/docs/libnm-glib/html/libnm-glib-NMVpnPluginUiWidget.html +++ /dev/null @@ -1,446 +0,0 @@ - - - - -libnm-glib Reference Manual: NMVpnPluginUiWidget - - - - - - - - - - - - - - - - -
-
-
- - -
-

NMVpnPluginUiWidget

-

NMVpnPluginUiWidget

-
-
-

Functions

-
---- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-NMVpnPluginUiInterface * - -(*NMVpnPluginUiFactory) () -
-NMVpnPluginUiInterface * - -nm_vpn_plugin_ui_factory () -
-NMVpnPluginUiWidgetInterface * - -nm_vpn_plugin_ui_interface_ui_factory () -
-guint32 - -nm_vpn_plugin_ui_interface_get_capabilities () -
-NMConnection * - -nm_vpn_plugin_ui_interface_import () -
-gboolean - -nm_vpn_plugin_ui_interface_export () -
-char * - -nm_vpn_plugin_ui_interface_get_suggested_name () -
-gboolean - -nm_vpn_plugin_ui_interface_delete_connection () -
-GObject * - -nm_vpn_plugin_ui_widget_interface_get_widget () -
-gboolean - -nm_vpn_plugin_ui_widget_interface_update_connection () -
-gboolean - -nm_vpn_plugin_ui_widget_interface_save_secrets () -
-
-
-

Types and Values

- -
-
-

Object Hierarchy

-
-
-
-
-

Description

-

-

-
-
-

Functions

-
-

NMVpnPluginUiFactory ()

-
NMVpnPluginUiInterface *
-(*NMVpnPluginUiFactory) (GError **error);
-

-

-
-

Returns

-

-
-
-
-
-

nm_vpn_plugin_ui_factory ()

-
NMVpnPluginUiInterface *
-nm_vpn_plugin_ui_factory (GError **error);
-

-

-
-

Returns

-

-
-
-
-
-

nm_vpn_plugin_ui_interface_ui_factory ()

-
NMVpnPluginUiWidgetInterface *
-nm_vpn_plugin_ui_interface_ui_factory (NMVpnPluginUiInterface *iface,
-                                       NMConnection *connection,
-                                       GError **error);
-

-

-
-

Returns

-

-
-
-
-
-

nm_vpn_plugin_ui_interface_get_capabilities ()

-
guint32
-nm_vpn_plugin_ui_interface_get_capabilities
-                               (NMVpnPluginUiInterface *iface);
-

-

-
-

Returns

-

-
-
-
-
-

nm_vpn_plugin_ui_interface_import ()

-
NMConnection *
-nm_vpn_plugin_ui_interface_import (NMVpnPluginUiInterface *iface,
-                                   const char *path,
-                                   GError **error);
-

-

-
-

Returns

-

-
-
-
-
-

nm_vpn_plugin_ui_interface_export ()

-
gboolean
-nm_vpn_plugin_ui_interface_export (NMVpnPluginUiInterface *iface,
-                                   const char *path,
-                                   NMConnection *connection,
-                                   GError **error);
-

-

-
-

Returns

-

-
-
-
-
-

nm_vpn_plugin_ui_interface_get_suggested_name ()

-
char *
-nm_vpn_plugin_ui_interface_get_suggested_name
-                               (NMVpnPluginUiInterface *iface,
-                                NMConnection *connection);
-

-

-
-

Returns

-

-
-
-
-
-

nm_vpn_plugin_ui_interface_delete_connection ()

-
gboolean
-nm_vpn_plugin_ui_interface_delete_connection
-                               (NMVpnPluginUiInterface *iface,
-                                NMConnection *connection,
-                                GError **error);
-

-

-
-

Returns

-

-
-
-
-
-

nm_vpn_plugin_ui_widget_interface_get_widget ()

-
GObject *
-nm_vpn_plugin_ui_widget_interface_get_widget
-                               (NMVpnPluginUiWidgetInterface *iface);
-

-

-
-

Returns

-

-
-
-
-
-

nm_vpn_plugin_ui_widget_interface_update_connection ()

-
gboolean
-nm_vpn_plugin_ui_widget_interface_update_connection
-                               (NMVpnPluginUiWidgetInterface *iface,
-                                NMConnection *connection,
-                                GError **error);
-

-

-
-

Returns

-

-
-
-
-
-

nm_vpn_plugin_ui_widget_interface_save_secrets ()

-
gboolean
-nm_vpn_plugin_ui_widget_interface_save_secrets
-                               (NMVpnPluginUiWidgetInterface *iface,
-                                NMConnection *connection,
-                                GError **error);
-

-

-
-

Returns

-

-
-
-
-
-

Types and Values

-
-

enum NMVpnPluginUiCapability

-

Flags that indicate to UI programs certain capabilities of the plugin.

-
-

Members

-
----- - - - - - - - - - - - - - - - - - - - - - - -

NM_VPN_PLUGIN_UI_CAPABILITY_NONE

-

unknown or no capability

-
 

NM_VPN_PLUGIN_UI_CAPABILITY_IMPORT

-

the plugin can import new connections

-
 

NM_VPN_PLUGIN_UI_CAPABILITY_EXPORT

-

the plugin can export connections

-
 

NM_VPN_PLUGIN_UI_CAPABILITY_IPV6

-

the plugin supports IPv6 addressing

-
 
-
-
-
-
-

NM_VPN_PLUGIN_UI_INTERFACE_NAME

-
#define NM_VPN_PLUGIN_UI_INTERFACE_NAME "name"
-
-

-

-
-
-
-

NM_VPN_PLUGIN_UI_INTERFACE_DESC

-
#define NM_VPN_PLUGIN_UI_INTERFACE_DESC "desc"
-
-

-

-
-
-
-

NM_VPN_PLUGIN_UI_INTERFACE_SERVICE

-
#define NM_VPN_PLUGIN_UI_INTERFACE_SERVICE "service"
-
-

-

-
-
-
-

enum NMVpnPluginUiInterfaceProp

-

GObject property numbers that plugins should override to provide certain -information to UI programs.

-
-

Members

-
----- - - - - - - - - - - - - - - - - - -

NM_VPN_PLUGIN_UI_INTERFACE_PROP_NAME

-

the VPN plugin's name

-
 

NM_VPN_PLUGIN_UI_INTERFACE_PROP_DESC

-

description of the VPN plugin and what -VPN services it supports

-
 

NM_VPN_PLUGIN_UI_INTERFACE_PROP_SERVICE

-

the D-Bus service name used by the -plugin's VPN service daemon

-
 
-
-
-
-
- - - \ No newline at end of file diff --git a/docs/libnm-glib/html/libnm-glib-nm-types.html b/docs/libnm-glib/html/libnm-glib-nm-types.html index c54f111e..3793ddcd 100644 --- a/docs/libnm-glib/html/libnm-glib-nm-types.html +++ b/docs/libnm-glib/html/libnm-glib-nm-types.html @@ -2,27 +2,30 @@ -libnm-glib Reference Manual: nm-types +nm-types - + - - - - - - - + + + + + + + + + +
@@ -30,12 +33,11 @@

nm-types

nm-types

- +
-
-

Object Hierarchy

-
-
+
+

Synopsis

+

 

Description

@@ -43,14 +45,11 @@

-

Functions

-
-
-

Types and Values

+

Details

+ Generated by GTK-Doc V1.19
\ No newline at end of file diff --git a/docs/libnm-glib/html/libnm-glib-nm-vpn-plugin-utils.html b/docs/libnm-glib/html/libnm-glib-nm-vpn-plugin-utils.html index cbb16e38..0d883d08 100644 --- a/docs/libnm-glib/html/libnm-glib-nm-vpn-plugin-utils.html +++ b/docs/libnm-glib/html/libnm-glib-nm-vpn-plugin-utils.html @@ -2,27 +2,30 @@ -libnm-glib Reference Manual: nm-vpn-plugin-utils +nm-vpn-plugin-utils - + - + - - - - - - - + + + + + + + + + +
@@ -30,38 +33,18 @@

nm-vpn-plugin-utils

nm-vpn-plugin-utils

- +
-
-

Functions

- -
-
-

Object Hierarchy

-
+
+

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);
 
@@ -70,103 +53,91 @@

-

Functions

+

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.

-
-

Parameters

-
+

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)

 

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_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]

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
-
-

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.

-
-

Parameters

-
+

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

 

data :

hash table containing VPN key/value pair data items

secret_name :

VPN secret key name for which to retrieve flags for

secret_name

VPN secret key name for which to retrieve flags for

 

out_flags :

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

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
-
-

Returns

-

TRUE if the flag data item was found and successfully converted -to flags, FALSE if not

-

-
-
-
-
-

Types and Values

+ Generated by GTK-Doc V1.19
\ No newline at end of file diff --git a/docs/libnm-glib/html/libnm-glib.devhelp2 b/docs/libnm-glib/html/libnm-glib.devhelp2 index 4e60b47e..f552f3e1 100644 --- a/docs/libnm-glib/html/libnm-glib.devhelp2 +++ b/docs/libnm-glib/html/libnm-glib.devhelp2 @@ -15,6 +15,8 @@ + + @@ -31,7 +33,7 @@ - + @@ -39,44 +41,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -89,78 +56,121 @@ + - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -182,107 +192,148 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + @@ -290,110 +341,151 @@ - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - + + + + + + - - - - - - - - + + + + + + + + + + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - + + + + + + + + - - - - - - - - + + + + + + + + + + - - - - - - - - - + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + @@ -404,164 +496,356 @@ - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - + + + + + + - - - - + + + + + - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - + + + - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/libnm-glib/html/object-tree.html b/docs/libnm-glib/html/object-tree.html index 199cb73d..3145ab15 100644 --- a/docs/libnm-glib/html/object-tree.html +++ b/docs/libnm-glib/html/object-tree.html @@ -2,58 +2,60 @@ -libnm-glib Reference Manual: Object Hierarchy +Object Hierarchy - + - - - - - - + + + + + +

Object Hierarchy

     GObject
-    ├── NMObject
-       ├── NMClient
-       ├── NMDevice
-          ├── NMDeviceEthernet
-          ├── NMDeviceWifi
-          ├── NMDeviceModem
-          ├── NMDeviceBt
-          ├── NMDeviceWimax
-          ├── NMDeviceOlpcMesh
-          ├── NMDeviceAdsl
-          ├── NMDeviceInfiniband
-          ├── NMDeviceBond
-          ├── NMDeviceBridge
-          ╰── NMDeviceVlan
-       ├── NMWimaxNsp
-       ├── NMAccessPoint
-       ├── NMIP4Config
-       ├── NMIP6Config
-       ├── NMActiveConnection
-          ╰── NMVPNConnection
-       ├── NMDHCP4Config
-       ╰── NMDHCP6Config
-    ├── NMRemoteSettings
-    ├── NMConnection
-       ╰── NMRemoteConnection
-    ╰── NMSecretAgent
+        NMObject
+            NMClient
+            NMDevice
+                NMDeviceEthernet
+                NMDeviceWifi
+                NMDeviceModem
+                NMDeviceBt
+                NMDeviceWimax
+                NMDeviceOlpcMesh
+                NMDeviceAdsl
+                NMDeviceInfiniband
+                NMDeviceBond
+                NMDeviceBridge
+                NMDeviceTeam
+                NMDeviceGeneric
+                NMDeviceVlan
+            NMWimaxNsp
+            NMAccessPoint
+            NMIP4Config
+            NMIP6Config
+            NMActiveConnection
+                NMVPNConnection
+            NMDHCP4Config
+            NMDHCP6Config
+        NMRemoteSettings
+        NMConnection
+            NMRemoteConnection
+        NMSecretAgent
 
+ Generated by GTK-Doc V1.19
\ No newline at end of file diff --git a/docs/libnm-glib/html/ref-overview.html b/docs/libnm-glib/html/ref-overview.html index ad919bb8..6dd6954c 100644 --- a/docs/libnm-glib/html/ref-overview.html +++ b/docs/libnm-glib/html/ref-overview.html @@ -2,22 +2,22 @@ -libnm-glib Reference Manual: Object Overview +Object Overview - + - - - - - - + + + + + +

@@ -42,6 +42,6 @@

+ Generated by GTK-Doc V1.19
\ No newline at end of file diff --git a/docs/libnm-glib/html/right-insensitive.png b/docs/libnm-glib/html/right-insensitive.png deleted file mode 100644 index 4c95785b..00000000 Binary files a/docs/libnm-glib/html/right-insensitive.png and /dev/null differ diff --git a/docs/libnm-glib/html/right.png b/docs/libnm-glib/html/right.png index 76260ec8..92832e3a 100644 Binary files a/docs/libnm-glib/html/right.png and b/docs/libnm-glib/html/right.png differ diff --git a/docs/libnm-glib/html/style.css b/docs/libnm-glib/html/style.css index 705a5c9a..d6f6c26e 100644 --- a/docs/libnm-glib/html/style.css +++ b/docs/libnm-glib/html/style.css @@ -1,23 +1,15 @@ -body -{ - font-family: cantarell, sans-serif; -} .synopsis, .classsynopsis { /* tango:aluminium 1/2 */ background: #eeeeec; - background: rgba(238, 238, 236, 0.5); - border: solid 1px rgb(238, 238, 236); + border: solid 1px #d3d7cf; padding: 0.5em; } .programlisting { /* tango:sky blue 0/1 */ - /* fallback for no rgba support */ background: #e6f3ff; border: solid 1px #729fcf; - background: rgba(114, 159, 207, 0.1); - border: solid 1px rgba(114, 159, 207, 0.2); padding: 0.5em; } .variablelist @@ -35,6 +27,7 @@ body { position: relative; top: 0em ! important; + } /* this is needed so that the local anchors are displayed below the naviagtion */ div.footnote a[name], div.refnamediv a[name], div.refsect1 a[name], div.refsect2 a[name], div.index a[name], div.glossary a[name], div.sect1 a[name] @@ -53,20 +46,16 @@ body */ body { - padding-top: 5em; - padding-bottom: 500px; - max-width: 60em; - } - p - { - max-width: 60em; + padding-top: 3.2em; + padding-bottom: 20em; } /* style and size the navigation bar */ table.navigation#top { position: fixed; - background: #e2e2e2; - border-bottom: solid 1px #babdb6; + /* tango:scarlet red 0/1 */ + background: #ffe6e6; + border: solid 1px #ef2929; margin-top: 0; margin-bottom: 0; top: 0; @@ -76,57 +65,21 @@ body } .navigation a, .navigation a:visited { - /* tango:sky blue 3 */ - color: #204a87; + /* tango:scarlet red 3 */ + color: #a40000; } .navigation a:hover { - /* tango:sky blue 2 */ - color: #3465a4; + /* tango:scarlet red 1 */ + color: #ef2929; } td.shortcuts { - /* tango:sky blue 2 */ - color: #3465a4; + /* tango:scarlet red 1 */ + color: #ef2929; font-size: 80%; white-space: nowrap; } - td.shortcuts .dim - { - color: #babdb6; - } -} -@media screen and (min-width: 60em) { - /* screen larger than 60em */ - body { margin: auto; } -} -@media screen and (max-width: 60em) { - /* screen less than 60em */ - #nav_hierarchy { display: none; } - #nav_interfaces { display: none; } - #nav_prerequisites { display: none; } - #nav_derived_interfaces { display: none; } - #nav_implementations { display: none; } - #nav_child_properties { display: none; } - #nav_style_properties { display: none; } - #nav_index { display: none; } - #nav_glossary { display: none; } - .gallery_image { display: none; } - .property_flags { display: none; } - .signal_flags { display: none; } - .parameter_annotations { display: none; } - .enum_member_annotations { display: none; } - .struct_member_annotations { display: none; } - .union_member_annotations { display: none; } - /* now that a column is hidden, optimize space */ - col.parameters_name { width: auto; } - col.parameters_description { width: auto; } - col.struct_members_name { width: auto; } - col.struct_members_description { width: auto; } - col.enum_members_name { width: auto; } - col.enum_members_description { width: auto; } - col.union_members_name { width: auto; } - col.union_members_description { width: auto; } } @media print { table.navigation { @@ -136,8 +89,9 @@ body div.titlepage table.navigation { visibility: visible; display: table; - background: #e2e2e2; - border: solid 1px #babdb6; + /* tango:scarlet red 0/1 */ + background: #ffe6e6; + border: solid 1px #ef2929; margin-top: 0; margin-bottom: 0; top: 0; @@ -148,7 +102,7 @@ body .navigation .title { - font-size: 120%; + font-size: 200%; } div.gallery-float @@ -178,67 +132,6 @@ a:hover color: #729fcf; } -div.informaltable table -{ - border-collapse: separate; - border-spacing: 20px 3px; - border: none; -} - -div.informaltable table td, div.informaltable table th -{ - vertical-align: top; -} - -.function_type, -.variable_type, -.property_type, -.signal_type, -.parameter_name, -.struct_member_name, -.union_member_name, -.define_keyword, -.datatype_keyword, -.typedef_keyword -{ - text-align: right; -} - -/* dim non-primary columns */ -.c_punctuation, -.function_type, -.variable_type, -.property_type, -.signal_type, -.define_keyword, -.datatype_keyword, -.typedef_keyword, -.property_flags, -.signal_flags, -.parameter_annotations, -.enum_member_annotations, -.struct_member_annotations, -.union_member_annotations -{ - color: #888a85; -} - -.function_type a, -.function_type a:visited, -.function_type a:hover, -.property_type a, -.property_type a:visited, -.property_type a:hover, -.signal_type a, -.signal_type a:visited, -.signal_type a:hover, -.signal_flags a, -.signal_flags a:visited, -.signal_flags a:hover -{ - color: #729fcf; -} - div.table table { border-collapse: collapse; @@ -261,43 +154,14 @@ div.table table th background-color: #d3d7cf; } -h4 -{ - color: #555753; -} - hr { - /* tango:aluminium 1 */ - color: #d3d7cf; - background: #d3d7cf; + /* tango:aluminium 3 */ + color: #babdb6; + background: #babdb6; border: none 0px; height: 1px; clear: both; - margin: 2.0em 0em 2.0em 0em; -} - -dl.toc dt -{ - padding-bottom: 0.25em; -} - -dl.toc > dd > dl > dt -{ - padding-top: 0.25em; - padding-bottom: 0.25em; -} - -dl.toc > dt -{ - padding-top: 1em; - padding-bottom: 0.5em; - font-weight: bold; -} - -.parameter -{ - font-style: normal; } .footer @@ -309,70 +173,31 @@ dl.toc > dt font-size: 80%; } -.informalfigure, -.figure -{ - margin: 1em; -} - -.informalexample, -.example -{ - margin-top: 1em; - margin-bottom: 1em; -} - .warning { /* tango:orange 0/1 */ background: #ffeed9; - background: rgba(252, 175, 62, 0.1); border-color: #ffb04f; - border-color: rgba(252, 175, 62, 0.2); } .note { /* tango:chameleon 0/0.5 */ background: #d8ffb2; - background: rgba(138, 226, 52, 0.1); border-color: #abf562; - border-color: rgba(138, 226, 52, 0.2); } -div.blockquote -{ - border-color: #eeeeec; -} -.note, .warning, div.blockquote +.note, .warning { padding: 0.5em; border-width: 1px; border-style: solid; - margin: 2em; } -.note p, .warning p +.note h3, .warning h3 { - margin: 0; + margin-top: 0.0em } - -div.warning h3.title, -div.note h3.title -{ - display: none; -} - -p + div.section -{ - margin-top: 1em; -} - -div.refnamediv, -div.refsynopsisdiv, -div.refsect1, -div.refsect2, -div.toc, -div.section +.note p, .warning p { - margin-bottom: 1em; + margin-bottom: 0.0em } /* blob links */ @@ -385,22 +210,11 @@ h2 .extralinks, h3 .extralinks font-weight: normal; } -.lineart -{ - color: #d3d7cf; - font-weight: normal; -} - .annotation { /* tango:aluminium 5 */ color: #555753; - font-weight: normal; -} - -.structfield -{ - font-style: normal; + font-size: 80%; font-weight: normal; } @@ -423,7 +237,6 @@ h2 .extralinks, h3 .extralinks .listing_frame { /* tango:sky blue 1 */ border: solid 1px #729fcf; - border: solid 1px rgba(114, 159, 207, 0.2); padding: 0px; } @@ -432,28 +245,20 @@ h2 .extralinks, h3 .extralinks margin-bottom: 0px; padding: 0.5em; } -.listing_lines { - /* this just adds visual clutter and - takes precious room from small screens */ - display: none; -} .listing_lines { /* tango:sky blue 0.5 */ background: #a6c5e3; - background: rgba(114, 159, 207, 0.2); /* tango:aluminium 6 */ color: #2e3436; } .listing_code { /* tango:sky blue 0 */ background: #e6f3ff; - background: rgba(114, 159, 207, 0.1); } .listing_code .programlisting { /* override from previous */ border: none 0px; padding: 0px; - background: none; } .listing_lines pre, .listing_code pre { margin: 0px; diff --git a/docs/libnm-glib/html/up-insensitive.png b/docs/libnm-glib/html/up-insensitive.png deleted file mode 100644 index f4049860..00000000 Binary files a/docs/libnm-glib/html/up-insensitive.png and /dev/null differ diff --git a/docs/libnm-glib/html/up.png b/docs/libnm-glib/html/up.png index 80b4b37e..85b3e2a2 100644 Binary files a/docs/libnm-glib/html/up.png and b/docs/libnm-glib/html/up.png differ diff --git a/docs/libnm-glib/libnm-glib-docs.xml b/docs/libnm-glib/libnm-glib-docs.xml index 77863aec..76119246 100644 --- a/docs/libnm-glib/libnm-glib-docs.xml +++ b/docs/libnm-glib/libnm-glib-docs.xml @@ -75,6 +75,8 @@ + + diff --git a/docs/libnm-glib/libnm-glib-sections.txt b/docs/libnm-glib/libnm-glib-sections.txt index 60e744d7..1ba95d1d 100644 --- a/docs/libnm-glib/libnm-glib-sections.txt +++ b/docs/libnm-glib/libnm-glib-sections.txt @@ -11,6 +11,8 @@ NM_ACCESS_POINT_MODE NM_ACCESS_POINT_MAX_BITRATE NM_ACCESS_POINT_STRENGTH NM_ACCESS_POINT_HW_ADDRESS +NMAccessPoint +NMAccessPointClass nm_access_point_new nm_access_point_get_flags nm_access_point_get_wpa_flags @@ -25,8 +27,6 @@ nm_access_point_filter_connections nm_access_point_connection_valid nm_access_point_get_hw_address -NMAccessPoint -NMAccessPointClass NM_ACCESS_POINT NM_ACCESS_POINT_CLASS NM_ACCESS_POINT_GET_CLASS @@ -40,25 +40,39 @@ nm_access_point_get_type nm-active-connection NMActiveConnection NM_ACTIVE_CONNECTION_CONNECTION +NM_ACTIVE_CONNECTION_ID NM_ACTIVE_CONNECTION_UUID +NM_ACTIVE_CONNECTION_TYPE NM_ACTIVE_CONNECTION_SPECIFIC_OBJECT NM_ACTIVE_CONNECTION_DEVICES NM_ACTIVE_CONNECTION_STATE NM_ACTIVE_CONNECTION_DEFAULT +NM_ACTIVE_CONNECTION_IP4_CONFIG +NM_ACTIVE_CONNECTION_DHCP4_CONFIG NM_ACTIVE_CONNECTION_DEFAULT6 +NM_ACTIVE_CONNECTION_IP6_CONFIG +NM_ACTIVE_CONNECTION_DHCP6_CONFIG +NM_ACTIVE_CONNECTION_VPN NM_ACTIVE_CONNECTION_MASTER +NMActiveConnection +NMActiveConnectionClass nm_active_connection_new nm_active_connection_get_connection +nm_active_connection_get_id nm_active_connection_get_uuid +nm_active_connection_get_connection_type nm_active_connection_get_specific_object nm_active_connection_get_devices nm_active_connection_get_state +nm_active_connection_get_master nm_active_connection_get_default +nm_active_connection_get_ip4_config +nm_active_connection_get_dhcp4_config nm_active_connection_get_default6 -nm_active_connection_get_master +nm_active_connection_get_ip6_config +nm_active_connection_get_dhcp6_config +nm_active_connection_get_vpn -NMActiveConnection -NMActiveConnectionClass NM_ACTIVE_CONNECTION NM_ACTIVE_CONNECTION_CLASS NM_ACTIVE_CONNECTION_GET_CLASS @@ -73,6 +87,7 @@ nm_active_connection_get_type NMClient NM_CLIENT_VERSION NM_CLIENT_STATE +NM_CLIENT_STARTUP NM_CLIENT_MANAGER_RUNNING NM_CLIENT_NETWORKING_ENABLED NM_CLIENT_WIRELESS_ENABLED @@ -85,8 +100,14 @@ NM_CLIENT_ACTIVE_CONNECTIONS NM_CLIENT_CONNECTIVITY NM_CLIENT_PRIMARY_CONNECTION NM_CLIENT_ACTIVATING_CONNECTION +NM_CLIENT_DEVICES NMClientPermission NMClientPermissionResult +NMClientError +NM_CLIENT_ERROR +nm_client_error_quark +NMClient +NMClientClass nm_client_new nm_client_new_async nm_client_new_finish @@ -111,6 +132,7 @@ nm_client_wimax_set_enabled nm_client_wimax_hardware_get_enabled nm_client_get_version nm_client_get_state +nm_client_get_startup nm_client_get_manager_running nm_client_get_active_connections nm_client_sleep @@ -124,8 +146,6 @@ nm_client_check_connectivity_finish nm_client_get_primary_connection nm_client_get_activating_connection -NMClient -NMClientClass NM_CLIENT NM_CLIENT_CLASS NM_CLIENT_GET_CLASS @@ -138,6 +158,9 @@ nm_client_get_type
nm-device NMDevice +NMDeviceError +NM_DEVICE_ERROR +nm_device_error_quark NM_DEVICE_DEVICE_TYPE NM_DEVICE_UDI NM_DEVICE_INTERFACE @@ -159,6 +182,10 @@ NM_DEVICE_ACTIVE_CONNECTION NM_DEVICE_AVAILABLE_CONNECTIONS NM_DEVICE_VENDOR NM_DEVICE_PRODUCT +NM_DEVICE_PHYSICAL_PORT_ID +NM_DEVICE_MTU +NMDevice +NMDeviceClass nm_device_new nm_device_get_iface nm_device_get_ip_iface @@ -167,6 +194,8 @@ nm_device_get_udi nm_device_get_driver nm_device_get_driver_version nm_device_get_firmware_version +nm_device_get_type_description +nm_device_get_hw_address nm_device_get_capabilities nm_device_get_managed nm_device_get_autoconnect @@ -180,16 +209,19 @@ nm_device_get_state nm_device_get_state_reason nm_device_get_active_connection nm_device_get_available_connections +nm_device_get_physical_port_id +nm_device_get_mtu nm_device_get_product nm_device_get_vendor +nm_device_get_description +nm_device_disambiguate_names NMDeviceDeactivateFn nm_device_disconnect nm_device_filter_connections nm_device_connection_valid nm_device_connection_compatible +nm_device_get_setting_type -NMDevice -NMDeviceClass NM_DEVICE NM_DEVICE_CLASS NM_DEVICE_GET_CLASS @@ -206,11 +238,11 @@ NMDeviceAdslError NM_DEVICE_ADSL_ERROR nm_device_adsl_error_quark NM_DEVICE_ADSL_CARRIER +NMDeviceAdsl +NMDeviceAdslClass nm_device_adsl_new nm_device_adsl_get_carrier -NMDeviceAdsl -NMDeviceAdslClass NM_DEVICE_ADSL NM_DEVICE_ADSL_CLASS NM_DEVICE_ADSL_GET_CLASS @@ -229,13 +261,13 @@ nm_device_bond_error_quark NM_DEVICE_BOND_HW_ADDRESS NM_DEVICE_BOND_CARRIER NM_DEVICE_BOND_SLAVES +NMDeviceBond +NMDeviceBondClass nm_device_bond_new nm_device_bond_get_hw_address nm_device_bond_get_carrier nm_device_bond_get_slaves -NMDeviceBond -NMDeviceBondClass NM_DEVICE_BOND NM_DEVICE_BOND_CLASS NM_DEVICE_BOND_GET_CLASS @@ -254,13 +286,13 @@ nm_device_bridge_error_quark NM_DEVICE_BRIDGE_HW_ADDRESS NM_DEVICE_BRIDGE_CARRIER NM_DEVICE_BRIDGE_SLAVES +NMDeviceBridge +NMDeviceBridgeClass nm_device_bridge_new nm_device_bridge_get_hw_address nm_device_bridge_get_carrier nm_device_bridge_get_slaves -NMDeviceBridge -NMDeviceBridgeClass NM_DEVICE_BRIDGE NM_DEVICE_BRIDGE_CLASS NM_DEVICE_BRIDGE_GET_CLASS @@ -279,13 +311,13 @@ nm_device_bt_error_quark NM_DEVICE_BT_HW_ADDRESS NM_DEVICE_BT_NAME NM_DEVICE_BT_CAPABILITIES +NMDeviceBt +NMDeviceBtClass nm_device_bt_new nm_device_bt_get_hw_address nm_device_bt_get_name nm_device_bt_get_capabilities -NMDeviceBt -NMDeviceBtClass NM_DEVICE_BT NM_DEVICE_BT_CLASS NM_DEVICE_BT_GET_CLASS @@ -305,14 +337,14 @@ NM_DEVICE_ETHERNET_HW_ADDRESS NM_DEVICE_ETHERNET_PERMANENT_HW_ADDRESS NM_DEVICE_ETHERNET_SPEED NM_DEVICE_ETHERNET_CARRIER +NMDeviceEthernet +NMDeviceEthernetClass nm_device_ethernet_new nm_device_ethernet_get_hw_address nm_device_ethernet_get_permanent_hw_address nm_device_ethernet_get_speed nm_device_ethernet_get_carrier -NMDeviceEthernet -NMDeviceEthernetClass NM_DEVICE_ETHERNET NM_DEVICE_ETHERNET_CLASS NM_DEVICE_ETHERNET_GET_CLASS @@ -322,6 +354,28 @@ NM_TYPE_DEVICE_ETHERNET nm_device_ethernet_get_type
+
+nm-device-generic +NMDeviceGeneric +NMDeviceGenericError +NM_DEVICE_GENERIC_ERROR +nm_device_generic_error_quark +NM_DEVICE_GENERIC_HW_ADDRESS +NM_DEVICE_GENERIC_TYPE_DESCRIPTION +NMDeviceGeneric +NMDeviceGenericClass +nm_device_generic_new +nm_device_generic_get_hw_address + +NM_DEVICE_GENERIC +NM_DEVICE_GENERIC_CLASS +NM_DEVICE_GENERIC_GET_CLASS +NM_IS_DEVICE_GENERIC +NM_IS_DEVICE_GENERIC_CLASS +NM_TYPE_DEVICE_GENERIC +nm_device_generic_get_type +
+
nm-device-infiniband NMDeviceInfiniband @@ -330,12 +384,12 @@ NM_DEVICE_INFINIBAND_ERROR nm_device_infiniband_error_quark NM_DEVICE_INFINIBAND_HW_ADDRESS NM_DEVICE_INFINIBAND_CARRIER +NMDeviceInfiniband +NMDeviceInfinibandClass nm_device_infiniband_new nm_device_infiniband_get_hw_address nm_device_infiniband_get_carrier -NMDeviceInfiniband -NMDeviceInfinibandClass NM_DEVICE_INFINIBAND NM_DEVICE_INFINIBAND_CLASS NM_DEVICE_INFINIBAND_GET_CLASS @@ -353,11 +407,11 @@ NM_DEVICE_MODEM_ERROR nm_device_modem_error_quark NM_DEVICE_MODEM_MODEM_CAPABILITIES NM_DEVICE_MODEM_CURRENT_CAPABILITIES +NMDeviceModem +NMDeviceModemClass nm_device_modem_get_modem_capabilities nm_device_modem_get_current_capabilities -NMDeviceModem -NMDeviceModemClass NM_DEVICE_MODEM NM_DEVICE_MODEM_CLASS NM_DEVICE_MODEM_GET_CLASS @@ -376,13 +430,13 @@ nm_device_olpc_mesh_error_quark NM_DEVICE_OLPC_MESH_HW_ADDRESS NM_DEVICE_OLPC_MESH_COMPANION NM_DEVICE_OLPC_MESH_ACTIVE_CHANNEL +NMDeviceOlpcMesh +NMDeviceOlpcMeshClass nm_device_olpc_mesh_new nm_device_olpc_mesh_get_hw_address nm_device_olpc_mesh_get_companion nm_device_olpc_mesh_get_active_channel -NMDeviceOlpcMesh -NMDeviceOlpcMeshClass NM_DEVICE_OLPC_MESH NM_DEVICE_OLPC_MESH_CLASS NM_DEVICE_OLPC_MESH_GET_CLASS @@ -392,6 +446,31 @@ NM_TYPE_DEVICE_OLPC_MESH nm_device_olpc_mesh_get_type
+
+nm-device-team +NMDeviceTeam +NMDeviceTeamError +NM_DEVICE_TEAM_ERROR +nm_device_team_error_quark +NM_DEVICE_TEAM_HW_ADDRESS +NM_DEVICE_TEAM_CARRIER +NM_DEVICE_TEAM_SLAVES +NMDeviceTeam +NMDeviceTeamClass +nm_device_team_new +nm_device_team_get_hw_address +nm_device_team_get_carrier +nm_device_team_get_slaves + +NM_DEVICE_TEAM +NM_DEVICE_TEAM_CLASS +NM_DEVICE_TEAM_GET_CLASS +NM_IS_DEVICE_TEAM +NM_IS_DEVICE_TEAM_CLASS +NM_TYPE_DEVICE_TEAM +nm_device_team_get_type +
+
nm-device-vlan NMDeviceVlan @@ -401,13 +480,13 @@ nm_device_vlan_error_quark NM_DEVICE_VLAN_HW_ADDRESS NM_DEVICE_VLAN_CARRIER NM_DEVICE_VLAN_VLAN_ID +NMDeviceVlan +NMDeviceVlanClass nm_device_vlan_new nm_device_vlan_get_hw_address nm_device_vlan_get_carrier nm_device_vlan_get_vlan_id -NMDeviceVlan -NMDeviceVlanClass NM_DEVICE_VLAN NM_DEVICE_VLAN_CLASS NM_DEVICE_VLAN_GET_CLASS @@ -429,6 +508,9 @@ NM_DEVICE_WIFI_MODE NM_DEVICE_WIFI_BITRATE NM_DEVICE_WIFI_ACTIVE_ACCESS_POINT NM_DEVICE_WIFI_CAPABILITIES +NM_DEVICE_WIFI_ACCESS_POINTS +NMDeviceWifi +NMDeviceWifiClass nm_device_wifi_new nm_device_wifi_get_hw_address nm_device_wifi_get_permanent_hw_address @@ -441,8 +523,6 @@ nm_device_wifi_get_access_points NMDeviceWifiRequestScanFn nm_device_wifi_request_scan_simple -NMDeviceWifi -NMDeviceWifiClass NM_DEVICE_WIFI NM_DEVICE_WIFI_CLASS NM_DEVICE_WIFI_GET_CLASS @@ -465,6 +545,9 @@ NM_DEVICE_WIMAX_RSSI NM_DEVICE_WIMAX_CINR NM_DEVICE_WIMAX_TX_POWER NM_DEVICE_WIMAX_BSID +NM_DEVICE_WIMAX_NSPS +NMDeviceWimax +NMDeviceWimaxClass nm_device_wimax_new nm_device_wimax_get_hw_address nm_device_wimax_get_active_nsp @@ -476,8 +559,6 @@ nm_device_wimax_get_cinr nm_device_wimax_get_tx_power nm_device_wimax_get_bsid -NMDeviceWimax -NMDeviceWimaxClass NM_DEVICE_WIMAX NM_DEVICE_WIMAX_CLASS NM_DEVICE_WIMAX_GET_CLASS @@ -490,13 +571,13 @@ nm_device_wimax_get_type
nm-dhcp4-config NMDHCP4Config +NMDHCP4Config +NMDHCP4ConfigClass NM_DHCP4_CONFIG_OPTIONS nm_dhcp4_config_new nm_dhcp4_config_get_options nm_dhcp4_config_get_one_option -NMDHCP4Config -NMDHCP4ConfigClass NM_DHCP4_CONFIG NM_DHCP4_CONFIG_CLASS NM_IS_DHCP4_CONFIG @@ -508,13 +589,13 @@ nm_dhcp4_config_get_type
nm-dhcp6-config NMDHCP6Config +NMDHCP6Config +NMDHCP6ConfigClass NM_DHCP6_CONFIG_OPTIONS nm_dhcp6_config_new nm_dhcp6_config_get_options nm_dhcp6_config_get_one_option -NMDHCP6Config -NMDHCP6ConfigClass NM_DHCP6_CONFIG NM_DHCP6_CONFIG_CLASS NM_IS_DHCP6_CONFIG @@ -526,39 +607,51 @@ nm_dhcp6_config_get_type
nm-glib-enum-types +NM_TYPE_CLIENT_ERROR NM_TYPE_CLIENT_PERMISSION NM_TYPE_CLIENT_PERMISSION_RESULT NM_TYPE_DEVICE_ADSL_ERROR NM_TYPE_DEVICE_BOND_ERROR NM_TYPE_DEVICE_BRIDGE_ERROR NM_TYPE_DEVICE_BT_ERROR +NM_TYPE_DEVICE_ERROR NM_TYPE_DEVICE_ETHERNET_ERROR +NM_TYPE_DEVICE_GENERIC_ERROR NM_TYPE_DEVICE_INFINIBAND_ERROR NM_TYPE_DEVICE_MODEM_ERROR NM_TYPE_DEVICE_OLPC_MESH_ERROR +NM_TYPE_DEVICE_TEAM_ERROR NM_TYPE_DEVICE_VLAN_ERROR NM_TYPE_DEVICE_WIFI_ERROR NM_TYPE_DEVICE_WIMAX_ERROR NM_TYPE_OBJECT_ERROR +NM_TYPE_REMOTE_CONNECTION_ERROR NM_TYPE_REMOTE_SETTINGS_ERROR +NM_TYPE_SECRET_AGENT_CAPABILITIES NM_TYPE_SECRET_AGENT_ERROR NM_TYPE_SECRET_AGENT_GET_SECRETS_FLAGS NM_TYPE_WIMAX_NSP_NETWORK_TYPE +nm_client_error_get_type nm_client_permission_get_type nm_client_permission_result_get_type nm_device_adsl_error_get_type nm_device_bond_error_get_type nm_device_bridge_error_get_type nm_device_bt_error_get_type +nm_device_error_get_type nm_device_ethernet_error_get_type +nm_device_generic_error_get_type nm_device_infiniband_error_get_type nm_device_modem_error_get_type nm_device_olpc_mesh_error_get_type +nm_device_team_error_get_type nm_device_vlan_error_get_type nm_device_wifi_error_get_type nm_device_wimax_error_get_type nm_object_error_get_type +nm_remote_connection_error_get_type nm_remote_settings_error_get_type +nm_secret_agent_capabilities_get_type nm_secret_agent_error_get_type nm_secret_agent_get_secrets_flags_get_type nm_wimax_nsp_network_type_get_type @@ -567,20 +660,24 @@ nm_wimax_nsp_network_type_get_type
nm-ip4-config NMIP4Config +NMIP4Config +NMIP4ConfigClass +NM_IP4_CONFIG_GATEWAY NM_IP4_CONFIG_ADDRESSES +NM_IP4_CONFIG_ROUTES NM_IP4_CONFIG_NAMESERVERS NM_IP4_CONFIG_DOMAINS -NM_IP4_CONFIG_ROUTES +NM_IP4_CONFIG_SEARCHES NM_IP4_CONFIG_WINS_SERVERS nm_ip4_config_new +nm_ip4_config_get_gateway nm_ip4_config_get_addresses +nm_ip4_config_get_routes nm_ip4_config_get_nameservers nm_ip4_config_get_domains -nm_ip4_config_get_routes +nm_ip4_config_get_searches nm_ip4_config_get_wins_servers -NMIP4Config -NMIP4ConfigClass NM_IP4_CONFIG NM_IP4_CONFIG_CLASS NM_IP4_CONFIG_GET_CLASS @@ -593,18 +690,24 @@ nm_ip4_config_get_type
nm-ip6-config NMIP6Config +NMIP6Config +NMIP6ConfigClass +NM_IP6_CONFIG_GATEWAY NM_IP6_CONFIG_ADDRESSES +NM_IP6_CONFIG_ROUTES NM_IP6_CONFIG_NAMESERVERS NM_IP6_CONFIG_DOMAINS -NM_IP6_CONFIG_ROUTES +NM_IP6_CONFIG_SEARCHES nm_ip6_config_new +nm_ip6_config_get_gateway nm_ip6_config_get_addresses +nm_ip6_config_get_routes +nm_ip6_config_get_num_nameservers +nm_ip6_config_get_nameserver nm_ip6_config_get_nameservers nm_ip6_config_get_domains -nm_ip6_config_get_routes +nm_ip6_config_get_searches -NMIP6Config -NMIP6ConfigClass NM_IP6_CONFIG NM_IP6_CONFIG_CLASS NM_IP6_CONFIG_GET_CLASS @@ -622,11 +725,11 @@ NM_OBJECT_ERROR nm_object_error_quark NM_OBJECT_DBUS_CONNECTION NM_OBJECT_DBUS_PATH +NMObject +NMObjectClass nm_object_get_connection nm_object_get_path -NMObject -NMObjectClass NM_IS_OBJECT NM_IS_OBJECT_CLASS NM_OBJECT @@ -639,18 +742,26 @@ nm_object_get_type
nm-remote-connection NMRemoteConnection +NMRemoteConnectionError +NM_REMOTE_CONNECTION_ERROR +nm_remote_connection_error_quark +NM_REMOTE_CONNECTION_UNSAVED NM_REMOTE_CONNECTION_UPDATED NM_REMOTE_CONNECTION_REMOVED +NMRemoteConnection +NMRemoteConnectionClass +NMRemoteConnectionResultFunc NMRemoteConnectionCommitFunc NMRemoteConnectionDeleteFunc NMRemoteConnectionGetSecretsFunc nm_remote_connection_new nm_remote_connection_commit_changes +nm_remote_connection_commit_changes_unsaved +nm_remote_connection_save nm_remote_connection_delete nm_remote_connection_get_secrets +nm_remote_connection_get_unsaved -NMRemoteConnection -NMRemoteConnectionClass NM_IS_REMOTE_CONNECTION NM_IS_REMOTE_CONNECTION_CLASS NM_REMOTE_CONNECTION @@ -673,18 +784,23 @@ NM_REMOTE_SETTINGS_CAN_MODIFY NM_REMOTE_SETTINGS_NEW_CONNECTION NM_REMOTE_SETTINGS_CONNECTIONS_READ NMRemoteSettingsAddConnectionFunc +NMRemoteSettingsLoadConnectionsFunc NMRemoteSettingsSaveHostnameFunc +NMRemoteSettings +NMRemoteSettingsClass nm_remote_settings_new nm_remote_settings_new_async nm_remote_settings_new_finish nm_remote_settings_list_connections +nm_remote_settings_get_connection_by_id nm_remote_settings_get_connection_by_path nm_remote_settings_get_connection_by_uuid nm_remote_settings_add_connection +nm_remote_settings_add_connection_unsaved +nm_remote_settings_load_connections +nm_remote_settings_reload_connections nm_remote_settings_save_hostname -NMRemoteSettings -NMRemoteSettingsClass NM_IS_REMOTE_SETTINGS NM_IS_REMOTE_SETTINGS_CLASS NM_REMOTE_SETTINGS @@ -700,14 +816,18 @@ nm_remote_settings_get_type NM_SECRET_AGENT_ERROR nm_secret_agent_error_quark NMSecretAgentError +NMSecretAgentCapabilities NMSecretAgentGetSecretsFlags NM_SECRET_AGENT_IDENTIFIER NM_SECRET_AGENT_AUTO_REGISTER NM_SECRET_AGENT_REGISTERED +NM_SECRET_AGENT_CAPABILITIES NM_SECRET_AGENT_REGISTRATION_RESULT +NMSecretAgent NMSecretAgentGetSecretsFunc NMSecretAgentSaveSecretsFunc NMSecretAgentDeleteSecretsFunc +NMSecretAgentClass nm_secret_agent_register nm_secret_agent_unregister nm_secret_agent_get_registered @@ -715,8 +835,6 @@ nm_secret_agent_get_secrets nm_secret_agent_save_secrets nm_secret_agent_delete_secrets -NMSecretAgent -NMSecretAgentClass NM_IS_SECRET_AGENT NM_IS_SECRET_AGENT_CLASS NM_SECRET_AGENT @@ -750,12 +868,12 @@ nm_uint_array_get_type NMVPNConnection NM_VPN_CONNECTION_VPN_STATE NM_VPN_CONNECTION_BANNER +NMVPNConnection +NMVPNConnectionClass nm_vpn_connection_new nm_vpn_connection_get_vpn_state nm_vpn_connection_get_banner -NMVPNConnection -NMVPNConnectionClass NM_IS_VPN_CONNECTION NM_IS_VPN_CONNECTION_CLASS NM_TYPE_VPN_CONNECTION @@ -782,10 +900,13 @@ nm_vpn_plugin_ui_interface_prop_get_type NM_VPN_PLUGIN_DBUS_SERVICE_NAME NM_VPN_PLUGIN_STATE NMVPNPluginError +NMVPNPlugin +NMVPNPluginClass nm_vpn_plugin_error_quark nm_vpn_plugin_get_connection nm_vpn_plugin_get_state nm_vpn_plugin_set_state +nm_vpn_plugin_secrets_required nm_vpn_plugin_set_login_banner nm_vpn_plugin_failure nm_vpn_plugin_set_config @@ -793,8 +914,6 @@ nm_vpn_plugin_set_ip4_config nm_vpn_plugin_set_ip6_config nm_vpn_plugin_disconnect -NMVPNPlugin -NMVPNPluginClass NM_IS_VPN_PLUGIN NM_IS_VPN_PLUGIN_CLASS NM_TYPE_VPN_PLUGIN @@ -809,6 +928,7 @@ nm_vpn_plugin_get_type
nm-vpn-plugin-ui-interface NMVpnPluginUiWidget +NMVpnPluginUi NMVpnPluginUiFactory nm_vpn_plugin_ui_factory NMVpnPluginUiCapability @@ -816,18 +936,18 @@ NM_VPN_PLUGIN_UI_INTERFACE_NAME NM_VPN_PLUGIN_UI_INTERFACE_DESC NM_VPN_PLUGIN_UI_INTERFACE_SERVICE NMVpnPluginUiInterfaceProp +NMVpnPluginUiInterface nm_vpn_plugin_ui_interface_ui_factory nm_vpn_plugin_ui_interface_get_capabilities nm_vpn_plugin_ui_interface_import nm_vpn_plugin_ui_interface_export nm_vpn_plugin_ui_interface_get_suggested_name nm_vpn_plugin_ui_interface_delete_connection +NMVpnPluginUiWidgetInterface nm_vpn_plugin_ui_widget_interface_get_widget nm_vpn_plugin_ui_widget_interface_update_connection nm_vpn_plugin_ui_widget_interface_save_secrets -NMVpnPluginUiInterface -NMVpnPluginUiWidgetInterface NM_IS_VPN_PLUGIN_UI_INTERFACE NM_IS_VPN_PLUGIN_UI_WIDGET_INTERFACE NM_TYPE_VPN_PLUGIN_UI_INTERFACE @@ -853,6 +973,8 @@ NM_WIMAX_NSP_NAME NM_WIMAX_NSP_SIGNAL_QUALITY NM_WIMAX_NSP_NETWORK_TYPE NMWimaxNspNetworkType +NMWimaxNsp +NMWimaxNspClass nm_wimax_nsp_new nm_wimax_nsp_get_name nm_wimax_nsp_get_signal_quality @@ -860,8 +982,6 @@ nm_wimax_nsp_get_network_type nm_wimax_nsp_filter_connections nm_wimax_nsp_connection_valid -NMWimaxNsp -NMWimaxNspClass NM_IS_WIMAX_NSP NM_IS_WIMAX_NSP_CLASS NM_TYPE_WIMAX_NSP diff --git a/docs/libnm-glib/libnm-glib.types b/docs/libnm-glib/libnm-glib.types index d8486f47..01ab1ce6 100644 --- a/docs/libnm-glib/libnm-glib.types +++ b/docs/libnm-glib/libnm-glib.types @@ -11,6 +11,8 @@ #include #include #include +#include +#include #include #include #include @@ -36,6 +38,8 @@ nm_device_adsl_get_type nm_device_infiniband_get_type nm_device_bond_get_type nm_device_bridge_get_type +nm_device_team_get_type +nm_device_generic_get_type nm_device_vlan_get_type nm_wimax_nsp_get_type nm_access_point_get_type diff --git a/docs/libnm-glib/tmpl/nm-access-point.sgml b/docs/libnm-glib/tmpl/nm-access-point.sgml index 2a2ecb1c..ad78146c 100644 --- a/docs/libnm-glib/tmpl/nm-access-point.sgml +++ b/docs/libnm-glib/tmpl/nm-access-point.sgml @@ -92,6 +92,75 @@ NMAccessPoint + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +@parent: +@_reserved1: +@_reserved2: +@_reserved3: +@_reserved4: +@_reserved5: +@_reserved6: + diff --git a/docs/libnm-glib/tmpl/nm-active-connection.sgml b/docs/libnm-glib/tmpl/nm-active-connection.sgml index a7257528..457b8428 100644 --- a/docs/libnm-glib/tmpl/nm-active-connection.sgml +++ b/docs/libnm-glib/tmpl/nm-active-connection.sgml @@ -29,6 +29,13 @@ NMActiveConnection + + + + + + + @@ -36,6 +43,13 @@ NMActiveConnection + + + + + + + @@ -64,6 +78,20 @@ NMActiveConnection + + + + + + + + + + + + + + @@ -71,6 +99,27 @@ NMActiveConnection + + + + + + + + + + + + + + + + + + + + + @@ -78,6 +127,100 @@ NMActiveConnection + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +@parent: +@_reserved1: +@_reserved2: +@_reserved3: +@_reserved4: +@_reserved5: +@_reserved6: + @@ -97,6 +240,15 @@ NMActiveConnection @Returns: + + + + + +@connection: +@Returns: + + @@ -106,6 +258,15 @@ NMActiveConnection @Returns: + + + + + +@connection: +@Returns: + + @@ -133,6 +294,15 @@ NMActiveConnection @Returns: + + + + + +@connection: +@Returns: + + @@ -142,6 +312,24 @@ NMActiveConnection @Returns: + + + + + +@connection: +@Returns: + + + + + + + +@connection: +@Returns: + + @@ -151,7 +339,25 @@ NMActiveConnection @Returns: - + + + + + +@connection: +@Returns: + + + + + + + +@connection: +@Returns: + + + diff --git a/docs/libnm-glib/tmpl/nm-client.sgml b/docs/libnm-glib/tmpl/nm-client.sgml index ee1377d9..5d6814cc 100644 --- a/docs/libnm-glib/tmpl/nm-client.sgml +++ b/docs/libnm-glib/tmpl/nm-client.sgml @@ -36,6 +36,13 @@ NMClient + + + + + + + @@ -120,6 +127,13 @@ NMClient + + + + + + + @@ -149,6 +163,157 @@ NMClient @NM_CLIENT_PERMISSION_RESULT_AUTH: @NM_CLIENT_PERMISSION_RESULT_NO: + + + + + +@NM_CLIENT_ERROR_UNKNOWN: +@NM_CLIENT_ERROR_MANAGER_NOT_RUNNING: + + + + + + + + + + + + + +@void: +@Returns: + + + + + + + + + + + + + +@nmclient: the object which received the signal. +@arg1: + + + + + + +@nmclient: the object which received the signal. +@arg1: + + + + + + +@nmclient: the object which received the signal. +@arg1: +@arg2: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +@parent: +@device_added: +@device_removed: +@permission_changed: +@_reserved1: +@_reserved2: +@_reserved3: +@_reserved4: +@_reserved5: +@_reserved6: + @@ -382,6 +547,15 @@ NMClient @Returns: + + + + + +@client: +@Returns: + + diff --git a/docs/libnm-glib/tmpl/nm-device-adsl.sgml b/docs/libnm-glib/tmpl/nm-device-adsl.sgml index 1c7e14c2..111cf8a6 100644 --- a/docs/libnm-glib/tmpl/nm-device-adsl.sgml +++ b/docs/libnm-glib/tmpl/nm-device-adsl.sgml @@ -54,6 +54,30 @@ NMDeviceAdsl + + + + + + + + + + + + + + + + +@parent: +@_reserved1: +@_reserved2: +@_reserved3: +@_reserved4: +@_reserved5: +@_reserved6: + diff --git a/docs/libnm-glib/tmpl/nm-device-bond.sgml b/docs/libnm-glib/tmpl/nm-device-bond.sgml index 3270d995..cc85389d 100644 --- a/docs/libnm-glib/tmpl/nm-device-bond.sgml +++ b/docs/libnm-glib/tmpl/nm-device-bond.sgml @@ -69,6 +69,40 @@ NMDeviceBond + + + + + + + + + + + + + + + + + + + + + + + + + + +@parent: +@_reserved1: +@_reserved2: +@_reserved3: +@_reserved4: +@_reserved5: +@_reserved6: + diff --git a/docs/libnm-glib/tmpl/nm-device-bridge.sgml b/docs/libnm-glib/tmpl/nm-device-bridge.sgml index 65094577..3570bae3 100644 --- a/docs/libnm-glib/tmpl/nm-device-bridge.sgml +++ b/docs/libnm-glib/tmpl/nm-device-bridge.sgml @@ -69,6 +69,40 @@ NMDeviceBridge + + + + + + + + + + + + + + + + + + + + + + + + + + +@parent: +@_reserved1: +@_reserved2: +@_reserved3: +@_reserved4: +@_reserved5: +@_reserved6: + diff --git a/docs/libnm-glib/tmpl/nm-device-bt.sgml b/docs/libnm-glib/tmpl/nm-device-bt.sgml index 44a6f692..404ec888 100644 --- a/docs/libnm-glib/tmpl/nm-device-bt.sgml +++ b/docs/libnm-glib/tmpl/nm-device-bt.sgml @@ -71,6 +71,40 @@ NMDeviceBt + + + + + + + + + + + + + + + + + + + + + + + + + + +@parent: +@_reserved1: +@_reserved2: +@_reserved3: +@_reserved4: +@_reserved5: +@_reserved6: + diff --git a/docs/libnm-glib/tmpl/nm-device-ethernet.sgml b/docs/libnm-glib/tmpl/nm-device-ethernet.sgml index 4d97c189..a3771275 100644 --- a/docs/libnm-glib/tmpl/nm-device-ethernet.sgml +++ b/docs/libnm-glib/tmpl/nm-device-ethernet.sgml @@ -77,6 +77,45 @@ NMDeviceEthernet + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +@parent: +@_reserved1: +@_reserved2: +@_reserved3: +@_reserved4: +@_reserved5: +@_reserved6: + diff --git a/docs/libnm-glib/tmpl/nm-device-generic.sgml b/docs/libnm-glib/tmpl/nm-device-generic.sgml new file mode 100644 index 00000000..e47323d5 --- /dev/null +++ b/docs/libnm-glib/tmpl/nm-device-generic.sgml @@ -0,0 +1,111 @@ + +NMDeviceGeneric + + + + + + + + + + + + + + + + + + + + + + + + + + + +@NM_DEVICE_GENERIC_ERROR_UNKNOWN: +@NM_DEVICE_GENERIC_ERROR_NOT_GENERIC_CONNECTION: +@NM_DEVICE_GENERIC_ERROR_MISSING_INTERFACE_NAME: + + + + + + + + + + + + + +@void: +@Returns: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +@parent: +@_reserved1: +@_reserved2: +@_reserved3: +@_reserved4: +@_reserved5: +@_reserved6: + + + + + + +@connection: +@path: +@Returns: + + + + + + + +@device: +@Returns: + + diff --git a/docs/libnm-glib/tmpl/nm-device-infiniband.sgml b/docs/libnm-glib/tmpl/nm-device-infiniband.sgml index 73a3f3c4..f50d415f 100644 --- a/docs/libnm-glib/tmpl/nm-device-infiniband.sgml +++ b/docs/libnm-glib/tmpl/nm-device-infiniband.sgml @@ -63,6 +63,35 @@ NMDeviceInfiniband + + + + + + + + + + + + + + + + + + + + + +@parent: +@_reserved1: +@_reserved2: +@_reserved3: +@_reserved4: +@_reserved5: +@_reserved6: + diff --git a/docs/libnm-glib/tmpl/nm-device-modem.sgml b/docs/libnm-glib/tmpl/nm-device-modem.sgml index 007c3b42..4e1cc83a 100644 --- a/docs/libnm-glib/tmpl/nm-device-modem.sgml +++ b/docs/libnm-glib/tmpl/nm-device-modem.sgml @@ -62,6 +62,35 @@ NMDeviceModem + + + + + + + + + + + + + + + + + + + + + +@parent: +@_reserved1: +@_reserved2: +@_reserved3: +@_reserved4: +@_reserved5: +@_reserved6: + diff --git a/docs/libnm-glib/tmpl/nm-device-olpc-mesh.sgml b/docs/libnm-glib/tmpl/nm-device-olpc-mesh.sgml index c8cccb2f..fb78ba35 100644 --- a/docs/libnm-glib/tmpl/nm-device-olpc-mesh.sgml +++ b/docs/libnm-glib/tmpl/nm-device-olpc-mesh.sgml @@ -68,6 +68,40 @@ NMDeviceOlpcMesh + + + + + + + + + + + + + + + + + + + + + + + + + + +@parent: +@_reserved1: +@_reserved2: +@_reserved3: +@_reserved4: +@_reserved5: +@_reserved6: + diff --git a/docs/libnm-glib/tmpl/nm-device-team.sgml b/docs/libnm-glib/tmpl/nm-device-team.sgml new file mode 100644 index 00000000..cd73a412 --- /dev/null +++ b/docs/libnm-glib/tmpl/nm-device-team.sgml @@ -0,0 +1,142 @@ + +NMDeviceTeam + + + + + + + + + + + + + + + + + + + + + + + + + + + +@NM_DEVICE_TEAM_ERROR_UNKNOWN: +@NM_DEVICE_TEAM_ERROR_NOT_TEAM_CONNECTION: +@NM_DEVICE_TEAM_ERROR_INVALID_TEAM_CONNECTION: +@NM_DEVICE_TEAM_ERROR_INTERFACE_MISMATCH: + + + + + + + + + + + + + +@void: +@Returns: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +@parent: +@_reserved1: +@_reserved2: +@_reserved3: +@_reserved4: +@_reserved5: +@_reserved6: + + + + + + +@connection: +@path: +@Returns: + + + + + + + +@device: +@Returns: + + + + + + + +@device: +@Returns: + + + + + + + +@device: +@Returns: + + diff --git a/docs/libnm-glib/tmpl/nm-device-vlan.sgml b/docs/libnm-glib/tmpl/nm-device-vlan.sgml index 68534f55..2509a21d 100644 --- a/docs/libnm-glib/tmpl/nm-device-vlan.sgml +++ b/docs/libnm-glib/tmpl/nm-device-vlan.sgml @@ -32,6 +32,7 @@ NMDeviceVlan @NM_DEVICE_VLAN_ERROR_INVALID_VLAN_CONNECTION: @NM_DEVICE_VLAN_ERROR_ID_MISMATCH: @NM_DEVICE_VLAN_ERROR_INTERFACE_MISMATCH: +@NM_DEVICE_VLAN_ERROR_MAC_MISMATCH: @@ -70,6 +71,40 @@ NMDeviceVlan + + + + + + + + + + + + + + + + + + + + + + + + + + +@parent: +@_reserved1: +@_reserved2: +@_reserved3: +@_reserved4: +@_reserved5: +@_reserved6: + diff --git a/docs/libnm-glib/tmpl/nm-device-wifi.sgml b/docs/libnm-glib/tmpl/nm-device-wifi.sgml index 50df1021..932a7db3 100644 --- a/docs/libnm-glib/tmpl/nm-device-wifi.sgml +++ b/docs/libnm-glib/tmpl/nm-device-wifi.sgml @@ -93,6 +93,85 @@ NMDeviceWifi + + + + + + + + + + + + + + + + + + +@nmdevicewifi: the object which received the signal. +@arg1: + + + + + + +@nmdevicewifi: the object which received the signal. +@arg1: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +@parent: +@access_point_added: +@access_point_removed: +@_reserved1: +@_reserved2: +@_reserved3: +@_reserved4: +@_reserved5: +@_reserved6: + diff --git a/docs/libnm-glib/tmpl/nm-device-wimax.sgml b/docs/libnm-glib/tmpl/nm-device-wimax.sgml index cc0c8c8e..570d0539 100644 --- a/docs/libnm-glib/tmpl/nm-device-wimax.sgml +++ b/docs/libnm-glib/tmpl/nm-device-wimax.sgml @@ -98,6 +98,84 @@ NMDeviceWimax + + + + + + + + + + + + + + + + + + +@nmdevicewimax: the object which received the signal. +@arg1: + + + + + + +@nmdevicewimax: the object which received the signal. +@arg1: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +@parent: +@nsp_added: +@nsp_removed: + diff --git a/docs/libnm-glib/tmpl/nm-device.sgml b/docs/libnm-glib/tmpl/nm-device.sgml index 1efb5ace..a3c55286 100644 --- a/docs/libnm-glib/tmpl/nm-device.sgml +++ b/docs/libnm-glib/tmpl/nm-device.sgml @@ -22,6 +22,30 @@ NMDevice + + + + + +@NM_DEVICE_ERROR_UNKNOWN: +@NM_DEVICE_ERROR_INTERFACE_MISMATCH: + + + + + + + + + + + + + +@void: +@Returns: + + @@ -169,6 +193,166 @@ NMDevice + + + + + + + + + + + + + + + + + + + + + + + + + +@nmdevice: the object which received the signal. +@arg1: +@arg2: +@arg3: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +@parent: +@state_changed: +@connection_compatible: +@get_type_description: +@get_hw_address: +@get_setting_type: +@_reserved1: +@_reserved2: +@_reserved3: + @@ -242,6 +426,24 @@ NMDevice @Returns: + + + + + +@device: +@Returns: + + + + + + + +@device: +@Returns: + + @@ -360,6 +562,24 @@ NMDevice @Returns: + + + + + +@device: +@Returns: + + + + + + + +@device: +@Returns: + + @@ -378,6 +598,25 @@ NMDevice @Returns: + + + + + +@device: +@Returns: + + + + + + + +@devices: +@num_devices: +@Returns: + + @@ -429,3 +668,12 @@ NMDevice @Returns: + + + + + +@device: +@Returns: + + diff --git a/docs/libnm-glib/tmpl/nm-dhcp4-config.sgml b/docs/libnm-glib/tmpl/nm-dhcp4-config.sgml index 4f3d8602..35a6e306 100644 --- a/docs/libnm-glib/tmpl/nm-dhcp4-config.sgml +++ b/docs/libnm-glib/tmpl/nm-dhcp4-config.sgml @@ -22,6 +22,30 @@ NMDHCP4Config + + + + + + + + + + + + + + + + +@parent: +@_reserved1: +@_reserved2: +@_reserved3: +@_reserved4: +@_reserved5: +@_reserved6: + diff --git a/docs/libnm-glib/tmpl/nm-dhcp6-config.sgml b/docs/libnm-glib/tmpl/nm-dhcp6-config.sgml index 7679b7d9..3e00467c 100644 --- a/docs/libnm-glib/tmpl/nm-dhcp6-config.sgml +++ b/docs/libnm-glib/tmpl/nm-dhcp6-config.sgml @@ -22,6 +22,30 @@ NMDHCP6Config + + + + + + + + + + + + + + + + +@parent: +@_reserved1: +@_reserved2: +@_reserved3: +@_reserved4: +@_reserved5: +@_reserved6: + diff --git a/docs/libnm-glib/tmpl/nm-ip4-config.sgml b/docs/libnm-glib/tmpl/nm-ip4-config.sgml index 996b3178..499cf35f 100644 --- a/docs/libnm-glib/tmpl/nm-ip4-config.sgml +++ b/docs/libnm-glib/tmpl/nm-ip4-config.sgml @@ -22,6 +22,67 @@ NMIP4Config + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +@parent: +@_reserved1: +@_reserved2: +@_reserved3: +@_reserved4: +@_reserved5: +@_reserved6: + + + + + + + + @@ -29,6 +90,13 @@ NMIP4Config + + + + + + + @@ -43,7 +111,7 @@ NMIP4Config - + @@ -67,6 +135,15 @@ NMIP4Config @Returns: + + + + + +@config: +@Returns: + + @@ -76,6 +153,15 @@ NMIP4Config @Returns: + + + + + +@config: +@Returns: + + @@ -94,7 +180,7 @@ NMIP4Config @Returns: - + diff --git a/docs/libnm-glib/tmpl/nm-ip6-config.sgml b/docs/libnm-glib/tmpl/nm-ip6-config.sgml index c65bd18d..12fe2b1d 100644 --- a/docs/libnm-glib/tmpl/nm-ip6-config.sgml +++ b/docs/libnm-glib/tmpl/nm-ip6-config.sgml @@ -22,6 +22,62 @@ NMIP6Config + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +@parent: +@_reserved1: +@_reserved2: +@_reserved3: +@_reserved4: +@_reserved5: +@_reserved6: + + + + + + + + @@ -29,6 +85,13 @@ NMIP6Config + + + + + + + @@ -43,7 +106,7 @@ NMIP6Config - + @@ -60,6 +123,15 @@ NMIP6Config @Returns: + + + + + +@config: +@Returns: + + @@ -69,6 +141,34 @@ NMIP6Config @Returns: + + + + + +@config: +@Returns: + + + + + + + +@config: +@Returns: + + + + + + + +@config: +@idx: +@Returns: + + @@ -87,7 +187,7 @@ NMIP6Config @Returns: - + diff --git a/docs/libnm-glib/tmpl/nm-object.sgml b/docs/libnm-glib/tmpl/nm-object.sgml index 7d99e2c0..bb17ec37 100644 --- a/docs/libnm-glib/tmpl/nm-object.sgml +++ b/docs/libnm-glib/tmpl/nm-object.sgml @@ -60,6 +60,45 @@ NMObject + + + + + + + + + + + +@nmobject: the object which received the signal. +@arg1: +@arg2: + + + + + + + + + + + + + + + + +@parent: +@object_creation_failed: +@_reserved1: +@_reserved2: +@_reserved3: +@_reserved4: +@_reserved5: +@_reserved6: + diff --git a/docs/libnm-glib/tmpl/nm-remote-connection.sgml b/docs/libnm-glib/tmpl/nm-remote-connection.sgml index c0017833..baaccae4 100644 --- a/docs/libnm-glib/tmpl/nm-remote-connection.sgml +++ b/docs/libnm-glib/tmpl/nm-remote-connection.sgml @@ -22,6 +22,37 @@ NMRemoteConnection + + + + + +@NM_REMOTE_CONNECTION_ERROR_UNKNOWN: +@NM_REMOTE_CONNECTION_ERROR_DISCONNECTED: + + + + + + + + + + + + + +@void: +@Returns: + + + + + + + + + @@ -36,17 +67,70 @@ NMRemoteConnection - + -@connection: -@error: -@user_data: + + + + + +@nmremoteconnection: the object which received the signal. + + + + + + +@nmremoteconnection: the object which received the signal. + + + + + + +@nmremoteconnection: the object which received the signal. +@arg1: + + + + + + + + + + - + + + + + + + + + + + + + + + +@parent_class: +@updated: +@removed: +@_reserved1: +@_reserved2: +@_reserved3: +@_reserved4: +@_reserved5: +@_reserved6: + + @@ -56,6 +140,18 @@ NMRemoteConnection @user_data: + + + + + + + + + + + + @@ -87,6 +183,26 @@ NMRemoteConnection @user_data: + + + + + +@connection: +@callback: +@user_data: + + + + + + + +@connection: +@callback: +@user_data: + + @@ -108,3 +224,12 @@ NMRemoteConnection @user_data: + + + + + +@connection: +@Returns: + + diff --git a/docs/libnm-glib/tmpl/nm-remote-settings.sgml b/docs/libnm-glib/tmpl/nm-remote-settings.sgml index 2f0ff5c8..5b129a83 100644 --- a/docs/libnm-glib/tmpl/nm-remote-settings.sgml +++ b/docs/libnm-glib/tmpl/nm-remote-settings.sgml @@ -30,6 +30,7 @@ NMRemoteSettings @NM_REMOTE_SETTINGS_ERROR_UNKNOWN: @NM_REMOTE_SETTINGS_ERROR_CONNECTION_REMOVED: @NM_REMOTE_SETTINGS_ERROR_CONNECTION_UNAVAILABLE: +@NM_REMOTE_SETTINGS_ERROR_SERVICE_UNAVAILABLE: @@ -100,6 +101,17 @@ NMRemoteSettings @user_data: + + + + + +@settings: +@failures: +@error: +@user_data: + + @@ -110,6 +122,62 @@ NMRemoteSettings @user_data: + + + + + + + + + + + +@nmremotesettings: the object which received the signal. + + + + + + +@nmremotesettings: the object which received the signal. +@arg1: + + + + + + + + + + + + + + + + + + + + + + + + + + +@parent: +@new_connection: +@connections_read: +@_reserved1: +@_reserved2: +@_reserved3: +@_reserved4: +@_reserved5: +@_reserved6: + @@ -149,6 +217,16 @@ NMRemoteSettings @Returns: + + + + + +@settings: +@id: +@Returns: + + @@ -181,6 +259,40 @@ NMRemoteSettings @Returns: + + + + + +@settings: +@connection: +@callback: +@user_data: +@Returns: + + + + + + + +@settings: +@filenames: +@failures: +@error: +@Returns: + + + + + + + +@settings: +@error: +@Returns: + + diff --git a/docs/libnm-glib/tmpl/nm-secret-agent.sgml b/docs/libnm-glib/tmpl/nm-secret-agent.sgml index eb37ab5c..a6f592c3 100644 --- a/docs/libnm-glib/tmpl/nm-secret-agent.sgml +++ b/docs/libnm-glib/tmpl/nm-secret-agent.sgml @@ -50,6 +50,15 @@ NMSecretAgent @NM_SECRET_AGENT_ERROR_INTERNAL_ERROR: @NM_SECRET_AGENT_ERROR_NO_SECRETS: + + + + + +@NM_SECRET_AGENT_CAPABILITY_NONE: +@NM_SECRET_AGENT_CAPABILITY_VPN_HINTS: +@NM_SECRET_AGENT_CAPABILITY_LAST: + @@ -81,6 +90,13 @@ NMSecretAgent + + + + + + + @@ -88,6 +104,40 @@ NMSecretAgent + + + + + + + + + + + +@nmsecretagent: the object which received the signal. +@arg1: + + + + + + + + + + + + + + + + + + + + + @@ -122,6 +172,24 @@ NMSecretAgent @user_data: + + + + + +@parent: +@get_secrets: +@cancel_get_secrets: +@save_secrets: +@delete_secrets: +@registration_result: +@_reserved1: +@_reserved2: +@_reserved3: +@_reserved4: +@_reserved5: +@_reserved6: + diff --git a/docs/libnm-glib/tmpl/nm-vpn-connection.sgml b/docs/libnm-glib/tmpl/nm-vpn-connection.sgml index 39d5ecc1..c20f145d 100644 --- a/docs/libnm-glib/tmpl/nm-vpn-connection.sgml +++ b/docs/libnm-glib/tmpl/nm-vpn-connection.sgml @@ -36,6 +36,45 @@ NMVPNConnection + + + + + + + + + + + +@nmvpnconnection: the object which received the signal. +@arg1: +@arg2: + + + + + + + + + + + + + + + + +@parent: +@vpn_state_changed: +@_reserved1: +@_reserved2: +@_reserved3: +@_reserved4: +@_reserved5: +@_reserved6: + diff --git a/docs/libnm-glib/tmpl/nm-vpn-plugin-ui-interface.sgml b/docs/libnm-glib/tmpl/nm-vpn-plugin-ui-interface.sgml index 4aae6d51..9f33e6e3 100644 --- a/docs/libnm-glib/tmpl/nm-vpn-plugin-ui-interface.sgml +++ b/docs/libnm-glib/tmpl/nm-vpn-plugin-ui-interface.sgml @@ -1,5 +1,5 @@ -NMVpnPluginUiWidget +NMVpnPluginUi @@ -76,10 +76,30 @@ NMVpnPluginUiWidget +@NM_VPN_PLUGIN_UI_INTERFACE_PROP_FIRST: @NM_VPN_PLUGIN_UI_INTERFACE_PROP_NAME: @NM_VPN_PLUGIN_UI_INTERFACE_PROP_DESC: @NM_VPN_PLUGIN_UI_INTERFACE_PROP_SERVICE: + + + + + +@g_iface: +@ui_factory: +@get_capabilities: +@import_from_file: +@export_to_file: +@get_suggested_name: +@delete_connection: +@_reserved1: +@_reserved2: +@_reserved3: +@_reserved4: +@_reserved5: +@_reserved6: + @@ -144,6 +164,17 @@ NMVpnPluginUiWidget @Returns: + + + + + +@g_iface: +@get_widget: +@update_connection: +@save_secrets: +@changed: + diff --git a/docs/libnm-glib/tmpl/nm-vpn-plugin.sgml b/docs/libnm-glib/tmpl/nm-vpn-plugin.sgml index 2c0fd8ee..46251482 100644 --- a/docs/libnm-glib/tmpl/nm-vpn-plugin.sgml +++ b/docs/libnm-glib/tmpl/nm-vpn-plugin.sgml @@ -50,6 +50,35 @@ NMVPNPlugin @NM_VPN_PLUGIN_ERROR_BAD_ARGUMENTS: @NM_VPN_PLUGIN_ERROR_LAUNCH_FAILED: @NM_VPN_PLUGIN_ERROR_CONNECTION_INVALID: +@NM_VPN_PLUGIN_ERROR_INTERACTIVE_NOT_SUPPORTED: + + + + + + +@parent: + + + + + + +@parent: +@connect: +@need_secrets: +@disconnect: +@state_changed: +@ip4_config: +@login_banner: +@failure: +@quit: +@config: +@ip6_config: +@new_secrets: +@connect_interactive: +@_reserved1: +@_reserved2: @@ -87,6 +116,16 @@ NMVPNPlugin @state: + + + + + +@plugin: +@message: +@hints: + + diff --git a/docs/libnm-glib/tmpl/nm-wimax-nsp.sgml b/docs/libnm-glib/tmpl/nm-wimax-nsp.sgml index 8add56d4..f270a1d2 100644 --- a/docs/libnm-glib/tmpl/nm-wimax-nsp.sgml +++ b/docs/libnm-glib/tmpl/nm-wimax-nsp.sgml @@ -53,6 +53,40 @@ NMWimaxNsp @NM_WIMAX_NSP_NETWORK_TYPE_PARTNER: @NM_WIMAX_NSP_NETWORK_TYPE_ROAMING_PARTNER: + + + + + + + + + + + + + + + + + + + + + + + + + + +@parent: +@_reserved1: +@_reserved2: +@_reserved3: +@_reserved4: +@_reserved5: +@_reserved6: + diff --git a/docs/libnm-glib/version.xml b/docs/libnm-glib/version.xml index dd62f24f..82e28fcb 100644 --- a/docs/libnm-glib/version.xml +++ b/docs/libnm-glib/version.xml @@ -1 +1 @@ -0.9.8.10 +0.9.10.0 -- cgit 1.3.0-6-gf8a5