From f408e27bccfacf347605a8d98649975a68f38a17 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Tue, 5 May 2015 17:48:57 +0200 Subject: Imported Upstream version 1.0.2 --- docs/libnm-glib/Makefile.in | 81 +- docs/libnm-glib/html/NMAccessPoint.html | 1152 ++++--- docs/libnm-glib/html/NMActiveConnection.html | 1474 +++++---- docs/libnm-glib/html/NMClient.html | 3320 +++++++++++--------- docs/libnm-glib/html/NMDHCP4Config.html | 309 +- docs/libnm-glib/html/NMDHCP6Config.html | 309 +- docs/libnm-glib/html/NMDevice.html | 3094 ++++++++++-------- docs/libnm-glib/html/NMDeviceAdsl.html | 340 +- docs/libnm-glib/html/NMDeviceBond.html | 528 ++-- docs/libnm-glib/html/NMDeviceBridge.html | 534 ++-- docs/libnm-glib/html/NMDeviceBt.html | 539 ++-- docs/libnm-glib/html/NMDeviceEthernet.html | 618 ++-- docs/libnm-glib/html/NMDeviceGeneric.html | 387 +-- docs/libnm-glib/html/NMDeviceInfiniband.html | 451 +-- docs/libnm-glib/html/NMDeviceModem.html | 393 +-- docs/libnm-glib/html/NMDeviceOlpcMesh.html | 510 +-- docs/libnm-glib/html/NMDeviceTeam.html | 532 ++-- docs/libnm-glib/html/NMDeviceVlan.html | 614 ++-- docs/libnm-glib/html/NMDeviceWifi.html | 1117 ++++--- docs/libnm-glib/html/NMDeviceWimax.html | 1110 ++++--- docs/libnm-glib/html/NMIP4Config.html | 762 +++-- docs/libnm-glib/html/NMIP6Config.html | 784 +++-- docs/libnm-glib/html/NMObject.html | 444 ++- docs/libnm-glib/html/NMRemoteConnection.html | 982 +++--- docs/libnm-glib/html/NMRemoteSettings.html | 1456 +++++---- docs/libnm-glib/html/NMSecretAgent.html | 1237 ++++---- docs/libnm-glib/html/NMVPNConnection.html | 396 +-- docs/libnm-glib/html/NMWimaxNsp.html | 593 ++-- docs/libnm-glib/html/annotation-glossary.html | 49 +- docs/libnm-glib/html/api-index-full.html | 1165 +++---- docs/libnm-glib/html/ch02.html | 20 +- docs/libnm-glib/html/home.png | Bin 654 -> 256 bytes docs/libnm-glib/html/index.html | 10 +- docs/libnm-glib/html/index.sgml | 857 +++-- docs/libnm-glib/html/left-insensitive.png | Bin 0 -> 395 bytes docs/libnm-glib/html/left.png | Bin 459 -> 262 bytes docs/libnm-glib/html/libnm-glib-NMVPNPlugin.html | 529 ++-- docs/libnm-glib/html/libnm-glib-NMVpnPluginUi.html | 397 --- .../html/libnm-glib-NMVpnPluginUiWidget.html | 447 +++ docs/libnm-glib/html/libnm-glib-nm-types.html | 41 +- .../html/libnm-glib-nm-vpn-plugin-utils.html | 191 +- docs/libnm-glib/html/libnm-glib.devhelp2 | 1061 +++---- docs/libnm-glib/html/object-tree.html | 76 +- docs/libnm-glib/html/ref-overview.html | 18 +- docs/libnm-glib/html/right-insensitive.png | Bin 0 -> 373 bytes docs/libnm-glib/html/right.png | Bin 472 -> 261 bytes docs/libnm-glib/html/style.css | 418 ++- docs/libnm-glib/html/up-insensitive.png | Bin 0 -> 374 bytes docs/libnm-glib/html/up.png | Bin 406 -> 260 bytes docs/libnm-glib/libnm-glib-sections.txt | 117 +- docs/libnm-glib/tmpl/nm-access-point.sgml | 69 - docs/libnm-glib/tmpl/nm-active-connection.sgml | 94 - docs/libnm-glib/tmpl/nm-client.sgml | 127 - 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 | 29 - 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 | 34 - docs/libnm-glib/tmpl/nm-device-vlan.sgml | 39 - docs/libnm-glib/tmpl/nm-device-wifi.sgml | 72 - docs/libnm-glib/tmpl/nm-device-wimax.sgml | 71 - docs/libnm-glib/tmpl/nm-device.sgml | 146 - 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 | 54 - docs/libnm-glib/tmpl/nm-ip6-config.sgml | 49 - docs/libnm-glib/tmpl/nm-object.sgml | 39 - docs/libnm-glib/tmpl/nm-remote-connection.sgml | 63 - docs/libnm-glib/tmpl/nm-remote-settings.sgml | 56 - docs/libnm-glib/tmpl/nm-secret-agent.sgml | 52 - docs/libnm-glib/tmpl/nm-vpn-connection.sgml | 39 - .../tmpl/nm-vpn-plugin-ui-interface.sgml | 32 +- docs/libnm-glib/tmpl/nm-vpn-plugin.sgml | 28 - docs/libnm-glib/tmpl/nm-wimax-nsp.sgml | 34 - docs/libnm-glib/version.xml | 2 +- 80 files changed, 15816 insertions(+), 15080 deletions(-) create mode 100644 docs/libnm-glib/html/left-insensitive.png delete mode 100644 docs/libnm-glib/html/libnm-glib-NMVpnPluginUi.html create mode 100644 docs/libnm-glib/html/libnm-glib-NMVpnPluginUiWidget.html create mode 100644 docs/libnm-glib/html/right-insensitive.png create mode 100644 docs/libnm-glib/html/up-insensitive.png (limited to 'docs/libnm-glib') diff --git a/docs/libnm-glib/Makefile.in b/docs/libnm-glib/Makefile.in index e2f71216..796e69f2 100644 --- a/docs/libnm-glib/Makefile.in +++ b/docs/libnm-glib/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.13.4 from Makefile.am. +# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2013 Free Software Foundation, Inc. +# Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -20,7 +20,17 @@ # Everything below here is generic # #################################### VPATH = @srcdir@ -am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ @@ -83,8 +93,6 @@ PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ -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/ax_lib_readline.m4 \ @@ -102,6 +110,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ax_lib_readline.m4 \ $(top_srcdir)/m4/vapigen.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = version.xml @@ -126,6 +135,8 @@ am__can_run_installinfo = \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/version.xml.in \ + $(top_srcdir)/gtk-doc.make DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ @@ -152,7 +163,6 @@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ 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@ @@ -187,6 +197,7 @@ 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@ @@ -493,12 +504,12 @@ REPORT_FILES = \ $(DOC_MODULE)-unused.txt CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS) \ - 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 + 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 #### setup #### GTK_DOC_V_SETUP = $(GTK_DOC_V_SETUP_$(V)) @@ -550,7 +561,6 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/libnm-glib/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu docs/libnm-glib/Makefile -.PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ @@ -559,7 +569,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; -$(top_srcdir)/gtk-doc.make: +$(top_srcdir)/gtk-doc.make $(am__empty): $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh @@ -619,6 +629,7 @@ 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 @@ -735,9 +746,18 @@ uninstall-am: uninstall-local mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \ uninstall-am uninstall-local +.PRECIOUS: Makefile -@ENABLE_GTK_DOC_TRUE@all-local: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP) -@ENABLE_GTK_DOC_FALSE@all-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 docs: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP) @@ -748,17 +768,19 @@ 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 -pu $(abs_srcdir)/$$file $(abs_builddir)/$$file || true; \ + cp -pf $(abs_srcdir)/$$file $(abs_builddir)/$$file || true; \ done; \ fi; \ test -d $(abs_srcdir)/tmpl && \ - { cp -rp $(abs_srcdir)/tmpl $(abs_builddir)/; \ + { cp -pR $(abs_srcdir)/tmpl $(abs_builddir)/; \ chmod -R u+w $(abs_builddir)/tmpl; } \ fi $(AM_V_at)touch setup-build.stamp -scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB) +scan-build.stamp: setup-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" ; \ @@ -788,7 +810,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 -rp $(abs_builddir)/tmpl $(abs_srcdir)/; \ + cp -pR $(abs_builddir)/tmpl $(abs_srcdir)/; \ fi \ fi $(AM_V_at)touch tmpl-build.stamp @@ -800,7 +822,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 ; \ @@ -862,6 +884,9 @@ 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 \ @@ -907,12 +932,14 @@ uninstall-local: # # Require gtk-doc when making dist # -@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 +@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 @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 97ae9c96..e0e5660a 100644 --- a/docs/libnm-glib/html/NMAccessPoint.html +++ b/docs/libnm-glib/html/NMAccessPoint.html @@ -2,36 +2,28 @@ -NMAccessPoint +libnm-glib Reference Manual: NMAccessPoint - + - - - - - - - - - - + + + + + + +
@@ -39,649 +31,823 @@

NMAccessPoint

NMAccessPoint

- +
- -
-

Object Hierarchy

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

Implemented Interfaces

-

-NMAccessPoint implements - GInitable and GAsyncInitable.

-
-
-

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
-
-
-

Description

-

-

-
-
-

Details

-
-

NM_ACCESS_POINT_FLAGS

-
#define NM_ACCESS_POINT_FLAGS       "flags"
-
-

-

-
-
-
-

NM_ACCESS_POINT_WPA_FLAGS

-
#define NM_ACCESS_POINT_WPA_FLAGS   "wpa-flags"
-
-

-

-
-
-
-

NM_ACCESS_POINT_RSN_FLAGS

-
#define NM_ACCESS_POINT_RSN_FLAGS   "rsn-flags"
-
-

-

-
-
-
-

NM_ACCESS_POINT_SSID

-
#define NM_ACCESS_POINT_SSID        "ssid"
-
-

-

-
-
-
-

NM_ACCESS_POINT_BSSID

-
#define NM_ACCESS_POINT_BSSID       "bssid"
-
-

-

-
-
-
-

NM_ACCESS_POINT_FREQUENCY

-
#define NM_ACCESS_POINT_FREQUENCY   "frequency"
-
-

-

-
-
-
-

NM_ACCESS_POINT_MODE

-
#define NM_ACCESS_POINT_MODE        "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_HW_ADDRESS

-
#define NM_ACCESS_POINT_HW_ADDRESS  "hw-address"
-
-

-

-
-
-
-

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_new ()

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

-Creates a new NMAccessPoint. -

-
+

Functions

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

connection :

the DBusGConnection + +GObject * + +nm_access_point_new ()

path :

the DBusobject path of the access point +NM80211ApFlags + +nm_access_point_get_flags () +
+NM80211ApSecurityFlags + +nm_access_point_get_wpa_flags () +

Returns :

a new access point. [transfer full] + +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 ()
-
-
-

nm_access_point_get_flags ()

-
NM80211ApFlags      nm_access_point_get_flags           (NMAccessPoint *ap);
-

-Gets the flags of the access point. -

-
+
+

Properties

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

ap :

a NMAccessPoint - +gchar *bssidRead
guintflagsRead
guintfrequencyRead
+gchar *hw-addressRead
guintmax-bitrateRead

Returns :

the flagsguintmodeRead
guintrsn-flagsRead
+NMSsid *ssidRead
gucharstrengthRead
guintwpa-flagsRead
-
-
-

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. -

-
+
+

Types and Values

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

ap :

a NMAccessPoint -#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

Returns :

the WPA flags#defineNM_ACCESS_POINT_MAX_BITRATE
#defineNM_ACCESS_POINT_STRENGTH
#defineNM_ACCESS_POINT_HW_ADDRESS
-
-
-

nm_access_point_get_rsn_flags ()

-
NM80211ApSecurityFlags nm_access_point_get_rsn_flags    (NMAccessPoint *ap);
+
+

Object Hierarchy

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

Description

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

-
+ +
+

Functions

+
+

nm_access_point_new ()

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

Creates a new NMAccessPoint.

+
+

Parameters

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

ap :

a NMAccessPoint -

connection

the DBusGConnection

 

Returns :

the RSN flags

path

the DBusobject path of the access point

 
+
+

Returns

+

a new access point.

+

[transfer full]

+
+

-

nm_access_point_get_ssid ()

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

-Gets the SSID of the access point. -

-
+

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 GByteArray containing the SSID. This is the internal copy used by the -access point, and must not be modified.

ap

a NMAccessPoint

 
+
+

Returns

+

the 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. -

-
+

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 BSSID of the access point. This is an internal string and must -not be modified or freed.

ap

a NMAccessPoint

 
+
+

Returns

+

the WPA flags

+

+
+

-

nm_access_point_get_frequency ()

-
guint32             nm_access_point_get_frequency       (NMAccessPoint *ap);
-

-Gets the frequency of the access point. -

-
+

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 frequency

ap

a NMAccessPoint

 
+
+

Returns

+

the RSN flags

+

+
+
-

nm_access_point_get_mode ()

-
NM80211Mode         nm_access_point_get_mode            (NMAccessPoint *ap);
-

-Gets the mode of the access point. -

-
+

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 mode

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_get_max_bitrate ()

-
guint32             nm_access_point_get_max_bitrate     (NMAccessPoint *ap);
-

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

-
+

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.

+
+

Parameters

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

ap :

a NMAccessPoint -

Returns :

the maximum bit rate (kbit/s)

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_get_strength ()

-
guint8              nm_access_point_get_strength        (NMAccessPoint *ap);
-

-Gets the current signal strength of the access point. -

-
+

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 signal strength

ap

a NMAccessPoint

 
+
+

Returns

+

the frequency

+

+
+
-

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 +

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_get_max_bitrate ()

+
guint32
+nm_access_point_get_max_bitrate (NMAccessPoint *ap);
+

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

+
+

Parameters

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

ap

a NMAccessPoint

 
+
+
+

Returns

+

the maximum bit rate (kbit/s)

+

+
+
+
+
+

nm_access_point_get_strength ()

+
guint8
+nm_access_point_get_strength (NMAccessPoint *ap);
+

Gets the current signal strength of the access point.

+
+

Parameters

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

ap

a NMAccessPoint

 
+
+
+

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. -

-
+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

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

ap :

an NMAccessPoint to filter connections for

ap

an NMAccessPoint to filter connections for

 

connections :

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

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 NMConnection] -

connections

a list of +NMConnection objects to filter.

[element-type NMConnection]
+
+

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 NMConnection]

+
+
-

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 +

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 +'s SSID, (if given) BSSID, and other attributes like security settings, +channel, band, etc.

+
+

Parameters

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

ap :

an NMAccessPoint to validate connection against

connection :

an NMConnection to validate against ap -

ap

an NMAccessPoint to validate connection +against

 

Returns :

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

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_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.

+

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. -

-
+

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

+
+

Parameters

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

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.

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

+

Types and Values

-

The "bssid" property

-
  "bssid"                    gchar*                : Read
+

NM_ACCESS_POINT_FLAGS

+
#define NM_ACCESS_POINT_FLAGS       "flags"
+

-The BSSID of the access point.

-

Default value: NULL


-

The "flags" property

-
  "flags"                    guint                 : Read
+

NM_ACCESS_POINT_WPA_FLAGS

+
#define NM_ACCESS_POINT_WPA_FLAGS   "wpa-flags"
+

-The flags of the access point.

-

Allowed values: <= 1

-

Default value: 0


-

The "frequency" property

-
  "frequency"                guint                 : Read
+

NM_ACCESS_POINT_RSN_FLAGS

+
#define NM_ACCESS_POINT_RSN_FLAGS   "rsn-flags"
+

-The frequency of the access point.

-

Allowed values: <= 10000

-

Default value: 0


-

The "hw-address" property

-
  "hw-address"               gchar*                : Read
+

NM_ACCESS_POINT_SSID

+
#define NM_ACCESS_POINT_SSID        "ssid"
+

-The hardware address of the access point.

-

Default value: NULL


-

The "max-bitrate" property

-
  "max-bitrate"              guint                 : Read
+

NM_ACCESS_POINT_BSSID

+
#define NM_ACCESS_POINT_BSSID       "bssid"
+

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

-

Default value: 0


-

The "mode" property

-
  "mode"                     guint                 : Read
+

NM_ACCESS_POINT_FREQUENCY

+
#define NM_ACCESS_POINT_FREQUENCY   "frequency"
+

-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                 : Read
+

NM_ACCESS_POINT_MODE

+
#define NM_ACCESS_POINT_MODE        "mode"
+

-The RSN flags of the access point.

-

Default value: 0


-

The "ssid" property

-
  "ssid"                     NMSsid*               : Read
+

NM_ACCESS_POINT_MAX_BITRATE

+
#define NM_ACCESS_POINT_MAX_BITRATE "max-bitrate"
+

-The SSID of the access point.


-

The "strength" property

-
  "strength"                 guchar                : Read
+

NM_ACCESS_POINT_STRENGTH

+
#define NM_ACCESS_POINT_STRENGTH    "strength"
+

-The current signal strength of the access point.

-

Default value: 0


-

The "wpa-flags" property

-
  "wpa-flags"                guint                 : Read
+

NM_ACCESS_POINT_HW_ADDRESS

+
#define NM_ACCESS_POINT_HW_ADDRESS  "hw-address"
+

-The WPA flags of the access point.

+
+
+
+

Property Details

+
+

The “bssid” property

+
  “bssid”                    gchar *
+

+

Flags: Read

+

Default value: NULL

+
+
+
+

The “flags” property

+
  “flags”                    guint
+

+

Flags: Read

+

Allowed values: <= 1

+

Default value: 0

+
+
+
+

The “frequency” property

+
  “frequency”                guint
+

+

Flags: Read

+

Allowed values: <= 10000

+

Default value: 0

+
+
+
+

The “hw-address” property

+
  “hw-address”               gchar *
+

+

Flags: Read

+

Default value: NULL

+
+
+
+

The “max-bitrate” property

+
  “max-bitrate”              guint
+

+

Flags: Read

+

Default value: 0

+
+
+
+

The “mode” property

+
  “mode”                     guint
+

+

Flags: Read

+

Allowed values: [1,2]

+

Default value: 2

+
+
+
+

The “rsn-flags” property

+
  “rsn-flags”                guint
+

+

Flags: Read

+

Default value: 0

+
+
+
+

The “ssid” property

+
  “ssid”                     NMSsid *
+

+

Flags: Read

+
+
+
+

The “strength” property

+
  “strength”                 guchar
+

+

Flags: Read

+

Default value: 0

+
+
+
+

The “wpa-flags” property

+
  “wpa-flags”                guint
+

+

Flags: Read

Default value: 0

+ Generated by GTK-Doc V1.21 \ No newline at end of file diff --git a/docs/libnm-glib/html/NMActiveConnection.html b/docs/libnm-glib/html/NMActiveConnection.html index 961428e2..d5f1b381 100644 --- a/docs/libnm-glib/html/NMActiveConnection.html +++ b/docs/libnm-glib/html/NMActiveConnection.html @@ -2,36 +2,28 @@ -NMActiveConnection +libnm-glib Reference Manual: NMActiveConnection - + - - - - - - - - - - + + + + + + +
@@ -39,83 +31,315 @@

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

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+GObject * + +nm_active_connection_new () +
const char * + +nm_active_connection_get_connection () +
const char * + +nm_active_connection_get_id () +
const char * + +nm_active_connection_get_uuid () +
const char * + +nm_active_connection_get_connection_type () +
const char * + +nm_active_connection_get_specific_object () +
const GPtrArray * + +nm_active_connection_get_devices () +
+NMActiveConnectionState + +nm_active_connection_get_state () +
const char * + +nm_active_connection_get_master () +
+gboolean + +nm_active_connection_get_default () +
+NMIP4Config * + +nm_active_connection_get_ip4_config () +
+NMDHCP4Config * + +nm_active_connection_get_dhcp4_config () +
+gboolean + +nm_active_connection_get_default6 () +
+NMIP6Config * + +nm_active_connection_get_ip6_config () +
+NMDHCP6Config * + +nm_active_connection_get_dhcp6_config () +
+gboolean + +nm_active_connection_get_vpn () +
-

Object Hierarchy

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

Properties

+
+++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+gchar *connectionRead
gbooleandefaultRead
gbooleandefault6Read
+NMObjectArray *devicesRead
+NMDHCP4Config *dhcp4-configRead
+NMDHCP6Config *dhcp6-configRead
+gchar *idRead
+NMIP4Config *ip4-configRead
+NMIP6Config *ip6-configRead
+gchar *masterRead
+gchar *specific-objectRead
guintstateRead
+gchar *typeRead
+gchar *uuidRead
gbooleanvpnRead
-

Implemented Interfaces

-

-NMActiveConnection implements - GInitable and GAsyncInitable.

+

Types and Values

+
-

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
+

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ╰── NMActiveConnection
+            ╰── NMVPNConnection
 
@@ -124,733 +348,721 @@ NMActiveConnection implements

-

Details

+

Functions

-

NM_ACTIVE_CONNECTION_CONNECTION

-
#define NM_ACTIVE_CONNECTION_CONNECTION          "connection"
-
-

-

+

nm_active_connection_new ()

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

Creates a new NMActiveConnection.

+
+

Parameters

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

connection

the DBusGConnection

 

path

the DBus object path of the device

 
-
-
-

NM_ACTIVE_CONNECTION_ID

-
#define NM_ACTIVE_CONNECTION_ID                  "id"
-
-

-

+
+

Returns

+

a new active connection.

+

[transfer full]

-
-
-

NM_ACTIVE_CONNECTION_UUID

-
#define NM_ACTIVE_CONNECTION_UUID                "uuid"
-
-

-


-

NM_ACTIVE_CONNECTION_TYPE

-
#define NM_ACTIVE_CONNECTION_TYPE                "type"
-
-

-

+

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.

+
+

Parameters

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

connection

a NMActiveConnection

 
+
+
+

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_SPECIFIC_OBJECT

-
#define NM_ACTIVE_CONNECTION_SPECIFIC_OBJECT     "specific-object"
-
-

-

+

nm_active_connection_get_id ()

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

Gets the NMConnection's ID.

+
+

Parameters

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

connection

a NMActiveConnection

 
+
+
+

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_DEVICES

-
#define NM_ACTIVE_CONNECTION_DEVICES             "devices"
-
-

-

+

nm_active_connection_get_uuid ()

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

Gets the NMConnection's UUID.

+
+

Parameters

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

connection

a NMActiveConnection

 
+
+
+

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_STATE

-
#define NM_ACTIVE_CONNECTION_STATE               "state"
-
-

-

+

nm_active_connection_get_connection_type ()

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

Gets the NMConnection's type.

+
+

Parameters

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

connection

a NMActiveConnection

 
+
+
+

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


-

NM_ACTIVE_CONNECTION_DEFAULT

-
#define NM_ACTIVE_CONNECTION_DEFAULT             "default"
-
-

-

+

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

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

connection

a NMActiveConnection

 
+
+
+

Returns

+

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

+

+

-

NM_ACTIVE_CONNECTION_IP4_CONFIG

-
#define NM_ACTIVE_CONNECTION_IP4_CONFIG          "ip4-config"
-
-

-

+

nm_active_connection_get_devices ()

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

Gets the NMDevices used for the active connections.

+
+

Parameters

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

connection

a NMActiveConnection

 
+
+
+

Returns

+

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

+

[element-type NMDevice]

+

-

NM_ACTIVE_CONNECTION_DHCP4_CONFIG

-
#define NM_ACTIVE_CONNECTION_DHCP4_CONFIG        "dhcp4-config"
-
-

-

+

nm_active_connection_get_state ()

+
NMActiveConnectionState
+nm_active_connection_get_state (NMActiveConnection *connection);
+

Gets the active connection's state.

+
+

Parameters

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

connection

a NMActiveConnection

 
+
+
+

Returns

+

the state

+

+

-

NM_ACTIVE_CONNECTION_DEFAULT6

-
#define NM_ACTIVE_CONNECTION_DEFAULT6            "default6"
-
-

-

+

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

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

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.

+

+

-

NM_ACTIVE_CONNECTION_IP6_CONFIG

-
#define NM_ACTIVE_CONNECTION_IP6_CONFIG          "ip6-config"
-
-

-

+

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

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

connection

a NMActiveConnection

 
+
+
+

Returns

+

TRUE if the active connection is the default IPv4 connection

+

+

-

NM_ACTIVE_CONNECTION_DHCP6_CONFIG

-
#define NM_ACTIVE_CONNECTION_DHCP6_CONFIG        "dhcp6-config"
-
-

-

+

nm_active_connection_get_ip4_config ()

+
NMIP4Config *
+nm_active_connection_get_ip4_config (NMActiveConnection *connection);
+

Gets the current NMIP4Config associated with the NMActiveConnection.

+
+

Parameters

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

connection

an NMActiveConnection

 
+
+
+

Returns

+

the NMIP4Config, or NULL if the +connection is not in the NM_ACTIVE_CONNECTION_STATE_ACTIVATED +state.

+

[transfer none]

+
+

Since 0.9.10


-

NM_ACTIVE_CONNECTION_VPN

-
#define NM_ACTIVE_CONNECTION_VPN                 "vpn"
-
-

-

+

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.

+
+

Parameters

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

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]

+
+

Since 0.9.10


-

NM_ACTIVE_CONNECTION_MASTER

-
#define NM_ACTIVE_CONNECTION_MASTER              "master"
-
-

-

+

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

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

connection

a NMActiveConnection

 
+
+
+

Returns

+

TRUE if the active connection is the default IPv6 connection

+

+

-

NMActiveConnection

-
typedef struct _NMActiveConnection NMActiveConnection;
-

-

+

nm_active_connection_get_ip6_config ()

+
NMIP6Config *
+nm_active_connection_get_ip6_config (NMActiveConnection *connection);
+

Gets the current NMIP6Config associated with the NMActiveConnection.

+
+

Parameters

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

connection

an NMActiveConnection

 
+
+
+

Returns

+

the NMIP6Config, or NULL if the +connection is not in the NM_ACTIVE_CONNECTION_STATE_ACTIVATED +state.

+

[transfer none]

+
+

Since 0.9.10


-

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_get_dhcp6_config ()

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

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

+
+

Parameters

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

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]

+
+

Since 0.9.10


-

nm_active_connection_new ()

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

-Creates a new NMActiveConnection. -

-
+

nm_active_connection_get_vpn ()

+
gboolean
+nm_active_connection_get_vpn (NMActiveConnection *connection);
+

Whether the active connection is a VPN connection.

+
+

Parameters

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

connection :

the DBusGConnection -

path :

the DBus object path of the device

Returns :

a new active connection. [transfer full] -

connection

a NMActiveConnection

 
-
+
+

Returns

+

TRUE if the active connection is a VPN connection

+

+
+

Since 0.9.10

+
+
+
+

Types and Values

-

nm_active_connection_get_connection ()

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

NM_ACTIVE_CONNECTION_CONNECTION

+
#define NM_ACTIVE_CONNECTION_CONNECTION          "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.

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

connection :

a NMActiveConnection -

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);
+

NM_ACTIVE_CONNECTION_ID

+
#define NM_ACTIVE_CONNECTION_ID                  "id"
+

-Gets the NMConnection's ID.

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

connection :

a NMActiveConnection -

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);
+

NM_ACTIVE_CONNECTION_UUID

+
#define NM_ACTIVE_CONNECTION_UUID                "uuid"
+

-Gets the NMConnection's UUID.

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

connection :

a NMActiveConnection -

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_connection_type ()

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

NM_ACTIVE_CONNECTION_TYPE

+
#define NM_ACTIVE_CONNECTION_TYPE                "type"
+

-Gets the NMConnection's type.

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

connection :

a NMActiveConnection -

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


-

nm_active_connection_get_specific_object ()

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

NM_ACTIVE_CONNECTION_SPECIFIC_OBJECT

+
#define NM_ACTIVE_CONNECTION_SPECIFIC_OBJECT     "specific-object"
+

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

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

connection :

a NMActiveConnection -

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);
+

NM_ACTIVE_CONNECTION_DEVICES

+
#define NM_ACTIVE_CONNECTION_DEVICES             "devices"
+

-Gets the NMDevices used for the active connections.

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

connection :

a NMActiveConnection -

Returns :

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

-

nm_active_connection_get_state ()

-
NMActiveConnectionState nm_active_connection_get_state  (NMActiveConnection *connection);
+

NM_ACTIVE_CONNECTION_STATE

+
#define NM_ACTIVE_CONNECTION_STATE               "state"
+

-Gets the active connection's state.

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

connection :

a NMActiveConnection -

Returns :

the state

-

nm_active_connection_get_master ()

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

NM_ACTIVE_CONNECTION_DEFAULT

+
#define NM_ACTIVE_CONNECTION_DEFAULT             "default"
+

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

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

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.

-

nm_active_connection_get_default ()

-
gboolean            nm_active_connection_get_default    (NMActiveConnection *connection);
+

NM_ACTIVE_CONNECTION_IP4_CONFIG

+
#define NM_ACTIVE_CONNECTION_IP4_CONFIG          "ip4-config"
+

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

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

connection :

a NMActiveConnection -

Returns :

-TRUE if the active connection is the default IPv4 connection

-

nm_active_connection_get_ip4_config ()

-
NMIP4Config *       nm_active_connection_get_ip4_config (NMActiveConnection *connection);
+

NM_ACTIVE_CONNECTION_DHCP4_CONFIG

+
#define NM_ACTIVE_CONNECTION_DHCP4_CONFIG        "dhcp4-config"
+

-Gets the current NMIP4Config associated with the NMActiveConnection.

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

connection :

an NMActiveConnection -

Returns :

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

Since 0.9.10


-

nm_active_connection_get_dhcp4_config ()

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

NM_ACTIVE_CONNECTION_DEFAULT6

+
#define NM_ACTIVE_CONNECTION_DEFAULT6            "default6"
+

-Gets the current NMDHCP4Config (if any) associated with the -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] -
-

Since 0.9.10


-

nm_active_connection_get_default6 ()

-
gboolean            nm_active_connection_get_default6   (NMActiveConnection *connection);
+

NM_ACTIVE_CONNECTION_IP6_CONFIG

+
#define NM_ACTIVE_CONNECTION_IP6_CONFIG          "ip6-config"
+

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

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

connection :

a NMActiveConnection -

Returns :

-TRUE if the active connection is the default IPv6 connection

-

nm_active_connection_get_ip6_config ()

-
NMIP6Config *       nm_active_connection_get_ip6_config (NMActiveConnection *connection);
+

NM_ACTIVE_CONNECTION_DHCP6_CONFIG

+
#define NM_ACTIVE_CONNECTION_DHCP6_CONFIG        "dhcp6-config"
+

-Gets the current NMIP6Config associated with the NMActiveConnection.

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

connection :

an NMActiveConnection -

Returns :

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

Since 0.9.10


-

nm_active_connection_get_dhcp6_config ()

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

NM_ACTIVE_CONNECTION_VPN

+
#define NM_ACTIVE_CONNECTION_VPN                 "vpn"
+

-Gets the current NMDHCP6Config (if any) associated with the -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] -
-

Since 0.9.10


-

nm_active_connection_get_vpn ()

-
gboolean            nm_active_connection_get_vpn        (NMActiveConnection *connection);
+

NM_ACTIVE_CONNECTION_MASTER

+
#define NM_ACTIVE_CONNECTION_MASTER              "master"
+

-Whether the active connection is a VPN connection.

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

connection :

a NMActiveConnection -

Returns :

-TRUE if the active connection is a VPN connection
-

Since 0.9.10

Property Details

-

The "connection" property

-
  "connection"               gchar*                : Read
-

-The connection's path of the active connection. -

+

The “connection” property

+
  “connection”               gchar *
+

+

Flags: Read

Default value: NULL


-

The "default" property

-
  "default"                  gboolean              : Read
-

-Whether the active connection is the default IPv4 one. -

+

The “default” property

+
  “default”                  gboolean
+

+

Flags: Read

Default value: FALSE


-

The "default6" property

-
  "default6"                 gboolean              : Read
-

-Whether the active connection is the default IPv6 one. -

+

The “default6” property

+
  “default6”                 gboolean
+

+

Flags: Read

Default value: FALSE


-

The "devices" property

-
  "devices"                  NMObjectArray*        : Read
+

The “devices” property

+
  “devices”                  NMObjectArray *

+

Flags: Read


-

The "dhcp4-config" property

-
  "dhcp4-config"             NMDHCP4Config*        : Read
-

-The NMDHCP4Config of the connection. -

+

The “dhcp4-config” property

+
  “dhcp4-config”             NMDHCP4Config *
+

+

Flags: Read

Since 0.9.10


-

The "dhcp6-config" property

-
  "dhcp6-config"             NMDHCP6Config*        : Read
-

-The NMDHCP6Config of the connection. -

+

The “dhcp6-config” property

+
  “dhcp6-config”             NMDHCP6Config *
+

+

Flags: Read

Since 0.9.10


-

The "id" property

-
  "id"                       gchar*                : Read
-

-The active connection's ID -

+

The “id” property

+
  “id”                       gchar *
+

+

Flags: Read

Default value: NULL

Since 0.9.10


-

The "ip4-config" property

-
  "ip4-config"               NMIP4Config*          : Read
-

-The NMIP4Config of the connection. -

+

The “ip4-config” property

+
  “ip4-config”               NMIP4Config *
+

+

Flags: Read

Since 0.9.10


-

The "ip6-config" property

-
  "ip6-config"               NMIP6Config*          : Read
-

-The NMIP6Config of the connection. -

+

The “ip6-config” property

+
  “ip6-config”               NMIP6Config *
+

+

Flags: Read

Since 0.9.10


-

The "master" property

-
  "master"                   gchar*                : Read
-

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

+

The “master” property

+
  “master”                   gchar *
+

+

Flags: Read

Default value: NULL


-

The "specific-object" property

-
  "specific-object"          gchar*                : Read
-

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

+

The “specific-object” property

+
  “specific-object”          gchar *
+

+

Flags: Read

Default value: NULL


-

The "state" property

-
  "state"                    guint                 : Read
-

-The state of the active connection. -

+

The “state” property

+
  “state”                    guint
+

+

Flags: Read

Allowed values: <= 3

Default value: 0


-

The "type" property

-
  "type"                     gchar*                : Read
-

-The active connection's type -

+

The “type” property

+
  “type”                     gchar *
+

+

Flags: Read

Default value: NULL

Since 0.9.10


-

The "uuid" property

-
  "uuid"                     gchar*                : Read
-

-The active connection's UUID -

+

The “uuid” property

+
  “uuid”                     gchar *
+

+

Flags: Read

Default value: NULL


-

The "vpn" property

-
  "vpn"                      gboolean              : Read
-

-Whether the active connection is a VPN connection. -

+

The “vpn” property

+
  “vpn”                      gboolean
+

+

Flags: Read

Default value: FALSE

Since 0.9.10

@@ -858,6 +1070,6 @@ Whether the active connection is a VPN connection.
+ Generated by GTK-Doc V1.21
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMClient.html b/docs/libnm-glib/html/NMClient.html index b28d9ed5..23eca511 100644 --- a/docs/libnm-glib/html/NMClient.html +++ b/docs/libnm-glib/html/NMClient.html @@ -2,38 +2,29 @@ -NMClient +libnm-glib Reference Manual: NMClient - + - - - - - - - - - - + + + + + + +
@@ -41,160 +32,540 @@

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

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+GQuark + +nm_client_error_quark () +
+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_startup () +
+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
-
+

Properties

+
+++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+NMActiveConnection *activating-connectionRead
+NMObjectArray *active-connectionsRead
guintconnectivityRead
+NMObjectArray *devicesRead
gbooleanmanager-runningRead
gbooleannetworking-enabledRead / Write
+NMActiveConnection *primary-connectionRead
gbooleanstartupRead
guintstateRead
+gchar *versionRead
gbooleanwimax-enabledRead / Write
gbooleanwimax-hardware-enabledRead
gbooleanwireless-enabledRead / Write
gbooleanwireless-hardware-enabledRead
gbooleanwwan-enabledRead / Write
gbooleanwwan-hardware-enabledRead
-

Implemented Interfaces

-

-NMClient implements - GInitable and GAsyncInitable.

+

Signals

+
+++++ + + + + + + + + + + + + + + + + + +
voiddevice-addedRun First
voiddevice-removedRun First
voidpermission-changedRun First
-

Properties

-
-  "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

+
-

Signals

-
-  "device-added"                                   : Run First
-  "device-removed"                                 : Run First
-  "permission-changed"                             : Run First
+

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ╰── NMClient
 
@@ -203,1819 +574,1778 @@ NMClient implements

-

Details

+

Functions

-

NM_CLIENT_VERSION

-
#define NM_CLIENT_VERSION "version"
-
-

-

+

nm_client_error_quark ()

+
GQuark
+nm_client_error_quark (void);
+

Registers an error quark for NMClient if necessary.

+
+

Returns

+

the error quark used for NMClient errors.

+

-
-
-

NM_CLIENT_STATE

-
#define NM_CLIENT_STATE "state"
-
-

-

+

Since 0.9.10


-

NM_CLIENT_STARTUP

-
#define NM_CLIENT_STARTUP "startup"
-
-

-

+

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 or NULL on an error

+

+
+
+
+
+

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.

+
+

Parameters

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

cancellable

a GCancellable, or NULL

 

callback

callback to call when the client is created

 

user_data

data for callback +

 
-
-
-

NM_CLIENT_MANAGER_RUNNING

-
#define NM_CLIENT_MANAGER_RUNNING "manager-running"
-
-

-


-

NM_CLIENT_NETWORKING_ENABLED

-
#define NM_CLIENT_NETWORKING_ENABLED "networking-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

 
-
-
-

NM_CLIENT_WIRELESS_ENABLED

-
#define NM_CLIENT_WIRELESS_ENABLED "wireless-enabled"
-
-

-

+
+

Returns

+

a new NMClient, or NULL on error

+

-
-
-

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_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

 
-
-
-

NM_CLIENT_WWAN_HARDWARE_ENABLED

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

-

+
+

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 NMDevice]

-
-
-

NM_CLIENT_WIMAX_ENABLED

-
#define NM_CLIENT_WIMAX_ENABLED "wimax-enabled"
-
-

-


-

NM_CLIENT_WIMAX_HARDWARE_ENABLED

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

-

+

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

 
-
-
-

NM_CLIENT_ACTIVE_CONNECTIONS

-
#define NM_CLIENT_ACTIVE_CONNECTIONS "active-connections"
-
-

-

+
+

Returns

+

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

+

[transfer none]

-
-
-

NM_CLIENT_CONNECTIVITY

-
#define NM_CLIENT_CONNECTIVITY "connectivity"
-
-

-


-

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"
-
-

-


-

NM_CLIENT_DEVICES

-
#define NM_CLIENT_DEVICES "devices"
-
+

NMClientActivateFn ()

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


-

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. -

-
+

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.

+

Note that the callback is invoked when NetworkManager has started activating +the new connection, not when it finishes. You can used the returned +NMActiveConnection object (in particular, “state”) to +track the activation to its completion.

+
+

Parameters

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

NM_CLIENT_PERMISSION_NONE

unknown or no permission -

NM_CLIENT_PERMISSION_ENABLE_DISABLE_NETWORK

controls whether networking - can be globally enabled or disabled -

client

a NMClient

 

NM_CLIENT_PERMISSION_ENABLE_DISABLE_WIFI

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

connection

an NMConnection.

[allow-none]

NM_CLIENT_PERMISSION_ENABLE_DISABLE_WWAN

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

device

the NMDevice.

[allow-none]

NM_CLIENT_PERMISSION_ENABLE_DISABLE_WIMAX

controls whether WiMAX 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 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]

NM_CLIENT_PERMISSION_SLEEP_WAKE

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

callback

the function to call when the call is done.

[scope async][allow-none]

NM_CLIENT_PERMISSION_NETWORK_CONTROL

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

user_data

user data to pass to the callback function.

[closure]
+
+
+
+
+

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.

+

Note that the callback is invoked when NetworkManager has started activating +the new connection, not when it finishes. You can used the returned +NMActiveConnection object (in particular, “state”) to +track the activation to its completion.

+
+

Parameters

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

NM_CLIENT_PERMISSION_WIFI_SHARE_PROTECTED

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

client

a NMClient

 

NM_CLIENT_PERMISSION_WIFI_SHARE_OPEN

controls whether an open 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_SETTINGS_MODIFY_SYSTEM

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

device

the NMDevice

 

NM_CLIENT_PERMISSION_SETTINGS_MODIFY_OWN

controls whether connections - owned by the current user 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 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]

NM_CLIENT_PERMISSION_SETTINGS_MODIFY_HOSTNAME

controls whether the - persistent hostname can be changed -

callback

the function to call when the call is done.

[scope async][allow-none]

NM_CLIENT_PERMISSION_LAST

a reserved boundary value -

user_data

user data to pass to the callback function.

[closure]
+

-

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 -

-
+

nm_client_deactivate_connection ()

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

Deactivates an active NMActiveConnection.

+
+

Parameters

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

NM_CLIENT_PERMISSION_RESULT_UNKNOWN

unknown or no authorization -

NM_CLIENT_PERMISSION_RESULT_YES

the permission is available -

NM_CLIENT_PERMISSION_RESULT_AUTH

authorization is necessary before the - permission is available -

client

a NMClient

 

NM_CLIENT_PERMISSION_RESULT_NO

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

active

the NMActiveConnection to deactivate

 
+

-

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. -

-
+

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

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

NM_CLIENT_ERROR_UNKNOWN

unknown or unclassified error -

client

a NMClient

 

NM_CLIENT_ERROR_MANAGER_NOT_RUNNING

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

enabled

TRUE to set networking enabled, FALSE to set networking disabled

 
-
-
-

NM_CLIENT_ERROR

-
#define NM_CLIENT_ERROR nm_client_error_quark ()
-
-

-


-

nm_client_error_quark ()

-
GQuark              nm_client_error_quark               (void);
-

-Registers an error quark for NMClient if necessary. -

-
+

nm_client_wireless_get_enabled ()

+
gboolean
+nm_client_wireless_get_enabled (NMClient *client);
+

Determines whether the wireless is enabled.

+
+

Parameters

+
--+++ - - + + +

Returns :

the error quark used for NMClient errors.

client

a NMClient

 
-

Since 0.9.10

+
+
+

Returns

+

TRUE if wireless is enabled

+

+

-

NMClient

-
typedef struct _NMClient NMClient;
-

-

+

nm_client_wireless_set_enabled ()

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

Enables or disables wireless devices.

+
+

Parameters

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

client

a NMClient

 

enabled

TRUE to enable wireless

 
+

-

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_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_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. -

-
+

nm_client_wwan_get_enabled ()

+
gboolean
+nm_client_wwan_get_enabled (NMClient *client);
+

Determines whether WWAN is enabled.

+
+

Parameters

+
--+++ - - + + +

Returns :

a new NMClient or NULL on an error

client

a NMClient

 
+
+

Returns

+

TRUE if WWAN is enabled

+

+
+

-

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. -

-
+

nm_client_wwan_set_enabled ()

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

Enables or disables WWAN devices.

+
+

Parameters

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

cancellable :

a GCancellable, or NULL -

callback :

callback to call when the client is created

client

a NMClient

 

user_data :

data for callback -

enabled

TRUE to enable WWAN

 
+

-

nm_client_new_finish ()

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

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

-
+

nm_client_wwan_hardware_get_enabled ()

+
gboolean
+nm_client_wwan_hardware_get_enabled (NMClient *client);
+

Determines whether the WWAN hardware is enabled.

+
+

Parameters

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

result :

a GAsyncResult -

error :

location for a GError, or NULL -

Returns :

a new NMClient, or NULL on error

client

a NMClient

 
+
+

Returns

+

TRUE if the WWAN hardware is enabled

+

+
+

-

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(). -

-
+

nm_client_wimax_get_enabled ()

+
gboolean
+nm_client_wimax_get_enabled (NMClient *client);
+

Determines whether WiMAX is enabled.

+
+

Parameters

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

client

a NMClient

 
+
+
+

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

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

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 NMDevice] -

enabled

TRUE to enable WiMAX

 
+

-

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. -

-
+

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

 
+
+
+

Returns

+

the current NMState

+

+
+
+
+
+

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.

+
+

Parameters

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

client

a NMClient

 
+
+
+

Returns

+

whether the daemon is still starting up

+

+
+

Since 0.9.10

+
+
+
+

nm_client_get_manager_running ()

+
gboolean
+nm_client_get_manager_running (NMClient *client);
+

Determines whether the daemon is running.

+
+

Parameters

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

client

a NMClient

 
+
+
+

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

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

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 NMActiveConnection]

+
+
+
+
+

nm_client_sleep ()

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

Deprecated; use nm_client_networking_set_enabled() instead.

+
+

Parameters

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

client :

a NMClient -

object_path :

the object path to search for

client

a NMClient

 

Returns :

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

sleep_

TRUE to put the daemon to sleep

 
+

-

nm_client_get_device_by_iface ()

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

-Gets a NMDevice from a NMClient. -

-
+

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

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

client :

a NMClient -

iface :

the interface name to search for

client

a NMClient

 

Returns :

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

permission

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

 
-
-
-

NMClientActivateFn ()

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

-

+
+

Returns

+

the permission's result, one of NMClientPermissionResult

+

+

-

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. -

-

-Note that the callback is invoked when NetworkManager has started activating -the new connection, not when it finishes. You can used the returned -NMActiveConnection object (in particular, "state") to -track the activation to its completion. -

-
+

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

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

client :

a NMClient -

connection :

an NMConnection. [allow-none] -

device :

the NMDevice. [allow-none] -

client

a NMClient

 

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] -

level

return location for logging level string.

[allow-none]

callback :

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

domains

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

[allow-none]

user_data :

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

error

return location for a GError, or NULL.

[allow-none]
-
-
-

NMClientAddActivateFn ()

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

-

+
+

Returns

+

TRUE on success, FALSE otherwise

+

+
+

Since 0.9.8


-

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. -

-

-Note that the callback is invoked when NetworkManager has started activating -the new connection, not when it finishes. You can used the returned -NMActiveConnection object (in particular, "state") to -track the activation to its completion. -

-
+

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

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

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] -

client

a NMClient

 

device :

the NMDevice -

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] -

level

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

[allow-none]

callback :

the function to call when the call is done. [scope async][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]

user_data :

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

error

return location for a GError, or NULL.

[allow-none]
+
+

Returns

+

TRUE on success, FALSE otherwise

+

+
+

Since 0.9.8

+

-

nm_client_deactivate_connection ()

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

-Deactivates an active NMActiveConnection. -

-
+

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

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

client :

a NMClient -

active :

the NMActiveConnection to deactivate

client

an NMClient

 
+
+

Returns

+

the current connectivity state

+

+
+

Since 0.9.8.6

+

-

nm_client_networking_get_enabled ()

-
gboolean            nm_client_networking_get_enabled    (NMClient *client);
-

-Whether networking is enabled or disabled. -

-
+

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

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

client :

a NMClient -

client

an NMClient

 

Returns :

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

cancellable

a GCancellable

 

error

return location for a GError

 
+
+

Returns

+

the (new) current connectivity state

+

+
+

Since 0.9.8.6

+

-

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. -

-
+

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

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

client :

a NMClient -

client

an NMClient

 

cancellable

a GCancellable

 

enabled :

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

callback

callback to call with the result

 

user_data

data for callback +.

 
+

Since 0.9.8.6

+

-

nm_client_wireless_get_enabled ()

-
gboolean            nm_client_wireless_get_enabled      (NMClient *client);
-

-Determines whether the wireless is enabled. -

-
+

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

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

client :

a NMClient -

client

an NMClient

 

result

the GAsyncResult

 

Returns :

-TRUE if wireless is enabled

error

return location for a GError

 
+
+

Returns

+

the (new) current connectivity state

+

+
+

Since 0.9.8.6

+

-

nm_client_wireless_set_enabled ()

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

-Enables or disables wireless devices. -

-
+

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

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

client :

a NMClient -

enabled :

-TRUE to enable wireless

client

an NMClient

 
+
+

Returns

+

the appropriate NMActiveConnection, if +any.

+

[transfer none]

+
+

Since 0.9.8.6

+

-

nm_client_wireless_hardware_get_enabled ()

-
gboolean            nm_client_wireless_hardware_get_enabled
-                                                        (NMClient *client);
-

-Determines whether the wireless hardware is enabled. -

-
+

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

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

client :

a NMClient -

Returns :

-TRUE if the wireless hardware is enabled

client

an NMClient

 
+
+

Returns

+

the appropriate NMActiveConnection, if +any.

+

[transfer none]

+
+

Since 0.9.8.6

+ + +
+

Types and Values

+
+

NM_CLIENT_VERSION

+
#define NM_CLIENT_VERSION "version"
+
+

+

+

-

nm_client_wwan_get_enabled ()

-
gboolean            nm_client_wwan_get_enabled          (NMClient *client);
+

NM_CLIENT_STATE

+
#define NM_CLIENT_STATE "state"
+

-Determines whether WWAN is enabled.

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

client :

a NMClient -

Returns :

-TRUE if WWAN is enabled

-

nm_client_wwan_set_enabled ()

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

NM_CLIENT_STARTUP

+
#define NM_CLIENT_STARTUP "startup"
+

-Enables or disables WWAN devices.

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

client :

a NMClient -

enabled :

-TRUE to enable WWAN

-

nm_client_wwan_hardware_get_enabled ()

-
gboolean            nm_client_wwan_hardware_get_enabled (NMClient *client);
+

NM_CLIENT_MANAGER_RUNNING

+
#define NM_CLIENT_MANAGER_RUNNING "manager-running"
+

-Determines whether the WWAN hardware is enabled.

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

client :

a NMClient -

Returns :

-TRUE if the WWAN hardware is enabled

-

nm_client_wimax_get_enabled ()

-
gboolean            nm_client_wimax_get_enabled         (NMClient *client);
+

NM_CLIENT_NETWORKING_ENABLED

+
#define NM_CLIENT_NETWORKING_ENABLED "networking-enabled"
+

-Determines whether WiMAX is enabled.

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

client :

a NMClient -

Returns :

-TRUE if WiMAX is enabled

-

nm_client_wimax_set_enabled ()

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

NM_CLIENT_WIRELESS_ENABLED

+
#define NM_CLIENT_WIRELESS_ENABLED "wireless-enabled"
+

-Enables or disables WiMAX devices.

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

client :

a NMClient -

enabled :

-TRUE to enable WiMAX

-

nm_client_wimax_hardware_get_enabled ()

-
gboolean            nm_client_wimax_hardware_get_enabled
-                                                        (NMClient *client);
+

NM_CLIENT_WIRELESS_HARDWARE_ENABLED

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

-Determines whether the WiMAX hardware is enabled.

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

client :

a NMClient -

Returns :

-TRUE if the WiMAX hardware is enabled

-

nm_client_get_version ()

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

NM_CLIENT_WWAN_ENABLED

+
#define NM_CLIENT_WWAN_ENABLED "wwan-enabled"
+

-Gets NetworkManager version.

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

client :

a NMClient -

Returns :

string with the version

-

nm_client_get_state ()

-
NMState             nm_client_get_state                 (NMClient *client);
+

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"
+

-Gets the current daemon state.

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

client :

a NMClient -

Returns :

the current NMState -

-

nm_client_get_startup ()

-
gboolean            nm_client_get_startup               (NMClient *client);
+

NM_CLIENT_WIMAX_HARDWARE_ENABLED

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

-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_get_manager_running ()

-
gboolean            nm_client_get_manager_running       (NMClient *client);
+

NM_CLIENT_ACTIVE_CONNECTIONS

+
#define NM_CLIENT_ACTIVE_CONNECTIONS "active-connections"
+

-Determines whether the daemon is running.

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

client :

a NMClient -

Returns :

-TRUE if the daemon is running

-

nm_client_get_active_connections ()

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

NM_CLIENT_CONNECTIVITY

+
#define NM_CLIENT_CONNECTIVITY "connectivity"
+

-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 NMActiveConnection] -

-

nm_client_sleep ()

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

NM_CLIENT_PRIMARY_CONNECTION

+
#define NM_CLIENT_PRIMARY_CONNECTION "primary-connection"
+

-Deprecated; use nm_client_networking_set_enabled() instead.

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

client :

a NMClient -

sleep_ :

-TRUE to put the daemon to sleep

-

nm_client_get_permission_result ()

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

NM_CLIENT_ACTIVATING_CONNECTION

+
#define NM_CLIENT_ACTIVATING_CONNECTION "activating-connection"
+

-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_get_logging ()

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

NM_CLIENT_DEVICES

+
#define NM_CLIENT_DEVICES "devices"
+

-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


-

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. -

-
+

enum NMClientPermission

+

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

+
+

Members

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

client :

a NMClient +

NM_CLIENT_PERMISSION_NONE

+

unknown or no permission

 

level :

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

NM_CLIENT_PERMISSION_ENABLE_DISABLE_NETWORK

+

controls whether networking + 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_WIFI

+

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

 

error :

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

NM_CLIENT_PERMISSION_ENABLE_DISABLE_WWAN

+

controls whether WWAN (3G) 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_ENABLE_DISABLE_WIMAX

+

controls whether WiMAX can be + globally enabled or disabled

 

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_SLEEP_WAKE

+

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

 

cancellable :

a GCancellable +

NM_CLIENT_PERMISSION_NETWORK_CONTROL

+

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

 

error :

return location for a GError +

NM_CLIENT_PERMISSION_WIFI_SHARE_PROTECTED

+

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

 

Returns :

the (new) current connectivity state

NM_CLIENT_PERMISSION_WIFI_SHARE_OPEN

+

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

+
 
-

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

NM_CLIENT_PERMISSION_SETTINGS_MODIFY_HOSTNAME

+

controls whether the + persistent hostname can be changed

+
 

user_data :

data for callback.

NM_CLIENT_PERMISSION_LAST

+

a reserved boundary value

+
 
-

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. -

-
+

enum NMClientPermissionResult

+

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

+
+

Members

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

client :

an NMClient +

NM_CLIENT_PERMISSION_RESULT_UNKNOWN

+

unknown or no authorization

 

result :

the GAsyncResult +

NM_CLIENT_PERMISSION_RESULT_YES

+

the permission is available

 

error :

return location for a GError +

NM_CLIENT_PERMISSION_RESULT_AUTH

+

authorization is necessary before the + permission is available

 

Returns :

the (new) current connectivity state

NM_CLIENT_PERMISSION_RESULT_NO

+

permission to perform the operation is + denied by system policy

+
 
-

Since 0.9.8.6

+

-

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. -

-
+

enum NMClientError

+

Describes errors that may result from operations involving a NMClient.

+
+

Members

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

client :

an NMClient +

NM_CLIENT_ERROR_UNKNOWN

+

unknown or unclassified error

 

Returns :

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

NM_CLIENT_ERROR_MANAGER_NOT_RUNNING

+

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

 
-

Since 0.9.8.6

+

-

nm_client_get_activating_connection ()

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

NM_CLIENT_ERROR

+
#define NM_CLIENT_ERROR nm_client_error_quark ()
+

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

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

client :

an NMClient -

Returns :

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

Since 0.9.8.6

Property Details

-

The "activating-connection" property

-
  "activating-connection"    NMActiveConnection*   : Read
-

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

+

The “activating-connection” property

+
  “activating-connection”    NMActiveConnection *
+

+

Flags: Read

Since 0.9.8.6


-

The "active-connections" property

-
  "active-connections"       NMObjectArray*        : Read
-

-The active connections. -Type: GLib.PtrArray -

+

The “active-connections” property

+
  “active-connections”       NMObjectArray *
+

+

Flags: Read


-

The "connectivity" property

-
  "connectivity"             guint                 : Read
-

-The network connectivity state. -

+

The “connectivity” property

+
  “connectivity”             guint
+

+

Flags: Read

Allowed values: <= 4

Default value: 0

Since 0.9.8.6


-

The "devices" property

-
  "devices"                  NMObjectArray*        : Read
-

-List of known network devices. -

+

The “devices” property

+
  “devices”                  NMObjectArray *
+

+

Flags: Read

Since 0.9.10


-

The "manager-running" property

-
  "manager-running"          gboolean              : Read
-

-Whether the daemon is running. -

+

The “manager-running” property

+
  “manager-running”          gboolean
+

+

Flags: Read

Default value: FALSE


-

The "networking-enabled" property

-
  "networking-enabled"       gboolean              : Read / Write
-

-Whether networking is enabled. -

+

The “networking-enabled” property

+
  “networking-enabled”       gboolean
+

+

Flags: Read / Write

Default value: TRUE


-

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. -

+

The “primary-connection” property

+
  “primary-connection”       NMActiveConnection *
+

+

Flags: Read

Since 0.9.8.6


-

The "startup" property

-
  "startup"                  gboolean              : Read
-

-Whether the daemon is still starting up. -

+

The “startup” property

+
  “startup”                  gboolean
+

+

Flags: Read

Default value: FALSE

Since 0.9.10


-

The "state" property

-
  "state"                    guint                 : Read
-

-The current daemon state. -

+

The “state” property

+
  “state”                    guint
+

+

Flags: Read

Allowed values: <= 70

Default value: 0


-

The "version" property

-
  "version"                  gchar*                : Read
-

-The NetworkManager version. -

+

The “version” property

+
  “version”                  gchar *
+

+

Flags: Read

Default value: NULL


-

The "wimax-enabled" property

-
  "wimax-enabled"            gboolean              : Read / Write
-

-Whether WiMAX functionality is enabled. -

+

The “wimax-enabled” property

+
  “wimax-enabled”            gboolean
+

+

Flags: Read / Write

Default value: FALSE


-

The "wimax-hardware-enabled" property

-
  "wimax-hardware-enabled"   gboolean              : Read
-

-Whether the WiMAX hardware is enabled. -

+

The “wimax-hardware-enabled” property

+
  “wimax-hardware-enabled”   gboolean
+

+

Flags: Read

Default value: FALSE


-

The "wireless-enabled" property

-
  "wireless-enabled"         gboolean              : Read / Write
-

-Whether wireless is enabled. -

+

The “wireless-enabled” property

+
  “wireless-enabled”         gboolean
+

+

Flags: Read / Write

Default value: FALSE


-

The "wireless-hardware-enabled" property

-
  "wireless-hardware-enabled" gboolean              : Read
-

-Whether the wireless hardware is enabled. -

+

The “wireless-hardware-enabled” property

+
  “wireless-hardware-enabled” gboolean
+

+

Flags: Read

Default value: TRUE


-

The "wwan-enabled" property

-
  "wwan-enabled"             gboolean              : Read / Write
-

-Whether WWAN functionality is enabled. -

+

The “wwan-enabled” property

+
  “wwan-enabled”             gboolean
+

+

Flags: Read / Write

Default value: FALSE


-

The "wwan-hardware-enabled" property

-
  "wwan-hardware-enabled"    gboolean              : Read
-

-Whether the WWAN hardware is enabled. -

+

The “wwan-hardware-enabled” property

+
  “wwan-hardware-enabled”    gboolean
+

+

Flags: Read

Default value: FALSE

Signal Details

-

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 NMDevice] -

user_data :

user data set when the signal handler was connected.
+

The “device-added” 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 NMDevice] -

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 "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.
+

The “permission-changed” signal

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

Flags: Run First

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

NMDHCP4Config

NMDHCP4Config

- +
-
-

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);
-
+
+

Functions

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

Object Hierarchy

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

Properties

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

Implemented Interfaces

-

-NMDHCP4Config implements - GInitable and GAsyncInitable.

+

Types and Values

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

Properties

-
-  "options"                  GHashTable*           : Read
+

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ╰── NMDHCP4Config
 
@@ -79,145 +109,128 @@ NMDHCP4Config implements

-

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"
-
-

-

-
-
+

Functions

-

nm_dhcp4_config_new ()

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

-Creates a new NMDHCP4Config. -

-
+

nm_dhcp4_config_new ()

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

Creates a new NMDHCP4Config.

+
+

Parameters

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

connection :

the DBusGConnection -

connection

the DBusGConnection

 

object_path :

the DBus object path of the device

Returns :

a new configuration. [transfer full] -

object_path

the DBus object path of the device

 
+
+

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. -

-
+

nm_dhcp4_config_get_options ()

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

Gets all the options contained in the configuration.

+
+

Parameters

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

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] -

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]

+
+

-

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. -

-
+

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

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

config :

a NMDHCP4Config -

option :

the option to retrieve

config

a NMDHCP4Config

 

Returns :

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

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.

+

+
+
-

Property Details

+

Types and Values

-

The "options" property

-
  "options"                  GHashTable*           : Read
-

-The GHashTable containing options of the configuration. -

+

NM_DHCP4_CONFIG_OPTIONS

+
#define NM_DHCP4_CONFIG_OPTIONS "options"
+

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

+
+

Property Details

+
+

The “options” property

+
  “options”                  GHashTable *
+

+

Flags: Read

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

NMDHCP6Config

NMDHCP6Config

- +
-
-

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);
-
+
+

Functions

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

Object Hierarchy

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

Properties

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

Implemented Interfaces

-

-NMDHCP6Config implements - GInitable and GAsyncInitable.

+

Types and Values

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

Properties

-
-  "options"                  GHashTable*           : Read
+

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ╰── NMDHCP6Config
 
@@ -79,145 +109,128 @@ NMDHCP6Config implements

-

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"
-
-

-

-
-
+

Functions

-

nm_dhcp6_config_new ()

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

-Creates a new NMDHCP6Config. -

-
+

nm_dhcp6_config_new ()

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

Creates a new NMDHCP6Config.

+
+

Parameters

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

connection :

the DBusGConnection -

connection

the DBusGConnection

 

object_path :

the DBus object path of the device

Returns :

a new configuration. [transfer full] -

object_path

the DBus object path of the device

 
+
+

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. -

-
+

nm_dhcp6_config_get_options ()

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

Gets all the options contained in the configuration.

+
+

Parameters

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

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] -

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]

+
+

-

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. -

-
+

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

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

config :

a NMDHCP6Config -

option :

the option to retrieve

config

a NMDHCP6Config

 

Returns :

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

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.

+

+
+
-

Property Details

+

Types and Values

-

The "options" property

-
  "options"                  GHashTable*           : Read
-

-The GHashTable containing options of the configuration. -

+

NM_DHCP6_CONFIG_OPTIONS

+
#define NM_DHCP6_CONFIG_OPTIONS "options"
+

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

+
+

Property Details

+
+

The “options” property

+
  “options”                  GHashTable *
+

+

Flags: Read

+
+
+ Generated by GTK-Doc V1.21 \ No newline at end of file diff --git a/docs/libnm-glib/html/NMDevice.html b/docs/libnm-glib/html/NMDevice.html index c34214d5..2d5281c8 100644 --- a/docs/libnm-glib/html/NMDevice.html +++ b/docs/libnm-glib/html/NMDevice.html @@ -2,38 +2,29 @@ -NMDevice +libnm-glib Reference Manual: NMDevice - + - - - - - - - - - - + + + + + + +
@@ -41,1780 +32,2223 @@

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);
-gboolean            nm_device_is_software               (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                (*NMDeviceCallbackFn)               (NMDevice *device,
-                                                         GError *error,
-                                                         gpointer user_data);
-void                nm_device_disconnect                (NMDevice *device,
-                                                         NMDeviceCallbackFn callback,
-                                                         gpointer user_data);
-void                nm_device_delete                    (NMDevice *device,
-                                                         NMDeviceCallbackFn 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);
-void                (*NMDeviceDeactivateFn)             (NMDevice *device,
-                                                         GError *error,
-                                                         gpointer user_data);
-
-
-
-

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

-

-

-
-
-

Details

-
-

enum NMDeviceError

-
typedef enum {
-	NM_DEVICE_ERROR_UNKNOWN = 0,        /*< nick=UnknownError >*/
-	NM_DEVICE_ERROR_INTERFACE_MISMATCH, /*< nick=InterfaceMismatch >*/
-} NMDeviceError;
-
-
+

Functions

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

NM_DEVICE_ERROR_UNKNOWN

unknown or unclassified error + +GQuark + +nm_device_error_quark ()

NM_DEVICE_ERROR_INTERFACE_MISMATCH

the interface names of the connection and the - device mismatched + +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 () +
const char * + +nm_device_get_type_description () +
const char * + +nm_device_get_hw_address () +
+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 () +
+NMDHCP4Config * + +nm_device_get_dhcp4_config () +
+NMIP6Config * + +nm_device_get_ip6_config () +
+NMDHCP6Config * + +nm_device_get_dhcp6_config () +
+NMDeviceState + +nm_device_get_state () +
+NMDeviceState + +nm_device_get_state_reason () +
+NMActiveConnection * + +nm_device_get_active_connection () +
const GPtrArray * + +nm_device_get_available_connections () +
const char * + +nm_device_get_physical_port_id () +
+guint32 + +nm_device_get_mtu () +
+gboolean + +nm_device_is_software () +
const char * + +nm_device_get_product () +
const char * + +nm_device_get_vendor () +
const char * + +nm_device_get_description () +
+char ** + +nm_device_disambiguate_names () +
+void + +(*NMDeviceCallbackFn) () +
+void + +nm_device_disconnect () +
+void + +nm_device_delete () +
+GSList * + +nm_device_filter_connections () +
+gboolean + +nm_device_connection_valid ()
-
-
-
-

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. -

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

connection :

the DBusGConnection + +gboolean + +nm_device_connection_compatible ()

path :

the DBus object path of the device +GType + +nm_device_get_setting_type () +

Returns :

a new device. [transfer full] + +void + +(*NMDeviceDeactivateFn) ()
-
-
-

nm_device_get_iface ()

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

-Gets the interface name of the NMDevice. -

-
+
+

Properties

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

device :

a NMDevice - +NMActiveConnection *active-connectionRead
gbooleanautoconnectRead / Write
+NMObjectArray *available-connectionsRead
guintcapabilitiesRead
guintdevice-typeRead
+NMDHCP4Config *dhcp4-configRead
+NMDHCP6Config *dhcp6-configRead
+gchar *driverRead
+gchar *driver-versionRead

Returns :

the interface of the device. This is the internal string used by the -device, and must not be modified.gbooleanfirmware-missingRead
+gchar *firmware-versionRead
+gchar *interfaceRead
+gchar *ip-interfaceRead
+NMIP4Config *ip4-configRead
+NMIP6Config *ip6-configRead
gbooleanmanagedRead
guintmtuRead
+gchar *physical-port-idRead
+gchar *productRead
guintstateRead
GValueArray_guint+guint_*state-reasonRead
+gchar *udiRead
+gchar *vendorRead
-
-
-

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. -

-
+
+

Signals

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

Types and Values

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

device :

a NMDevice -enumNMDeviceError
#defineNM_DEVICE_ERROR
#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

Returns :

the IP traffic interface of the device. This is the internal string -used by the device, and must not be modified.#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
#defineNM_DEVICE_PRODUCT
#defineNM_DEVICE_PHYSICAL_PORT_ID
#defineNM_DEVICE_MTU
-
-
-

nm_device_get_device_type ()

-
NMDeviceType        nm_device_get_device_type           (NMDevice *device);
+
+

Object Hierarchy

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

Description

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

-
+ +
+

Functions

+
+

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_new ()

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

Creates a new NMDevice.

+
+

Parameters

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

device :

a NMDevice -

connection

the DBusGConnection

 

Returns :

the device type

path

the DBus object path of the device

 
+
+

Returns

+

a new device.

+

[transfer full]

+
+

-

nm_device_get_udi ()

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

-Gets the Unique Device Identifier of the NMDevice. -

-
+

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 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.

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_driver ()

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

-Gets the driver of the NMDevice. -

-
+

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 driver of the device. This is the internal string used by the -device, and must not be modified.

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.

+

+
+

-

nm_device_get_driver_version ()

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

-Gets the driver version of the NMDevice. -

-
+

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.

+
+

Parameters

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

device :

a NMDevice -

Returns :

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

device

a NMDevice

 
+
+

Returns

+

the device type

+

+
+
-

nm_device_get_firmware_version ()

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

-Gets the firmware version of the NMDevice. -

-
+

nm_device_get_udi ()

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

Gets the Unique Device Identifier of the NMDevice.

+
+

Parameters

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

device :

a NMDevice -

Returns :

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

device

a NMDevice

 
+
+

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_type_description ()

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

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

-
+

nm_device_get_driver ()

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

Gets the driver of the NMDevice.

+
+

Parameters

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

device :

a NMDevice -

Returns :

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

device

a NMDevice

 
+
+
+

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

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

device

a NMDevice

 
+
+
+

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

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

device

a NMDevice

 
+
+
+

Returns

+

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

+

+
+
+
+
+

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.

+
+

Parameters

+
+++++ + + + + +

device

a NMDevice

 
+
+
+

Returns

+

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

+

+

Since 0.9.10


-

nm_device_get_hw_address ()

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

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

-
+

nm_device_get_hw_address ()

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

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

+
+

Parameters

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

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.

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.

+

+

Since 0.9.10


-

nm_device_get_capabilities ()

-
NMDeviceCapabilities nm_device_get_capabilities         (NMDevice *device);
-

-Gets the device' capabilities. -

-
+

nm_device_get_capabilities ()

+
NMDeviceCapabilities
+nm_device_get_capabilities (NMDevice *device);
+

Gets the device' capabilities.

+
+

Parameters

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

device :

a NMDevice -

Returns :

the capabilities

device

a NMDevice

 
+
+

Returns

+

the capabilities

+

+
+
-

nm_device_get_managed ()

-
gboolean            nm_device_get_managed               (NMDevice *device);
-

-Whether the NMDevice is managed by NetworkManager. -

-
+

nm_device_get_managed ()

+
gboolean
+nm_device_get_managed (NMDevice *device);
+

Whether the NMDevice is managed by NetworkManager.

+
+

Parameters

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

device :

a NMDevice -

Returns :

-TRUE if the device is managed by NetworkManager

device

a NMDevice

 
+
+

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. -

-
+

nm_device_get_autoconnect ()

+
gboolean
+nm_device_get_autoconnect (NMDevice *device);
+

Whether the NMDevice can be autoconnected.

+
+

Parameters

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

device :

a NMDevice -

Returns :

-TRUE if the device is allowed to be autoconnected

device

a NMDevice

 
+
+

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. -

-
+

nm_device_set_autoconnect ()

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

Enables or disables automatic activation of the NMDevice.

+
+

Parameters

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

device :

a NMDevice -

device

a NMDevice

 

autoconnect :

-TRUE to enable autoconnecting

autoconnect

TRUE to enable autoconnecting

 
+
-

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. -

-
+

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

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

device :

a NMDevice -

Returns :

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

device

a NMDevice

 
+
+

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. -

-

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

-
+

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.

+
+

Parameters

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

device :

a NMDevice -

Returns :

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

device

a NMDevice

 
+
+

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. -

-

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

-
+

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.

+
+

Parameters

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

device :

a NMDevice -

Returns :

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

device

a NMDevice

 
+
+

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. -

-

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

-
+

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.

+
+

Parameters

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

device :

a NMDevice -

Returns :

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

device

a NMDevice

 
+
+

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. -

-

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

-
+

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.

+
+

Parameters

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

device :

a NMDevice -

Returns :

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

device

a NMDevice

 
+
+

Returns

+

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

+

[transfer none]

+
+
-

nm_device_get_state ()

-
NMDeviceState       nm_device_get_state                 (NMDevice *device);
-

-Gets the current NMDevice state. -

-
+

nm_device_get_state ()

+
NMDeviceState
+nm_device_get_state (NMDevice *device);
+

Gets the current NMDevice state.

+
+

Parameters

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

device :

a NMDevice -

Returns :

the current device state

device

a NMDevice

 
+
+

Returns

+

the current device state

+

+
+
-

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). -

-
+

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

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

device :

a NMDevice -

reason :

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

device

a NMDevice

 

Returns :

the current device state

reason

location to store reason (NMDeviceStateReason), or NULL.

[out][allow-none]
+
+

Returns

+

the current device state

+

+
+
-

nm_device_get_active_connection ()

-
NMActiveConnection * nm_device_get_active_connection    (NMDevice *device);
-

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

-
+

nm_device_get_active_connection ()

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

Gets the NMActiveConnection object which owns this device during activation.

+
+

Parameters

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

device :

a NMDevice -

Returns :

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

device

a NMDevice

 
+
+

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. -

-
+

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

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

device :

a NMDevice -

Returns :

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

device

a NMDevice

 
+
+
+

Returns

+

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

+

[element-type NMRemoteConnection]

+

Since 0.9.8


-

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 +

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.) -

-
+ports on a single physical port. (Eg, NPAR / SR-IOV.)

+
+

Parameters

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

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.

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.

+

+

Since 0.9.10


-

nm_device_get_mtu ()

-
guint32             nm_device_get_mtu                   (NMDevice *device);
-

-Gets the MTU of the NMDevice. -

-
+

nm_device_get_mtu ()

+
guint32
+nm_device_get_mtu (NMDevice *device);
+

Gets the MTU of the NMDevice.

+
+

Parameters

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

device :

a NMDevice -

Returns :

the MTU of the device.

device

a NMDevice

 
+
+
+

Returns

+

the MTU of the device.

+

+

Since 0.9.10


-

nm_device_is_software ()

-
gboolean            nm_device_is_software               (NMDevice *device);
-

-Whether the device is a software device. -

-
+

nm_device_is_software ()

+
gboolean
+nm_device_is_software (NMDevice *device);
+

Whether the device is a software device.

+
+

Parameters

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

device :

a NMDevice -

Returns :

-TRUE if device is a software device, FALSE if it is a hardware device.

device

a NMDevice

 
+
+
+

Returns

+

TRUE if device +is a software device, FALSE if it is a hardware device.

+

+

Since 1.0


-

nm_device_get_product ()

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

-Gets the product string of the NMDevice. -

-
+

nm_device_get_product ()

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

Gets the product string of the NMDevice.

+
+

Parameters

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

device :

a NMDevice -

Returns :

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

device

a NMDevice

 
+
+

Returns

+

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

+

+
+
-

nm_device_get_vendor ()

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

-Gets the vendor string of the NMDevice. -

-
+

nm_device_get_vendor ()

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

Gets the vendor string of the NMDevice.

+
+

Parameters

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

device :

a NMDevice -

Returns :

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

device

a NMDevice

 
+
+

Returns

+

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

+

+
+
-

nm_device_get_description ()

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

-Gets a description of device, based on its vendor and product names. -

-
+

nm_device_get_description ()

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

Gets a description of device +, based on its vendor and product names.

+
+

Parameters

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

device :

an NMDevice -

Returns :

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

device

an NMDevice

 
+
+
+

Returns

+

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

+

+

Since 0.9.10


-

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. -

-
+

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 +.

+
+

Parameters

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

devices :

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

num_devices :

length of devices -

devices

an array of NMDevice.

[array length=num_devices]

Returns :

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

num_devices

length of devices +

 
+
+
+

Returns

+

the device names.

+

[transfer full][array zero-terminated=1]

+

Since 0.9.10


-

NMDeviceCallbackFn ()

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

NMDeviceCallbackFn ()

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


-

nm_device_disconnect ()

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

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

nm_device_disconnect ()

+
void
+nm_device_disconnect (NMDevice *device,
+                      NMDeviceCallbackFn 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. -

-
+request.

+
+

Parameters

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

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_delete ()

-
void                nm_device_delete                    (NMDevice *device,
-                                                         NMDeviceCallbackFn callback,
-                                                         gpointer user_data);
-

-Deletes the software device. Hardware devices can't be deleted. -

-
+

nm_device_delete ()

+
void
+nm_device_delete (NMDevice *device,
+                  NMDeviceCallbackFn callback,
+                  gpointer user_data);
+

Deletes the software device. Hardware devices can't be deleted.

+
+

Parameters

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

device :

a NMDevice -

device

a NMDevice

 

callback :

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

callback

callback to be called when delete +operation completes.

[scope async][allow-none]

user_data :

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

user_data

caller-specific data passed to callback +.

[closure]
+

Since 1.0


-

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 Wi-Fi device that supports only WEP encryption, the returned list will -contain any Wi-Fi connections in connections that allow connection to +contain any Wi-Fi connections in connections + that allow connection to unencrypted or WEP-enabled SSIDs. The returned list will not contain 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(). -

-
+nm_remote_settings_list_connections().

+
+

Parameters

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

device :

an NMDevice to filter connections for

connections :

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

device

an NMDevice to filter connections for

 

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 NMConnection] -

connections

a list of NMConnection objects to filter.

[element-type NMConnection]
+
+

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 NMConnection]

+
+
-

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 Wi-Fi device that supports only WEP encryption, the connection +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. -

-
+device.

+
+

Parameters

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

device :

an NMDevice to validate connection against

connection :

an NMConnection to validate against device -

device

an NMDevice to validate connection +against

 

Returns :

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

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.

+

+
+
-

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 Wi-Fi device that supports only WEP encryption, the connection +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. -

-
+GError when FALSE is returned.

+
+

Parameters

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

device :

an NMDevice to validate connection against

connection :

an NMConnection to validate against device -

device

an NMDevice to validate connection +against

 

error :

return location for a GError, or NULL -

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.

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.

+

+
+ +
+
+

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 +.

+
+

Parameters

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

device

an NMDevice

 
+
+
+

Returns

+

device +'s associated NMSetting type

+

+
+

Since 0.9.10

+

-

nm_device_get_setting_type ()

-
GType               nm_device_get_setting_type          (NMDevice *device);
+

NMDeviceDeactivateFn ()

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

NMDeviceDeactivateFn is deprecated and should not be used in newly-written code.

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

-
+ + +
+

Types and Values

+
+

enum NMDeviceError

+
+

Members

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

device :

an NMDevice +

NM_DEVICE_ERROR_UNKNOWN

+

unknown or unclassified error

 

Returns :

-device's associated NMSetting type

NM_DEVICE_ERROR_INTERFACE_MISMATCH

+

the interface names of the connection and the + device mismatched

+
 
-

Since 0.9.10

+

-

NMDeviceDeactivateFn ()

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

NM_DEVICE_ERROR

+
#define NM_DEVICE_ERROR nm_device_error_quark ()
+

- -
-

Property Details

+
-

The "active-connection" property

-
  "active-connection"        NMActiveConnection*   : Read
+

NM_DEVICE_DEVICE_TYPE

+
#define NM_DEVICE_DEVICE_TYPE "device-type"
+

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


-

The "autoconnect" property

-
  "autoconnect"              gboolean              : Read / Write
+

NM_DEVICE_UDI

+
#define NM_DEVICE_UDI "udi"
+

-Whether the device can auto-activate a connection.

-

Default value: TRUE


-

The "available-connections" property

-
  "available-connections"    NMObjectArray*        : Read
+

NM_DEVICE_INTERFACE

+
#define NM_DEVICE_INTERFACE "interface"
+

-The available connections (NMRemoteConnection) of the device

-

Since 0.9.8


-

The "capabilities" property

-
  "capabilities"             guint                 : Read
+

NM_DEVICE_IP_INTERFACE

+
#define NM_DEVICE_IP_INTERFACE "ip-interface"
+

-The capabilities of the device.

-

Default value: 0


-

The "device-type" property

-
  "device-type"              guint                 : Read
+

NM_DEVICE_DRIVER

+
#define NM_DEVICE_DRIVER "driver"
+

-The numeric type of the device.

-

Default value: 0


-

The "dhcp4-config" property

-
  "dhcp4-config"             NMDHCP4Config*        : Read
+

NM_DEVICE_DRIVER_VERSION

+
#define NM_DEVICE_DRIVER_VERSION "driver-version"
+

-The NMDHCP4Config of the device.


-

The "dhcp6-config" property

-
  "dhcp6-config"             NMDHCP6Config*        : Read
+

NM_DEVICE_FIRMWARE_VERSION

+
#define NM_DEVICE_FIRMWARE_VERSION "firmware-version"
+

-The NMDHCP6Config of the device.


-

The "driver" property

-
  "driver"                   gchar*                : Read
+

NM_DEVICE_CAPABILITIES

+
#define NM_DEVICE_CAPABILITIES "capabilities"
+

-The driver of the device.

-

Default value: NULL


-

The "driver-version" property

-
  "driver-version"           gchar*                : Read
+

NM_DEVICE_MANAGED

+
#define NM_DEVICE_MANAGED "managed"
+

-The version of the device driver.

-

Default value: NULL


-

The "firmware-missing" property

-
  "firmware-missing"         gboolean              : Read
+

NM_DEVICE_AUTOCONNECT

+
#define NM_DEVICE_AUTOCONNECT "autoconnect"
+

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

-

Default value: FALSE


-

The "firmware-version" property

-
  "firmware-version"         gchar*                : Read
+

NM_DEVICE_FIRMWARE_MISSING

+
#define NM_DEVICE_FIRMWARE_MISSING "firmware-missing"
+

-The firmware version of the device.

-

Default value: NULL


-

The "interface" property

-
  "interface"                gchar*                : Read
+

NM_DEVICE_IP4_CONFIG

+
#define NM_DEVICE_IP4_CONFIG "ip4-config"
+

-The interface of the device.

-

Default value: NULL


-

The "ip-interface" property

-
  "ip-interface"             gchar*                : Read
+

NM_DEVICE_DHCP4_CONFIG

+
#define NM_DEVICE_DHCP4_CONFIG "dhcp4-config"
+

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

-

Default value: NULL


-

The "ip4-config" property

-
  "ip4-config"               NMIP4Config*          : Read
+

NM_DEVICE_IP6_CONFIG

+
#define NM_DEVICE_IP6_CONFIG "ip6-config"
+

-The NMIP4Config of the device.


-

The "ip6-config" property

-
  "ip6-config"               NMIP6Config*          : Read
+

NM_DEVICE_DHCP6_CONFIG

+
#define NM_DEVICE_DHCP6_CONFIG "dhcp6-config"
+

-The NMIP6Config of the device.


-

The "managed" property

-
  "managed"                  gboolean              : Read
+

NM_DEVICE_STATE

+
#define NM_DEVICE_STATE "state"
+

-Whether the device is managed by NetworkManager.

-

Default value: FALSE


-

The "mtu" property

-
  "mtu"                      guint                 : Read
+

NM_DEVICE_STATE_REASON

+
#define NM_DEVICE_STATE_REASON "state-reason"
+

-The MTU of the device.

-

Default value: 1500

-

Since 0.9.10


-

The "physical-port-id" property

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

NM_DEVICE_ACTIVE_CONNECTION

+
#define NM_DEVICE_ACTIVE_CONNECTION "active-connection"
+

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

-

Default value: NULL

-

Since 0.9.10


-

The "product" property

-
  "product"                  gchar*                : Read
+

NM_DEVICE_AVAILABLE_CONNECTIONS

+
#define NM_DEVICE_AVAILABLE_CONNECTIONS "available-connections"
+

-The product string of the device.

-

Default value: NULL


-

The "state" property

-
  "state"                    guint                 : Read
+

NM_DEVICE_VENDOR

+
#define NM_DEVICE_VENDOR "vendor"
+

-The state of the device.

-

Default value: 0


-

The "state-reason" property

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

NM_DEVICE_PRODUCT

+
#define NM_DEVICE_PRODUCT "product"
+

-The state and reason of the device.


-

The "udi" property

-
  "udi"                      gchar*                : Read
+

NM_DEVICE_PHYSICAL_PORT_ID

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

-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*                : Read
+

NM_DEVICE_MTU

+
#define NM_DEVICE_MTU "mtu"
+

-The vendor string of the device.

+
+
+
+

Property Details

+
+

The “active-connection” property

+
  “active-connection”        NMActiveConnection *
+

+

Flags: Read

+
+
+
+

The “autoconnect” property

+
  “autoconnect”              gboolean
+

+

Flags: Read / Write

+

Default value: TRUE

+
+
+
+

The “available-connections” property

+
  “available-connections”    NMObjectArray *
+

+

Flags: Read

+

Since 0.9.8

+
+
+
+

The “capabilities” property

+
  “capabilities”             guint
+

+

Flags: Read

+

Default value: 0

+
+
+
+

The “device-type” property

+
  “device-type”              guint
+

+

Flags: Read

+

Default value: 0

+
+
+
+

The “dhcp4-config” property

+
  “dhcp4-config”             NMDHCP4Config *
+

+

Flags: Read

+
+
+
+

The “dhcp6-config” property

+
  “dhcp6-config”             NMDHCP6Config *
+

+

Flags: Read

+
+
+
+

The “driver” property

+
  “driver”                   gchar *
+

+

Flags: Read

+

Default value: NULL

+
+
+
+

The “driver-version” property

+
  “driver-version”           gchar *
+

+

Flags: Read

+

Default value: NULL

+
+
+
+

The “firmware-missing” property

+
  “firmware-missing”         gboolean
+

+

Flags: Read

+

Default value: FALSE

+
+
+
+

The “firmware-version” property

+
  “firmware-version”         gchar *
+

+

Flags: Read

+

Default value: NULL

+
+
+
+

The “interface” property

+
  “interface”                gchar *
+

+

Flags: Read

+

Default value: NULL

+
+
+
+

The “ip-interface” property

+
  “ip-interface”             gchar *
+

+

Flags: Read

+

Default value: NULL

+
+
+
+

The “ip4-config” property

+
  “ip4-config”               NMIP4Config *
+

+

Flags: Read

+
+
+
+

The “ip6-config” property

+
  “ip6-config”               NMIP6Config *
+

+

Flags: Read

+
+
+
+

The “managed” property

+
  “managed”                  gboolean
+

+

Flags: Read

+

Default value: FALSE

+
+
+
+

The “mtu” property

+
  “mtu”                      guint
+

+

Flags: Read

+

Default value: 1500

+

Since 0.9.10

+
+
+
+

The “physical-port-id” property

+
  “physical-port-id”         gchar *
+

+

Flags: Read

+

Default value: NULL

+

Since 0.9.10

+
+
+
+

The “product” property

+
  “product”                  gchar *
+

+

Flags: Read

+

Default value: NULL

+
+
+
+

The “state” property

+
  “state”                    guint
+

+

Flags: Read

+

Default value: 0

+
+
+
+

The “state-reason” property

+
  “state-reason”             GValueArray_guint+guint_*
+

+

Flags: Read

+
+
+
+

The “udi” property

+
  “udi”                      gchar *
+

+

Flags: Read

+

Default value: NULL

+
+
+
+

The “vendor” property

+
  “vendor”                   gchar *
+

+

Flags: Read

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)      : 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.
+

The “state-changed” signal

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

Flags: Run First

+ Generated by GTK-Doc V1.21 \ No newline at end of file diff --git a/docs/libnm-glib/html/NMDeviceAdsl.html b/docs/libnm-glib/html/NMDeviceAdsl.html index 8f20351f..404fb121 100644 --- a/docs/libnm-glib/html/NMDeviceAdsl.html +++ b/docs/libnm-glib/html/NMDeviceAdsl.html @@ -2,36 +2,28 @@ -NMDeviceAdsl +libnm-glib Reference Manual: NMDeviceAdsl - + - - - - - - - - - - + + + + + + +
@@ -39,40 +31,87 @@

NMDeviceAdsl

NMDeviceAdsl

- +
-
-

Synopsis

-
enum                NMDeviceAdslError;
-#define             NM_DEVICE_ADSL_ERROR
-GQuark              nm_device_adsl_error_quark          (void);
-#define             NM_DEVICE_ADSL_CARRIER
-                    NMDeviceAdsl;
-                    NMDeviceAdslClass;
-GObject *           nm_device_adsl_new                  (DBusGConnection *connection,
-                                                         const char *path);
-gboolean            nm_device_adsl_get_carrier          (NMDeviceAdsl *device);
-
+
+

Functions

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

Object Hierarchy

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

Properties

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

Implemented Interfaces

-

-NMDeviceAdsl implements - GInitable and GAsyncInitable.

+

Types and Values

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

Properties

-
-  "carrier"                  gboolean              : Read
+

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ╰── NMDevice
+            ╰── NMDeviceAdsl
 
@@ -81,170 +120,149 @@ NMDeviceAdsl implements

-

Details

+

Functions

-

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;
-
-
+

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

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

NM_DEVICE_ADSL_ERROR_UNKNOWN

unknown or unclassified error -

NM_DEVICE_ADSL_ERROR_NOT_ADSL_CONNECTION

the connection was not of ADSL type -

connection

the DBusGConnection

 

NM_DEVICE_ADSL_ERROR_INVALID_ADSL_CONNECTION

the ADSL connection was invalid -

path

the DBus object path of the device

 
-
-
-

NM_DEVICE_ADSL_ERROR

-
#define NM_DEVICE_ADSL_ERROR nm_device_adsl_error_quark ()
-
-

-

+
+

Returns

+

a new device.

+

[transfer full]

+

-

nm_device_adsl_error_quark ()

-
GQuark              nm_device_adsl_error_quark          (void);
-

-Registers an error quark for NMDeviceAdsl if necessary. -

-
+

nm_device_adsl_get_carrier ()

+
gboolean
+nm_device_adsl_get_carrier (NMDeviceAdsl *device);
+

Whether the device has carrier.

+
+

Parameters

+
--+++ - - + + +

Returns :

the error quark used for NMDeviceAdsl errors.

device

a NMDeviceAdsl

 
-
-
-

NM_DEVICE_ADSL_CARRIER

-
#define NM_DEVICE_ADSL_CARRIER "carrier"
-
-

-

+
+

Returns

+

TRUE if the device has 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

-

nm_device_adsl_new ()

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

-Creates a new NMDeviceAdsl. -

-
+

enum NMDeviceAdslError

+
+

Members

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

connection :

the DBusGConnection +

NM_DEVICE_ADSL_ERROR_UNKNOWN

+

unknown or unclassified error

 

path :

the DBus object path of the device

NM_DEVICE_ADSL_ERROR_NOT_ADSL_CONNECTION

+

the connection was not of ADSL type

+
 

Returns :

a new device. [transfer full] +

NM_DEVICE_ADSL_ERROR_INVALID_ADSL_CONNECTION

+

the ADSL connection was invalid

 
+

-

nm_device_adsl_get_carrier ()

-
gboolean            nm_device_adsl_get_carrier          (NMDeviceAdsl *device);
+

NM_DEVICE_ADSL_ERROR

+
#define NM_DEVICE_ADSL_ERROR nm_device_adsl_error_quark ()
+
+

+

+
+
+
+

NM_DEVICE_ADSL_CARRIER

+
#define NM_DEVICE_ADSL_CARRIER "carrier"
+

-Whether the device has carrier.

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

device :

a NMDeviceAdsl -

Returns :

-TRUE if the device has carrier

Property Details

-

The "carrier" property

-
  "carrier"                  gboolean              : Read
-

-Whether the device has carrier. -

+

The “carrier” property

+
  “carrier”                  gboolean
+

+

Flags: Read

Default value: FALSE

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

NMDeviceBond

NMDeviceBond

- +
-
-

Synopsis

-
enum                NMDeviceBondError;
-#define             NM_DEVICE_BOND_ERROR
-GQuark              nm_device_bond_error_quark          (void);
-#define             NM_DEVICE_BOND_HW_ADDRESS
-#define             NM_DEVICE_BOND_CARRIER
-#define             NM_DEVICE_BOND_SLAVES
-                    NMDeviceBond;
-                    NMDeviceBondClass;
-GObject *           nm_device_bond_new                  (DBusGConnection *connection,
-                                                         const char *path);
-const char *        nm_device_bond_get_hw_address       (NMDeviceBond *device);
-gboolean            nm_device_bond_get_carrier          (NMDeviceBond *device);
-const GPtrArray *   nm_device_bond_get_slaves           (NMDeviceBond *device);
-
+
+

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 () +
-

Object Hierarchy

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

Properties

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

Implemented Interfaces

-

-NMDeviceBond implements - GInitable and GAsyncInitable.

+

Types and Values

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

Properties

-
-  "carrier"                  gboolean              : Read
-  "hw-address"               gchar*                : Read
-  "slaves"                   NMObjectArray*        : Read
+

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ╰── NMDevice
+            ╰── NMDeviceBond
 
@@ -87,265 +156,248 @@ NMDeviceBond implements

-

Details

+

Functions

-

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;
-
-
+

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.

+

+
+ +
+
+

nm_device_bond_new ()

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

Creates a new NMDeviceBond.

+
+

Parameters

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

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 -

connection

the DBusGConnection

 

NM_DEVICE_BOND_ERROR_INTERFACE_MISMATCH

the interfaces of the connection and the device mismatched -

path

the DBus object path of the device

 
-
-
-

NM_DEVICE_BOND_ERROR

-
#define NM_DEVICE_BOND_ERROR nm_device_bond_error_quark ()
-
-

-

+
+

Returns

+

a new device.

+

[transfer full]

+

-

nm_device_bond_error_quark ()

-
GQuark              nm_device_bond_error_quark          (void);
-

-Registers an error quark for NMDeviceBond if necessary. -

-
+

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

+
--+++ - - + + +

Returns :

the error quark used for NMDeviceBond errors.

device

a NMDeviceBond

 
-
-
-

NM_DEVICE_BOND_HW_ADDRESS

-
#define NM_DEVICE_BOND_HW_ADDRESS  "hw-address"
-
-

-

+
+

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_SLAVES

-
#define NM_DEVICE_BOND_SLAVES      "slaves"
-
-

-

+

nm_device_bond_get_carrier ()

+
gboolean
+nm_device_bond_get_carrier (NMDeviceBond *device);
+

Whether the device has carrier.

+
+

Parameters

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

device

a NMDeviceBond

 
+
+
+

Returns

+

TRUE if the device has carrier

+

-
-
-

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;
-
-

-

+

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

 
-
+
+

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 NMDevice]

+
+

Since 0.9.6.4

+
+
+
+

Types and Values

-

nm_device_bond_new ()

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

-Creates a new NMDeviceBond. -

-
+

enum NMDeviceBondError

+
+

Members

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

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

 

path :

the DBus object path of the device

NM_DEVICE_BOND_ERROR_INVALID_BOND_CONNECTION

+

the bond connection was invalid

+
 

Returns :

a new device. [transfer full] +

NM_DEVICE_BOND_ERROR_INTERFACE_MISMATCH

+

the interfaces of the connection and the device mismatched

 
+

-

nm_device_bond_get_hw_address ()

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

NM_DEVICE_BOND_ERROR

+
#define NM_DEVICE_BOND_ERROR nm_device_bond_error_quark ()
+

-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_get_carrier ()

-
gboolean            nm_device_bond_get_carrier          (NMDeviceBond *device);
+

NM_DEVICE_BOND_HW_ADDRESS

+
#define NM_DEVICE_BOND_HW_ADDRESS  "hw-address"
+

-Whether the device has carrier.

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

device :

a NMDeviceBond -

Returns :

-TRUE if the device has carrier

-

nm_device_bond_get_slaves ()

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

NM_DEVICE_BOND_CARRIER

+
#define NM_DEVICE_BOND_CARRIER     "carrier"
+
+

+

+
+
+
+

NM_DEVICE_BOND_SLAVES

+
#define NM_DEVICE_BOND_SLAVES      "slaves"
+

-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 NMDevice] -
-

Since 0.9.6.4

Property Details

-

The "carrier" property

-
  "carrier"                  gboolean              : Read
-

-Whether the device has carrier. -

+

The “carrier” property

+
  “carrier”                  gboolean
+

+

Flags: Read

Default value: FALSE


-

The "hw-address" property

-
  "hw-address"               gchar*                : Read
-

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

+

The “hw-address” property

+
  “hw-address”               gchar *
+

+

Flags: Read

Default value: NULL


-

The "slaves" property

-
  "slaves"                   NMObjectArray*        : Read
-

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

+

The “slaves” property

+
  “slaves”                   NMObjectArray *
+

+

Flags: Read

Since 0.9.8

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

NMDeviceBridge

NMDeviceBridge

- +
-
-

Synopsis

-
enum                NMDeviceBridgeError;
-#define             NM_DEVICE_BRIDGE_ERROR
-GQuark              nm_device_bridge_error_quark        (void);
-#define             NM_DEVICE_BRIDGE_HW_ADDRESS
-#define             NM_DEVICE_BRIDGE_CARRIER
-#define             NM_DEVICE_BRIDGE_SLAVES
-                    NMDeviceBridge;
-                    NMDeviceBridgeClass;
-GObject *           nm_device_bridge_new                (DBusGConnection *connection,
-                                                         const char *path);
-const char *        nm_device_bridge_get_hw_address     (NMDeviceBridge *device);
-gboolean            nm_device_bridge_get_carrier        (NMDeviceBridge *device);
-const GPtrArray *   nm_device_bridge_get_slaves         (NMDeviceBridge *device);
-
+
+

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 () +
-

Object Hierarchy

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

Properties

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

Implemented Interfaces

-

-NMDeviceBridge implements - GInitable and GAsyncInitable.

+

Types and Values

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

Properties

-
-  "carrier"                  gboolean              : Read
-  "hw-address"               gchar*                : Read
-  "slaves"                   NMObjectArray*        : Read
+

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ╰── NMDevice
+            ╰── NMDeviceBridge
 
@@ -87,272 +156,255 @@ NMDeviceBridge implements

-

Details

+

Functions

-

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;
-
-
+

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

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

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 -

NM_DEVICE_BRIDGE_ERROR_INTERFACE_MISMATCH

the interfaces of the connection and the device mismatched -

path

the DBus object path of the device

 
-

Since 0.9.8

-
-
-

NM_DEVICE_BRIDGE_ERROR

-
#define NM_DEVICE_BRIDGE_ERROR nm_device_bridge_error_quark ()
-
-

-

+
+

Returns

+

a new device.

+

[transfer full]

+
+

Since 0.9.8


-

nm_device_bridge_error_quark ()

-
GQuark              nm_device_bridge_error_quark        (void);
-

-Registers an error quark for NMDeviceBridge if necessary. -

-
+

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

+
--+++ - - + + +

Returns :

the error quark used for NMDeviceBridge errors.

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_HW_ADDRESS

-
#define NM_DEVICE_BRIDGE_HW_ADDRESS  "hw-address"
-
-

-

+

nm_device_bridge_get_carrier ()

+
gboolean
+nm_device_bridge_get_carrier (NMDeviceBridge *device);
+

Whether the device has carrier.

+
+

Parameters

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

device

a NMDeviceBridge

 
-
-
-

NM_DEVICE_BRIDGE_CARRIER

-
#define NM_DEVICE_BRIDGE_CARRIER     "carrier"
-
-

-

+
+

Returns

+

TRUE if the device has carrier

+

-
-
-

NM_DEVICE_BRIDGE_SLAVES

-
#define NM_DEVICE_BRIDGE_SLAVES      "slaves"
-
-

-

+

Since 0.9.8


-

NMDeviceBridge

-
typedef struct _NMDeviceBridge NMDeviceBridge;
-

-

+

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

 
-
-
-

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;
-
-

-

+
+

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 NMDevice]

-
+

Since 0.9.8

+
+
+
+

Types and Values

-

nm_device_bridge_new ()

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

-Creates a new NMDeviceBridge. -

-
+

enum NMDeviceBridgeError

+
+

Members

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

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

+
 

Returns :

a new device. [transfer full] +

NM_DEVICE_BRIDGE_ERROR_INTERFACE_MISMATCH

+

the interfaces of the connection and the device mismatched

 
+

Since 0.9.8


-

nm_device_bridge_get_hw_address ()

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

NM_DEVICE_BRIDGE_ERROR

+
#define NM_DEVICE_BRIDGE_ERROR nm_device_bridge_error_quark ()
+

-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_get_carrier ()

-
gboolean            nm_device_bridge_get_carrier        (NMDeviceBridge *device);
+

NM_DEVICE_BRIDGE_HW_ADDRESS

+
#define NM_DEVICE_BRIDGE_HW_ADDRESS  "hw-address"
+

-Whether the device has carrier.

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

device :

a NMDeviceBridge -

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);
+

NM_DEVICE_BRIDGE_CARRIER

+
#define NM_DEVICE_BRIDGE_CARRIER     "carrier"
+
+

+

+
+
+
+

NM_DEVICE_BRIDGE_SLAVES

+
#define NM_DEVICE_BRIDGE_SLAVES      "slaves"
+

-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 NMDevice] -
-

Since 0.9.8

Property Details

-

The "carrier" property

-
  "carrier"                  gboolean              : Read
-

-Whether the device has carrier. -

+

The “carrier” property

+
  “carrier”                  gboolean
+

+

Flags: Read

Default value: FALSE

Since 0.9.8


-

The "hw-address" property

-
  "hw-address"               gchar*                : Read
-

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

+

The “hw-address” property

+
  “hw-address”               gchar *
+

+

Flags: Read

Default value: NULL

Since 0.9.8


-

The "slaves" property

-
  "slaves"                   NMObjectArray*        : Read
-

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

+

The “slaves” property

+
  “slaves”                   NMObjectArray *
+

+

Flags: Read

Since 0.9.8

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

NMDeviceBt

NMDeviceBt

- +
-
-

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;
-
-
+

Functions

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

NM_DEVICE_BT_ERROR_UNKNOWN

unknown or unclassified error + +GQuark

NM_DEVICE_BT_ERROR_NOT_BT_CONNECTION

the connection was not of bluetooth type + +nm_device_bt_error_quark ()

NM_DEVICE_BT_ERROR_INVALID_BT_CONNECTION

the bluetooth connection was invalid + +GObject * + +nm_device_bt_new ()

NM_DEVICE_BT_ERROR_INVALID_DEVICE_MAC

the device's MAC was invalid +const char * + +nm_device_bt_get_hw_address ()

NM_DEVICE_BT_ERROR_MAC_MISMATCH

the MACs of the connection and the device mismatched +const char * + +nm_device_bt_get_name ()

NM_DEVICE_BT_ERROR_MISSING_DEVICE_CAPS

the device missed required capabilities + +NMBluetoothCapabilities + +nm_device_bt_get_capabilities ()
-
-
-

NM_DEVICE_BT_ERROR

-
#define NM_DEVICE_BT_ERROR nm_device_bt_error_quark ()
-
-

-

+
+

Properties

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

nm_device_bt_error_quark ()

-
GQuark              nm_device_bt_error_quark            (void);
-

-Registers an error quark for NMDeviceBt if necessary. -

-
+
+

Types and Values

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

Returns :

the error quark used for NMDeviceBt errors.
enumNMDeviceBtError
#defineNM_DEVICE_BT_ERROR
#defineNM_DEVICE_BT_HW_ADDRESS
#defineNM_DEVICE_BT_NAME
#defineNM_DEVICE_BT_CAPABILITIES
-
-
-

NM_DEVICE_BT_HW_ADDRESS

-
#define NM_DEVICE_BT_HW_ADDRESS   "hw-address"
+
+

Object Hierarchy

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

-

-
-
-

NM_DEVICE_BT_NAME

-
#define NM_DEVICE_BT_NAME         "name"
-
+
+

Description

-
+
+

Functions

-

NM_DEVICE_BT_CAPABILITIES

-
#define NM_DEVICE_BT_CAPABILITIES "bt-capabilities"
-
-

-

+

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.

+

-
-
-

NMDeviceBt

-
typedef struct _NMDeviceBt NMDeviceBt;
-

-


-

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. -

-
+

nm_device_bt_new ()

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

Creates a new NMDeviceBt.

+
+

Parameters

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

connection :

the DBusGConnection -

connection

the DBusGConnection

 

path :

the DBus object path of the device

Returns :

a new device. [transfer full] -

path

the DBus object path of the device

 
+
+

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 -

-
+

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

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

device :

a NMDeviceBt -

Returns :

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

device

a NMDeviceBt

 
+
+

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. -

-
+

nm_device_bt_get_name ()

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

Gets the name of the NMDeviceBt.

+
+

Parameters

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

device :

a NMDeviceBt -

Returns :

the name of the device

device

a NMDeviceBt

 
+
+

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. -

-
+

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

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

device :

a NMDeviceBt +

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

 

Returns :

a combination of NMBluetoothCapabilities +

NM_DEVICE_BT_ERROR_MISSING_DEVICE_CAPS

+

the device missed required capabilities

 
-
-

Property Details

+
-

The "bt-capabilities" property

-
  "bt-capabilities"          guint                 : Read
+

NM_DEVICE_BT_ERROR

+
#define NM_DEVICE_BT_ERROR nm_device_bt_error_quark ()
+

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

-

Default value: 0


-

The "hw-address" property

-
  "hw-address"               gchar*                : Read
+

NM_DEVICE_BT_HW_ADDRESS

+
#define NM_DEVICE_BT_HW_ADDRESS   "hw-address"
+

-The hardware (MAC) address of the device.

-

Default value: NULL


-

The "name" property

-
  "name"                     gchar*                : Read
+

NM_DEVICE_BT_NAME

+
#define NM_DEVICE_BT_NAME         "name"
+
+

+

+
+
+
+

NM_DEVICE_BT_CAPABILITIES

+
#define NM_DEVICE_BT_CAPABILITIES "bt-capabilities"
+

-The name of the bluetooth device.

+
+
+
+

Property Details

+
+

The “bt-capabilities” property

+
  “bt-capabilities”          guint
+

+

Flags: Read

+

Default value: 0

+
+
+
+

The “hw-address” property

+
  “hw-address”               gchar *
+

+

Flags: Read

+

Default value: NULL

+
+
+
+

The “name” property

+
  “name”                     gchar *
+

+

Flags: Read

Default value: NULL

+ Generated by GTK-Doc V1.21
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMDeviceEthernet.html b/docs/libnm-glib/html/NMDeviceEthernet.html index 96c3a074..86f4898c 100644 --- a/docs/libnm-glib/html/NMDeviceEthernet.html +++ b/docs/libnm-glib/html/NMDeviceEthernet.html @@ -2,36 +2,28 @@ -NMDeviceEthernet +libnm-glib Reference Manual: NMDeviceEthernet - + - - - - - - - - - - + + + + + + +
@@ -39,363 +31,437 @@

NMDeviceEthernet

NMDeviceEthernet

- +
- -
-

Object Hierarchy

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

Implemented Interfaces

-

-NMDeviceEthernet implements - GInitable and GAsyncInitable.

-
-
-

Properties

-
-  "carrier"                  gboolean              : Read
-  "hw-address"               gchar*                : Read
-  "perm-hw-address"          gchar*                : Read
-  "speed"                    guint                 : Read
-
-
-

Description

-

-

-
-
-

Details

-
-

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;
-
-
+

Functions

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

NM_DEVICE_ETHERNET_ERROR_UNKNOWN

unknown or unclassified error + +GQuark + +nm_device_ethernet_error_quark ()

NM_DEVICE_ETHERNET_ERROR_NOT_ETHERNET_CONNECTION

the connection was not of Ethernet or PPPoE type + +GObject * + +nm_device_ethernet_new () +
const char * + +nm_device_ethernet_get_hw_address ()

NM_DEVICE_ETHERNET_ERROR_INVALID_ETHERNET_CONNECTION

the Ethernet connection was invalid +const char * + +nm_device_ethernet_get_permanent_hw_address ()

NM_DEVICE_ETHERNET_ERROR_INVALID_DEVICE_MAC

the device's MAC was invalid + +guint32 + +nm_device_ethernet_get_speed ()

NM_DEVICE_ETHERNET_ERROR_MAC_MISMATCH

the MACs of the connection and the device mismatched + +gboolean + +nm_device_ethernet_get_carrier ()
-
-
-

NM_DEVICE_ETHERNET_ERROR

-
#define NM_DEVICE_ETHERNET_ERROR nm_device_ethernet_error_quark ()
-
-

-

-
-
-
-

nm_device_ethernet_error_quark ()

-
GQuark              nm_device_ethernet_error_quark      (void);
-

-Registers an error quark for NMDeviceEthernet if necessary. -

-
+
+

Properties

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

Returns :

the error quark used for NMDeviceEthernet errors.
gbooleancarrierRead
+gchar *hw-addressRead
+gchar *perm-hw-addressRead
guintspeedRead
-
-
-

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"
-
-

-

+
+

Types and Values

+
-
-
-

NM_DEVICE_ETHERNET_SPEED

-
#define NM_DEVICE_ETHERNET_SPEED       "speed"
+
+

Object Hierarchy

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

-

-
-
-

NM_DEVICE_ETHERNET_CARRIER

-
#define NM_DEVICE_ETHERNET_CARRIER     "carrier"
-
+
+

Description

-
+
+

Functions

-

NMDeviceEthernet

-
typedef struct _NMDeviceEthernet NMDeviceEthernet;
-

-

+

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.

+

-
-
-

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;
-
-

-


-

nm_device_ethernet_new ()

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

-Creates a new NMDeviceEthernet. -

-
+

nm_device_ethernet_new ()

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

Creates a new NMDeviceEthernet.

+
+

Parameters

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

connection :

the DBusGConnection -

path :

the DBus object path of the device

connection

the DBusGConnection

 

Returns :

a new device. [transfer full] -

path

the DBus object path of the device

 
+
+

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 -

-
+

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.

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_get_permanent_hw_address ()

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

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

-
+

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

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

device :

a NMDeviceEthernet -

Returns :

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

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_get_speed ()

-
guint32             nm_device_ethernet_get_speed        (NMDeviceEthernet *device);
-

-Gets the speed of the NMDeviceEthernet. -

-
+

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

device

a NMDeviceEthernet

 
+
+

Returns

+

the speed of the device

+

+
+

-

nm_device_ethernet_get_carrier ()

-
gboolean            nm_device_ethernet_get_carrier      (NMDeviceEthernet *device);
-

-Whether the device has carrier. -

-
+

nm_device_ethernet_get_carrier ()

+
gboolean
+nm_device_ethernet_get_carrier (NMDeviceEthernet *device);
+

Whether the device has carrier.

+
+

Parameters

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

device

a NMDeviceEthernet

 
+
+
+

Returns

+

TRUE if the device has carrier

+

+
+
+
+
+

Types and Values

+
+

enum NMDeviceEthernetError

+
+

Members

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

device :

a NMDeviceEthernet +

NM_DEVICE_ETHERNET_ERROR_UNKNOWN

+

unknown or unclassified error

 

Returns :

-TRUE if the device has carrier

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

+
 

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

+
 
-
-

Property Details

+
-

The "carrier" property

-
  "carrier"                  gboolean              : Read
+

NM_DEVICE_ETHERNET_ERROR

+
#define NM_DEVICE_ETHERNET_ERROR nm_device_ethernet_error_quark ()
+

-Whether the device has carrier.

-

Default value: FALSE


-

The "hw-address" property

-
  "hw-address"               gchar*                : Read
+

NM_DEVICE_ETHERNET_HW_ADDRESS

+
#define NM_DEVICE_ETHERNET_HW_ADDRESS  "hw-address"
+

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

-

Default value: NULL


-

The "perm-hw-address" property

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

NM_DEVICE_ETHERNET_PERMANENT_HW_ADDRESS

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

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

-

Default value: NULL


-

The "speed" property

-
  "speed"                    guint                 : Read
+

NM_DEVICE_ETHERNET_SPEED

+
#define NM_DEVICE_ETHERNET_SPEED       "speed"
+
+

+

+
+
+
+

NM_DEVICE_ETHERNET_CARRIER

+
#define NM_DEVICE_ETHERNET_CARRIER     "carrier"
+

-The speed of the device.

+
+
+
+

Property Details

+
+

The “carrier” property

+
  “carrier”                  gboolean
+

+

Flags: Read

+

Default value: FALSE

+
+
+
+

The “hw-address” property

+
  “hw-address”               gchar *
+

+

Flags: Read

+

Default value: NULL

+
+
+
+

The “perm-hw-address” property

+
  “perm-hw-address”          gchar *
+

+

Flags: Read

+

Default value: NULL

+
+
+
+

The “speed” property

+
  “speed”                    guint
+

+

Flags: Read

Default value: 0

+ Generated by GTK-Doc V1.21
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMDeviceGeneric.html b/docs/libnm-glib/html/NMDeviceGeneric.html index adc23c0b..e663d8d7 100644 --- a/docs/libnm-glib/html/NMDeviceGeneric.html +++ b/docs/libnm-glib/html/NMDeviceGeneric.html @@ -2,36 +2,28 @@ -NMDeviceGeneric +libnm-glib Reference Manual: NMDeviceGeneric - + - - - - - - - - - - + + + + + + +
@@ -39,42 +31,99 @@

NMDeviceGeneric

NMDeviceGeneric

- +
-
-

Synopsis

-
enum                NMDeviceGenericError;
-#define             NM_DEVICE_GENERIC_ERROR
-GQuark              nm_device_generic_error_quark       (void);
-#define             NM_DEVICE_GENERIC_HW_ADDRESS
-#define             NM_DEVICE_GENERIC_TYPE_DESCRIPTION
-                    NMDeviceGeneric;
-                    NMDeviceGenericClass;
-GObject *           nm_device_generic_new               (DBusGConnection *connection,
-                                                         const char *path);
-const char *        nm_device_generic_get_hw_address    (NMDeviceGeneric *device);
-
+
+

Functions

+
++++ + + + + + + + + + + + + + + +
+GQuark + +nm_device_generic_error_quark () +
+GObject * + +nm_device_generic_new () +
const char * + +nm_device_generic_get_hw_address () +
-

Object Hierarchy

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

Properties

+
+++++ + + + + + + + + + + + + +
+gchar *hw-addressRead
+gchar *type-descriptionRead
-

Implemented Interfaces

-

-NMDeviceGeneric implements - GInitable and GAsyncInitable.

+

Types and Values

+
-

Properties

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

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ╰── NMDevice
+            ╰── NMDeviceGeneric
 
@@ -83,191 +132,169 @@ NMDeviceGeneric implements

-

Details

+

Functions

-

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_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_new ()

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

Creates a new NMDeviceGeneric.

+
+

Parameters

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

NM_DEVICE_GENERIC_ERROR_UNKNOWN

unknown or unclassified error -

connection

the DBusGConnection

 

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 -

path

the DBus object path of the device

 
-
-
-

NM_DEVICE_GENERIC_ERROR

-
#define NM_DEVICE_GENERIC_ERROR nm_device_generic_error_quark ()
-
-

-

+
+

Returns

+

a new device.

+

[transfer full]

+
+

Since 0.9.10


-

nm_device_generic_error_quark ()

-
GQuark              nm_device_generic_error_quark       (void);
-

-Registers an error quark for NMDeviceGeneric if necessary. -

-
+

nm_device_generic_get_hw_address ()

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

Gets the hardware address of the NMDeviceGeneric

+
+

Parameters

+
--+++ - - + + +

Returns :

the error quark used for NMDeviceGeneric errors.

device

a NMDeviceGeneric

 
-

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"
-
-

-

+
+

Returns

+

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

+

-
-
-

NMDeviceGeneric

-
typedef struct _NMDeviceGeneric NMDeviceGeneric;
-

-

+

Since 0.9.10

-
-
-

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;
-
-

-

-
+
+

Types and Values

-

nm_device_generic_new ()

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

-Creates a new NMDeviceGeneric. -

-
+

enum NMDeviceGenericError

+
+

Members

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

connection :

the DBusGConnection +

NM_DEVICE_GENERIC_ERROR_UNKNOWN

+

unknown or unclassified error

 

path :

the DBus object path of the device

NM_DEVICE_GENERIC_ERROR_NOT_GENERIC_CONNECTION

+

the connection was not of generic type

+
 

Returns :

a new device. [transfer full] +

NM_DEVICE_GENERIC_ERROR_MISSING_INTERFACE_NAME

+

the connection did not specify the interface name

 
-

Since 0.9.10

+

-

nm_device_generic_get_hw_address ()

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

NM_DEVICE_GENERIC_ERROR

+
#define NM_DEVICE_GENERIC_ERROR nm_device_generic_error_quark ()
+

-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
+

NM_DEVICE_GENERIC_HW_ADDRESS

+
#define NM_DEVICE_GENERIC_HW_ADDRESS       "hw-address"
+

-The hardware address of the device.

-

Default value: NULL


-

The "type-description" property

-
  "type-description"         gchar*                : Read
+

NM_DEVICE_GENERIC_TYPE_DESCRIPTION

+
#define NM_DEVICE_GENERIC_TYPE_DESCRIPTION "type-description"
+

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

+
+
+
+

Property Details

+
+

The “hw-address” property

+
  “hw-address”               gchar *
+

+

Flags: Read

+

Default value: NULL

+
+
+
+

The “type-description” property

+
  “type-description”         gchar *
+

+

Flags: Read

Default value: NULL

+ Generated by GTK-Doc V1.21
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMDeviceInfiniband.html b/docs/libnm-glib/html/NMDeviceInfiniband.html index e4aed60a..48b6c887 100644 --- a/docs/libnm-glib/html/NMDeviceInfiniband.html +++ b/docs/libnm-glib/html/NMDeviceInfiniband.html @@ -2,36 +2,28 @@ -NMDeviceInfiniband +libnm-glib Reference Manual: NMDeviceInfiniband - + - - - - - - - - - - + + + + + + +
@@ -39,270 +31,315 @@

NMDeviceInfiniband

NMDeviceInfiniband

- +
- -
-

Object Hierarchy

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

Implemented Interfaces

-

-NMDeviceInfiniband implements - GInitable and GAsyncInitable.

-
-
-

Properties

-
-  "carrier"                  gboolean              : Read
-  "hw-address"               gchar*                : Read
-
-
-
-

Description

-

-

-
-

Details

-
-

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;
-
-
+

Functions

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

NM_DEVICE_INFINIBAND_ERROR_UNKNOWN

unknown or unclassified error + +GQuark

NM_DEVICE_INFINIBAND_ERROR_NOT_INFINIBAND_CONNECTION

the connection was not of InfiniBand type + +nm_device_infiniband_error_quark ()

NM_DEVICE_INFINIBAND_ERROR_INVALID_INFINIBAND_CONNECTION

the InfiniBand connection was invalid + +GObject * + +nm_device_infiniband_new ()

NM_DEVICE_INFINIBAND_ERROR_INVALID_DEVICE_MAC

the device's MAC was invalid +const char * + +nm_device_infiniband_get_hw_address ()

NM_DEVICE_INFINIBAND_ERROR_MAC_MISMATCH

the MACs of the connection and the device mismatched + +gboolean + +nm_device_infiniband_get_carrier ()
-
-
-

NM_DEVICE_INFINIBAND_ERROR

-
#define NM_DEVICE_INFINIBAND_ERROR nm_device_infiniband_error_quark ()
-
-

-

+
+

Properties

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

nm_device_infiniband_error_quark ()

-
GQuark              nm_device_infiniband_error_quark    (void);
-

-Registers an error quark for NMDeviceInfiniband if necessary. -

-
+
+

Types and Values

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

Returns :

the error quark used for NMDeviceInfiniband errors.
enumNMDeviceInfinibandError
#defineNM_DEVICE_INFINIBAND_ERROR
#defineNM_DEVICE_INFINIBAND_HW_ADDRESS
#defineNM_DEVICE_INFINIBAND_CARRIER
-
-
-

NM_DEVICE_INFINIBAND_HW_ADDRESS

-
#define NM_DEVICE_INFINIBAND_HW_ADDRESS  "hw-address"
+
+

Object Hierarchy

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

-

-
-
-

NM_DEVICE_INFINIBAND_CARRIER

-
#define NM_DEVICE_INFINIBAND_CARRIER     "carrier"
-
+
+

Description

-
+
+

Functions

-

NMDeviceInfiniband

-
typedef struct _NMDeviceInfiniband NMDeviceInfiniband;
-

-

+

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.

+

-
-
-

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;
-
-

-


-

nm_device_infiniband_new ()

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

-Creates a new NMDeviceInfiniband. -

-
+

nm_device_infiniband_new ()

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

Creates a new NMDeviceInfiniband.

+
+

Parameters

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

connection :

the DBusGConnection -

path :

the DBus object path of the device

connection

the DBusGConnection

 

Returns :

a new device. [transfer full] -

path

the DBus object path of the device

 
+
+

Returns

+

a new device.

+

[transfer full]

+
+

-

nm_device_infiniband_get_hw_address ()

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

-Gets the hardware (MAC) address of the NMDeviceInfiniband -

-
+

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

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

device :

a NMDeviceInfiniband -

Returns :

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

device

a NMDeviceInfiniband

 
+
+

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. -

-
+

nm_device_infiniband_get_carrier ()

+
gboolean
+nm_device_infiniband_get_carrier (NMDeviceInfiniband *device);
+

Whether the device has carrier.

+
+

Parameters

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

device

a NMDeviceInfiniband

 
+
+
+

Returns

+

TRUE if the device has carrier

+

+
+
+
+
+

Types and Values

+
+

enum NMDeviceInfinibandError

+
+

Members

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

device :

a NMDeviceInfiniband +

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

+
 

NM_DEVICE_INFINIBAND_ERROR_INVALID_DEVICE_MAC

+

the device's MAC was invalid

 

Returns :

-TRUE if the device has carrier

NM_DEVICE_INFINIBAND_ERROR_MAC_MISMATCH

+

the MACs of the connection and the device mismatched

+
 
-
-

Property Details

+
-

The "carrier" property

-
  "carrier"                  gboolean              : Read
+

NM_DEVICE_INFINIBAND_ERROR

+
#define NM_DEVICE_INFINIBAND_ERROR nm_device_infiniband_error_quark ()
+

-Whether the device has carrier.

-

Default value: FALSE


-

The "hw-address" property

-
  "hw-address"               gchar*                : Read
+

NM_DEVICE_INFINIBAND_HW_ADDRESS

+
#define NM_DEVICE_INFINIBAND_HW_ADDRESS  "hw-address"
+
+

+

+
+
+
+

NM_DEVICE_INFINIBAND_CARRIER

+
#define NM_DEVICE_INFINIBAND_CARRIER     "carrier"
+

-The hardware (MAC) address of the device.

+
+
+
+

Property Details

+
+

The “carrier” property

+
  “carrier”                  gboolean
+

+

Flags: Read

+

Default value: FALSE

+
+
+
+

The “hw-address” property

+
  “hw-address”               gchar *
+

+

Flags: Read

Default value: NULL

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

NMDeviceModem

NMDeviceModem

- +
-
-

Synopsis

-
enum                NMDeviceModemError;
-#define             NM_DEVICE_MODEM_ERROR
-GQuark              nm_device_modem_error_quark         (void);
-#define             NM_DEVICE_MODEM_MODEM_CAPABILITIES
-#define             NM_DEVICE_MODEM_CURRENT_CAPABILITIES
-                    NMDeviceModem;
-                    NMDeviceModemClass;
-NMDeviceModemCapabilities nm_device_modem_get_modem_capabilities
-                                                        (NMDeviceModem *self);
-NMDeviceModemCapabilities nm_device_modem_get_current_capabilities
-                                                        (NMDeviceModem *self);
-
+
-

Object Hierarchy

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

Properties

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

Implemented Interfaces

-

-NMDeviceModem implements - GInitable and GAsyncInitable.

+

Types and Values

+
-

Properties

-
-  "current-capabilities"     guint                 : Read
-  "modem-capabilities"       guint                 : Read
+

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ╰── NMDevice
+            ╰── NMDeviceModem
 
@@ -84,45 +131,125 @@ NMDeviceModem implements

-

Details

+

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

enum NMDeviceModemError

-
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;
-
-
+
+

Members

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

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

@@ -133,24 +260,6 @@ NMDeviceModem implements

-

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"
 
@@ -165,116 +274,28 @@ Registers an error quark for -

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                 : Read
-

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

+

The “current-capabilities” property

+
  “current-capabilities”     guint
+

+

Flags: Read

Default value: 0


-

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. -

+

The “modem-capabilities” property

+
  “modem-capabilities”       guint
+

+

Flags: Read

Default value: 0

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

NMDeviceOlpcMesh

NMDeviceOlpcMesh

- +
-
-

Synopsis

-
enum                NMDeviceOlpcMeshError;
-#define             NM_DEVICE_OLPC_MESH_ERROR
-GQuark              nm_device_olpc_mesh_error_quark     (void);
-#define             NM_DEVICE_OLPC_MESH_HW_ADDRESS
-#define             NM_DEVICE_OLPC_MESH_COMPANION
-#define             NM_DEVICE_OLPC_MESH_ACTIVE_CHANNEL
-                    NMDeviceOlpcMesh;
-                    NMDeviceOlpcMeshClass;
-GObject *           nm_device_olpc_mesh_new             (DBusGConnection *connection,
-                                                         const char *path);
-const char *        nm_device_olpc_mesh_get_hw_address  (NMDeviceOlpcMesh *device);
-NMDeviceWifi *      nm_device_olpc_mesh_get_companion   (NMDeviceOlpcMesh *device);
-guint32             nm_device_olpc_mesh_get_active_channel
-                                                        (NMDeviceOlpcMesh *device);
-
+
+

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 () +
-

Object Hierarchy

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

Properties

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

Implemented Interfaces

-

-NMDeviceOlpcMesh implements - GInitable and GAsyncInitable.

+

Types and Values

+
-

Properties

-
-  "active-channel"           guint                 : Read
-  "companion"                NMDeviceWifi*         : Read
-  "hw-address"               gchar*                : Read
+

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ╰── NMDevice
+            ╰── NMDeviceOlpcMesh
 
@@ -88,255 +157,236 @@ NMDeviceOlpcMesh implements

-

Details

+

Functions

-

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;
-
-
+

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

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

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 -

connection

the DBusGConnection

 

NM_DEVICE_OLPC_MESH_ERROR_INVALID_OLPC_MESH_CONNECTION

the Olpc Mesh connection was invalid -

path

the DBus object path of the device

 
-
-
-

NM_DEVICE_OLPC_MESH_ERROR

-
#define NM_DEVICE_OLPC_MESH_ERROR nm_device_olpc_mesh_error_quark ()
-
-

-

+
+

Returns

+

a new OlpcMesh device.

+

[transfer full]

+

-

nm_device_olpc_mesh_error_quark ()

-
GQuark              nm_device_olpc_mesh_error_quark     (void);
-

-Registers an error quark for NMDeviceOlpcMesh if necessary. -

-
+

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

+
--+++ - - + + +

Returns :

the error quark used for NMDeviceOlpcMesh errors.

device

a NMDeviceOlpcMesh

 
-
-
-

NM_DEVICE_OLPC_MESH_HW_ADDRESS

-
#define NM_DEVICE_OLPC_MESH_HW_ADDRESS     "hw-address"
-
-

-

+
+

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_ACTIVE_CHANNEL

-
#define NM_DEVICE_OLPC_MESH_ACTIVE_CHANNEL "active-channel"
-
-

-

+

nm_device_olpc_mesh_get_companion ()

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

Gets the companion device of the NMDeviceOlpcMesh.

+
+

Parameters

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

device

a NMDeviceOlpcMesh

 
+
+
+

Returns

+

the companion of the device of NULL.

+

[transfer none]

-
-
-

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;
-
-

-

+

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

 
-
+
+

Returns

+

active channel of the device

+

+
+
+
+
+

Types and Values

-

nm_device_olpc_mesh_new ()

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

-Creates a new NMDeviceOlpcMesh. -

-
+

enum NMDeviceOlpcMeshError

+
+

Members

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

connection :

the DBusGConnection +

NM_DEVICE_OLPC_MESH_ERROR_UNKNOWN

+

unknown or unclassified error

 

path :

the DBus object path of the device

NM_DEVICE_OLPC_MESH_ERROR_NOT_OLPC_MESH_CONNECTION

+

the connection was not of Olpc Mesh type

+
 

Returns :

a new OlpcMesh device. [transfer full] +

NM_DEVICE_OLPC_MESH_ERROR_INVALID_OLPC_MESH_CONNECTION

+

the Olpc Mesh connection was invalid

 
+

-

nm_device_olpc_mesh_get_hw_address ()

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

NM_DEVICE_OLPC_MESH_ERROR

+
#define NM_DEVICE_OLPC_MESH_ERROR nm_device_olpc_mesh_error_quark ()
+

-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_get_companion ()

-
NMDeviceWifi *      nm_device_olpc_mesh_get_companion   (NMDeviceOlpcMesh *device);
+

NM_DEVICE_OLPC_MESH_HW_ADDRESS

+
#define NM_DEVICE_OLPC_MESH_HW_ADDRESS     "hw-address"
+

-Gets the companion device of the NMDeviceOlpcMesh.

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

device :

a NMDeviceOlpcMesh -

Returns :

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

-

nm_device_olpc_mesh_get_active_channel ()

-
guint32             nm_device_olpc_mesh_get_active_channel
-                                                        (NMDeviceOlpcMesh *device);
+

NM_DEVICE_OLPC_MESH_COMPANION

+
#define NM_DEVICE_OLPC_MESH_COMPANION      "companion"
+
+

+

+
+
+
+

NM_DEVICE_OLPC_MESH_ACTIVE_CHANNEL

+
#define NM_DEVICE_OLPC_MESH_ACTIVE_CHANNEL "active-channel"
+

-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                 : Read
-

-The device's active channel. -

+

The “active-channel” property

+
  “active-channel”           guint
+

+

Flags: Read

Default value: 0


-

The "companion" property

-
  "companion"                NMDeviceWifi*         : Read
-

-The companion device. -

+

The “companion” property

+
  “companion”                NMDeviceWifi *
+

+

Flags: Read


-

The "hw-address" property

-
  "hw-address"               gchar*                : Read
-

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

+

The “hw-address” property

+
  “hw-address”               gchar *
+

+

Flags: Read

Default value: NULL

+ Generated by GTK-Doc V1.21
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMDeviceTeam.html b/docs/libnm-glib/html/NMDeviceTeam.html index 9160805e..0b07f9eb 100644 --- a/docs/libnm-glib/html/NMDeviceTeam.html +++ b/docs/libnm-glib/html/NMDeviceTeam.html @@ -2,36 +2,28 @@ -NMDeviceTeam +libnm-glib Reference Manual: NMDeviceTeam - + - - - - - - - - - - + + + + + + +
@@ -39,316 +31,376 @@

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;
-
-
+

Functions

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

NM_DEVICE_TEAM_ERROR_UNKNOWN

unknown or unclassified error + +GQuark + +nm_device_team_error_quark ()

NM_DEVICE_TEAM_ERROR_NOT_TEAM_CONNECTION

the connection was not of team type + +GObject * + +nm_device_team_new ()

NM_DEVICE_TEAM_ERROR_INVALID_TEAM_CONNECTION

the team connection was invalid +const char * + +nm_device_team_get_hw_address () +
+gboolean + +nm_device_team_get_carrier ()

NM_DEVICE_TEAM_ERROR_INTERFACE_MISMATCH

the interfaces of the connection and the device mismatched +const GPtrArray * + +nm_device_team_get_slaves ()
-
-
-

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. -

-
+
+

Properties

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

Returns :

the error quark used for NMDeviceTeam errors.
gbooleancarrierRead
+gchar *hw-addressRead
+NMObjectArray *slavesRead
-

Since 0.9.10

-
-
-

NM_DEVICE_TEAM_HW_ADDRESS

-
#define NM_DEVICE_TEAM_HW_ADDRESS  "hw-address"
-
-

-

+
+

Types and Values

+
++++ + + + + + + + + + + + + + + + + + + + + + + +
enumNMDeviceTeamError
#defineNM_DEVICE_TEAM_ERROR
#defineNM_DEVICE_TEAM_HW_ADDRESS
#defineNM_DEVICE_TEAM_CARRIER
#defineNM_DEVICE_TEAM_SLAVES
-
-
-

NM_DEVICE_TEAM_CARRIER

-
#define NM_DEVICE_TEAM_CARRIER     "carrier"
+
+

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ╰── NMDevice
+            ╰── NMDeviceTeam
 
-

-

-
-
-

NM_DEVICE_TEAM_SLAVES

-
#define NM_DEVICE_TEAM_SLAVES      "slaves"
-
+
+

Description

-
+
+

Functions

-

NMDeviceTeam

-
typedef struct _NMDeviceTeam NMDeviceTeam;
-

-

+

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.

+

-
-
-

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;
-
-

-

+

Since 0.9.10


-

nm_device_team_new ()

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

-Creates a new NMDeviceTeam. -

-
+

nm_device_team_new ()

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

Creates a new NMDeviceTeam.

+
+

Parameters

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

connection :

the DBusGConnection -

path :

the DBus object path of the device

connection

the DBusGConnection

 

Returns :

a new device. [transfer full] -

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 -

-
+

nm_device_team_get_hw_address ()

+
const char *
+nm_device_team_get_hw_address (NMDeviceTeam *device);
+

Gets the hardware (MAC) address of the NMDeviceTeam

+
+

Parameters

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

device :

a NMDeviceTeam -

Returns :

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

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. -

-
+

nm_device_team_get_carrier ()

+
gboolean
+nm_device_team_get_carrier (NMDeviceTeam *device);
+

Whether the device has carrier.

+
+

Parameters

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

device :

a NMDeviceTeam -

Returns :

-TRUE if 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. -

-
+

nm_device_team_get_slaves ()

+
const GPtrArray *
+nm_device_team_get_slaves (NMDeviceTeam *device);
+

Gets the devices currently enslaved to device +.

+
+

Parameters

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

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 NMDevice]

+
+

Since 0.9.10

+
+
+
+

Types and Values

+
+

enum NMDeviceTeamError

+
+

Members

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

device :

a NMDeviceTeam +

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

 

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 NMDevice] +

NM_DEVICE_TEAM_ERROR_INTERFACE_MISMATCH

+

the interfaces of the connection and the device mismatched

 
-

Since 0.9.10

-
-

Property Details

+
-

The "carrier" property

-
  "carrier"                  gboolean              : Read
+

NM_DEVICE_TEAM_ERROR

+
#define NM_DEVICE_TEAM_ERROR nm_device_team_error_quark ()
+

-Whether the device has carrier.

-

Default value: FALSE


-

The "hw-address" property

-
  "hw-address"               gchar*                : Read
+

NM_DEVICE_TEAM_HW_ADDRESS

+
#define NM_DEVICE_TEAM_HW_ADDRESS  "hw-address"
+

-The hardware (MAC) address of the device.

-

Default value: NULL


-

The "slaves" property

-
  "slaves"                   NMObjectArray*        : Read
+

NM_DEVICE_TEAM_CARRIER

+
#define NM_DEVICE_TEAM_CARRIER     "carrier"
+
+

+

+
+
+
+

NM_DEVICE_TEAM_SLAVES

+
#define NM_DEVICE_TEAM_SLAVES      "slaves"
+

-The devices (NMDevice) enslaved to the team device.

+
+

Property Details

+
+

The “carrier” property

+
  “carrier”                  gboolean
+

+

Flags: Read

+

Default value: FALSE

+
+
+
+

The “hw-address” property

+
  “hw-address”               gchar *
+

+

Flags: Read

+

Default value: NULL

+
+
+
+

The “slaves” property

+
  “slaves”                   NMObjectArray *
+

+

Flags: Read

+
+
+ Generated by GTK-Doc V1.21
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMDeviceVlan.html b/docs/libnm-glib/html/NMDeviceVlan.html index 48198bf6..e28b1978 100644 --- a/docs/libnm-glib/html/NMDeviceVlan.html +++ b/docs/libnm-glib/html/NMDeviceVlan.html @@ -2,36 +2,28 @@ -NMDeviceVlan +libnm-glib Reference Manual: NMDeviceVlan - + - - - - - - - - - - + + + + + + +
@@ -39,356 +31,436 @@

NMDeviceVlan

NMDeviceVlan

- +
- -
-

Object Hierarchy

-
-  GObject
-   +----NMObject
-         +----NMDevice
-               +----NMDeviceVlan
-
-
-
-

Implemented Interfaces

-

-NMDeviceVlan implements - GInitable and GAsyncInitable.

-
-
-

Properties

-
-  "carrier"                  gboolean              : Read
-  "hw-address"               gchar*                : Read
-  "parent"                   NMDevice*             : Read
-  "vlan-id"                  guint                 : Read
-
-
-

Description

-

-

-
-
-

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;
-
-
+

Functions

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

NM_DEVICE_VLAN_ERROR_UNKNOWN

unknown or unclassified error + +GQuark + +nm_device_vlan_error_quark ()

NM_DEVICE_VLAN_ERROR_NOT_VLAN_CONNECTION

the connection was not of VLAN type + +GObject * + +nm_device_vlan_new ()

NM_DEVICE_VLAN_ERROR_INVALID_VLAN_CONNECTION

the VLAN connection was invalid +const char * + +nm_device_vlan_get_hw_address ()

NM_DEVICE_VLAN_ERROR_ID_MISMATCH

the VLAN identifiers of the connection and the device mismatched + +gboolean + +nm_device_vlan_get_carrier ()

NM_DEVICE_VLAN_ERROR_INTERFACE_MISMATCH

the interfaces of the connection and the device mismatched + +NMDevice * + +nm_device_vlan_get_parent ()

NM_DEVICE_VLAN_ERROR_MAC_MISMATCH

the MACs of the connection and the device mismatched + +guint + +nm_device_vlan_get_vlan_id ()
-
-
-

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. -

-
+
+

Properties

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

Returns :

the error quark used for NMDeviceVlan errors.
gbooleancarrierRead
+gchar *hw-addressRead
+NMDevice *parentRead
guintvlan-idRead
-
-
-

NM_DEVICE_VLAN_HW_ADDRESS

-
#define NM_DEVICE_VLAN_HW_ADDRESS  "hw-address"
-
-

-

-
-
-
-

NM_DEVICE_VLAN_CARRIER

-
#define NM_DEVICE_VLAN_CARRIER     "carrier"
-
-

-

+
+

Types and Values

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + +
enumNMDeviceVlanError
#defineNM_DEVICE_VLAN_ERROR
#defineNM_DEVICE_VLAN_HW_ADDRESS
#defineNM_DEVICE_VLAN_CARRIER
#defineNM_DEVICE_VLAN_PARENT
#defineNM_DEVICE_VLAN_VLAN_ID
-
-
-

NM_DEVICE_VLAN_PARENT

-
#define NM_DEVICE_VLAN_PARENT      "parent"
+
+

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ╰── NMDevice
+            ╰── NMDeviceVlan
 
-

-

-
-
-

NM_DEVICE_VLAN_VLAN_ID

-
#define NM_DEVICE_VLAN_VLAN_ID     "vlan-id"
-
+
+

Description

-
+
+

Functions

-

NMDeviceVlan

-
typedef struct _NMDeviceVlan NMDeviceVlan;
-

-

+

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.

+

-
-
-

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. -

-
+

nm_device_vlan_new ()

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

Creates a new NMDeviceVlan.

+
+

Parameters

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

connection :

the DBusGConnection -

path :

the DBus object path of the device

connection

the DBusGConnection

 

Returns :

a new device. [transfer full] -

path

the DBus object path of the device

 
+
+

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 -

-
+

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

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

device :

a NMDeviceVlan -

Returns :

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

device

a NMDeviceVlan

 
+
+

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. -

-
+

nm_device_vlan_get_carrier ()

+
gboolean
+nm_device_vlan_get_carrier (NMDeviceVlan *device);
+

Whether the device has carrier.

+
+

Parameters

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

device :

a NMDeviceVlan -

Returns :

-TRUE if the device has carrier

device

a NMDeviceVlan

 
+
+

Returns

+

TRUE if the device has carrier

+

+
+

-

nm_device_vlan_get_parent ()

-
NMDevice *          nm_device_vlan_get_parent           (NMDeviceVlan *device);
-
+

nm_device_vlan_get_parent ()

+
NMDevice *
+nm_device_vlan_get_parent (NMDeviceVlan *device);
+
+

Parameters

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

device :

a NMDeviceVlan -

Returns :

the device's parent device. [transfer none] -

device

a NMDeviceVlan

 
+
+
+

Returns

+

the device's parent device.

+

[transfer none]

+

Since 1.0


-

nm_device_vlan_get_vlan_id ()

-
guint               nm_device_vlan_get_vlan_id          (NMDeviceVlan *device);
-
+

nm_device_vlan_get_vlan_id ()

+
guint
+nm_device_vlan_get_vlan_id (NMDeviceVlan *device);
+
+

Parameters

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

device

a NMDeviceVlan

 
+
+
+

Returns

+

the device's VLAN ID

+

+
+
+
+
+

Types and Values

+
+

enum NMDeviceVlanError

+
+

Members

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

device :

a NMDeviceVlan +

NM_DEVICE_VLAN_ERROR_UNKNOWN

+

unknown or unclassified error

 

Returns :

the device's VLAN ID

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

+
 

NM_DEVICE_VLAN_ERROR_INTERFACE_MISMATCH

+

the interfaces of the connection and the device mismatched

+
 

NM_DEVICE_VLAN_ERROR_MAC_MISMATCH

+

the MACs of the connection and the device mismatched

+
 
-
-

Property Details

+
-

The "carrier" property

-
  "carrier"                  gboolean              : Read
+

NM_DEVICE_VLAN_ERROR

+
#define NM_DEVICE_VLAN_ERROR nm_device_vlan_error_quark ()
+

-Whether the device has carrier.

-

Default value: FALSE


-

The "hw-address" property

-
  "hw-address"               gchar*                : Read
+

NM_DEVICE_VLAN_HW_ADDRESS

+
#define NM_DEVICE_VLAN_HW_ADDRESS  "hw-address"
+

-The hardware (MAC) address of the device.

-

Default value: NULL


-

The "parent" property

-
  "parent"                   NMDevice*             : Read
+

NM_DEVICE_VLAN_CARRIER

+
#define NM_DEVICE_VLAN_CARRIER     "carrier"
+

-The devices's parent device.

-

Since 1.0


-

The "vlan-id" property

-
  "vlan-id"                  guint                 : Read
+

NM_DEVICE_VLAN_PARENT

+
#define NM_DEVICE_VLAN_PARENT      "parent"
+
+

+

+
+
+
+

NM_DEVICE_VLAN_VLAN_ID

+
#define NM_DEVICE_VLAN_VLAN_ID     "vlan-id"
+

-The device's VLAN ID.

+
+
+
+

Property Details

+
+

The “carrier” property

+
  “carrier”                  gboolean
+

+

Flags: Read

+

Default value: FALSE

+
+
+
+

The “hw-address” property

+
  “hw-address”               gchar *
+

+

Flags: Read

+

Default value: NULL

+
+
+
+

The “parent” property

+
  “parent”                   NMDevice *
+

+

Flags: Read

+

Since 1.0

+
+
+
+

The “vlan-id” property

+
  “vlan-id”                  guint
+

+

Flags: Read

Allowed values: <= 4095

Default value: 0

@@ -396,6 +468,6 @@ The device's VLAN ID.
+ Generated by GTK-Doc V1.21
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMDeviceWifi.html b/docs/libnm-glib/html/NMDeviceWifi.html index 7a9a27df..fb153226 100644 --- a/docs/libnm-glib/html/NMDeviceWifi.html +++ b/docs/libnm-glib/html/NMDeviceWifi.html @@ -2,38 +2,29 @@ -NMDeviceWifi +libnm-glib Reference Manual: NMDeviceWifi - + - - - - - - - - - - + + + + + + +
@@ -41,678 +32,788 @@

NMDeviceWifi

NMDeviceWifi

- +
- -
-

Object Hierarchy

-
-  GObject
-   +----NMObject
-         +----NMDevice
-               +----NMDeviceWifi
-
-
-

Implemented Interfaces

-

-NMDeviceWifi implements - GInitable and GAsyncInitable.

-
-
-

Properties

-
-  "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
-
-
- -
-

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;
-
-
+

Functions

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

NM_DEVICE_WIFI_ERROR_UNKNOWN

unknown or unclassified error + +GQuark + +nm_device_wifi_error_quark ()

NM_DEVICE_WIFI_ERROR_NOT_WIFI_CONNECTION

the connection was not of Wi-Fi type + +GObject * + +nm_device_wifi_new ()

NM_DEVICE_WIFI_ERROR_INVALID_WIFI_CONNECTION

the Wi-Fi connection was invalid +const char * + +nm_device_wifi_get_hw_address ()

NM_DEVICE_WIFI_ERROR_INVALID_DEVICE_MAC

the device's MAC was invalid +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 ()

NM_DEVICE_WIFI_ERROR_MAC_MISMATCH

the MACs of the connection and the device mismatched +const GPtrArray * + +nm_device_wifi_get_access_points ()

NM_DEVICE_WIFI_ERROR_MISSING_DEVICE_WPA_CAPS

the device missed WPA capabilities -required by the connection + +void + +(*NMDeviceWifiRequestScanFn) ()

NM_DEVICE_WIFI_ERROR_MISSING_DEVICE_RSN_CAPS

the device missed RSN capabilities -required by the connection + +void + +nm_device_wifi_request_scan_simple ()
-
-
-

NM_DEVICE_WIFI_ERROR

-
#define NM_DEVICE_WIFI_ERROR nm_device_wifi_error_quark ()
-
-

-

+
+

Properties

+
+++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+NMObjectArray *access-pointsRead
+NMAccessPoint *active-access-pointRead
guintbitrateRead
+gchar *hw-addressRead
guintmodeRead
+gchar *perm-hw-addressRead
guintwireless-capabilitiesRead
-
-
-

nm_device_wifi_error_quark ()

-
GQuark              nm_device_wifi_error_quark          (void);
-

-Registers an error quark for NMDeviceWifi if necessary. -

-
+
+

Signals

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

Returns :

the error quark used for NMDeviceWifi errors.
voidaccess-point-addedRun First
voidaccess-point-removedRun First
-
-
-

NM_DEVICE_WIFI_HW_ADDRESS

-
#define NM_DEVICE_WIFI_HW_ADDRESS          "hw-address"
-
-

-

+
+

Types and Values

+
-
-
-

NM_DEVICE_WIFI_PERMANENT_HW_ADDRESS

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

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ╰── NMDevice
+            ╰── NMDeviceWifi
 
-

-

-
-
-

NM_DEVICE_WIFI_MODE

-
#define NM_DEVICE_WIFI_MODE                "mode"
-
+
+

Description

-
+
+

Functions

-

NM_DEVICE_WIFI_BITRATE

-
#define NM_DEVICE_WIFI_BITRATE             "bitrate"
-
-

-

+

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_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_new ()

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

Creates a new NMDeviceWifi.

+
+

Parameters

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

connection

the DBusGConnection

 

path

the DBus object path of the device

 
+
+
+

Returns

+

a new Wi-Fi device.

+

[transfer full]

+

-

NM_DEVICE_WIFI_ACCESS_POINTS

-
#define NM_DEVICE_WIFI_ACCESS_POINTS       "access-points"
-
-

-

+

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

 
+
+
+

Returns

+

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

+

+

-

NMDeviceWifi

-
typedef struct _NMDeviceWifi NMDeviceWifi;
-

-

+

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

 
+
+
+

Returns

+

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

+

+

-

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_mode ()

+
NM80211Mode
+nm_device_wifi_get_mode (NMDeviceWifi *device);
+

Gets the NMDeviceWifi mode.

+
+

Parameters

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

device

a NMDeviceWifi

 
+
+
+

Returns

+

the mode

+

+

-

nm_device_wifi_new ()

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

-Creates a new NMDeviceWifi. -

-
+

nm_device_wifi_get_bitrate ()

+
guint32
+nm_device_wifi_get_bitrate (NMDeviceWifi *device);
+

Gets the bit rate of the NMDeviceWifi in kbit/s.

+
+

Parameters

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

connection :

the DBusGConnection -

path :

the DBus object path of the device

Returns :

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

device

a NMDeviceWifi

 
+
+

Returns

+

the bit rate (kbit/s)

+

+
+

-

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 -

-
+

nm_device_wifi_get_capabilities ()

+
NMDeviceWifiCapabilities
+nm_device_wifi_get_capabilities (NMDeviceWifi *device);
+

Gets the Wi-Fi capabilities of the NMDeviceWifi.

+
+

Parameters

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

device :

a NMDeviceWifi -

Returns :

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

device

a NMDeviceWifi

 
+
+

Returns

+

the capabilities

+

+
+

-

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 -

-
+

nm_device_wifi_get_active_access_point ()

+
NMAccessPoint *
+nm_device_wifi_get_active_access_point
+                               (NMDeviceWifi *device);
+

Gets the active NMAccessPoint.

+
+

Parameters

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

device :

a NMDeviceWifi -

Returns :

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

device

a NMDeviceWifi

 
+
+

Returns

+

the access point or NULL if none is active.

+

[transfer none]

+
+

-

nm_device_wifi_get_mode ()

-
NM80211Mode         nm_device_wifi_get_mode             (NMDeviceWifi *device);
-

-Gets the NMDeviceWifi mode. -

-
+

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

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

device :

a NMDeviceWifi -

device

a NMDeviceWifi

 

Returns :

the mode

path

the object path of the access point

 
+
+

Returns

+

the access point or NULL if none is found.

+

[transfer none]

+
+

-

nm_device_wifi_get_bitrate ()

-
guint32             nm_device_wifi_get_bitrate          (NMDeviceWifi *device);
-

-Gets the bit rate of the NMDeviceWifi in kbit/s. -

-
+

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

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

device :

a NMDeviceWifi -

Returns :

the bit rate (kbit/s)

device

a NMDeviceWifi

 
+
+

Returns

+

a GPtrArray containing all the +scanned NMAccessPoints. +The returned array is owned by the client and should not be modified.

+

[element-type NMAccessPoint]

+
+

-

nm_device_wifi_get_capabilities ()

-
NMDeviceWifiCapabilities nm_device_wifi_get_capabilities
-                                                        (NMDeviceWifi *device);
+

NMDeviceWifiRequestScanFn ()

+
void
+(*NMDeviceWifiRequestScanFn) (NMDeviceWifi *device,
+                              GError *error,
+                              gpointer user_data);

-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 -

device

a NMDeviceWifi

 

callback

the function to call when the call is done.

[scope async][allow-none]

Returns :

the capabilities

user_data

user data to pass to the callback function.

[closure]
-
+

Since 0.9.8

+
+
+
+

Types and Values

-

nm_device_wifi_get_active_access_point ()

-
NMAccessPoint *     nm_device_wifi_get_active_access_point
-                                                        (NMDeviceWifi *device);
-

-Gets the active NMAccessPoint. -

-
+

enum NMDeviceWifiError

+
+

Members

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

device :

a NMDeviceWifi +

NM_DEVICE_WIFI_ERROR_UNKNOWN

+

unknown or unclassified error

 

Returns :

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

NM_DEVICE_WIFI_ERROR_NOT_WIFI_CONNECTION

+

the connection was not of Wi-Fi type

 
-
-
-
-

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. -

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

device :

a NMDeviceWifi +

NM_DEVICE_WIFI_ERROR_INVALID_WIFI_CONNECTION

+

the Wi-Fi connection was invalid

 

path :

the object path of the access point

NM_DEVICE_WIFI_ERROR_INVALID_DEVICE_MAC

+

the device's MAC was invalid

+
 

Returns :

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

NM_DEVICE_WIFI_ERROR_MAC_MISMATCH

+

the MACs of the connection and the device mismatched

 
-
-
-
-

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. -

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

device :

a NMDeviceWifi +

NM_DEVICE_WIFI_ERROR_MISSING_DEVICE_WPA_CAPS

+

the device missed WPA 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 NMAccessPoint] +

NM_DEVICE_WIFI_ERROR_MISSING_DEVICE_RSN_CAPS

+

the device missed RSN capabilities +required by the connection

 
+

-

NMDeviceWifiRequestScanFn ()

-
void                (*NMDeviceWifiRequestScanFn)        (NMDeviceWifi *device,
-                                                         GError *error,
-                                                         gpointer user_data);
+

NM_DEVICE_WIFI_ERROR

+
#define NM_DEVICE_WIFI_ERROR nm_device_wifi_error_quark ()
+


-

nm_device_wifi_request_scan_simple ()

-
void                nm_device_wifi_request_scan_simple  (NMDeviceWifi *device,
-                                                         NMDeviceWifiRequestScanFn callback,
-                                                         gpointer user_data);
+

NM_DEVICE_WIFI_HW_ADDRESS

+
#define NM_DEVICE_WIFI_HW_ADDRESS          "hw-address"
+

-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

+
-

The "access-points" property

-
  "access-points"            NMObjectArray*        : Read
+

NM_DEVICE_WIFI_MODE

+
#define NM_DEVICE_WIFI_MODE                "mode"
+

-List of all Wi-Fi access points the device can see.

-

Since 0.9.10


-

The "active-access-point" property

-
  "active-access-point"      NMAccessPoint*        : Read
+

NM_DEVICE_WIFI_BITRATE

+
#define NM_DEVICE_WIFI_BITRATE             "bitrate"
+

-The active NMAccessPoint of the device.


-

The "bitrate" property

-
  "bitrate"                  guint                 : Read
+

NM_DEVICE_WIFI_ACTIVE_ACCESS_POINT

+
#define NM_DEVICE_WIFI_ACTIVE_ACCESS_POINT "active-access-point"
+

-The bit rate of the device in kbit/s.

-

Default value: 0


-

The "hw-address" property

-
  "hw-address"               gchar*                : Read
+

NM_DEVICE_WIFI_CAPABILITIES

+
#define NM_DEVICE_WIFI_CAPABILITIES        "wireless-capabilities"
+

-The hardware (MAC) address of the device.

-

Default value: NULL


-

The "mode" property

-
  "mode"                     guint                 : Read
+

NM_DEVICE_WIFI_ACCESS_POINTS

+
#define NM_DEVICE_WIFI_ACCESS_POINTS       "access-points"
+

-The mode of the device.

+
+
+
+

Property Details

+
+

The “access-points” property

+
  “access-points”            NMObjectArray *
+

+

Flags: Read

+

Since 0.9.10

+
+
+
+

The “active-access-point” property

+
  “active-access-point”      NMAccessPoint *
+

+

Flags: Read

+
+
+
+

The “bitrate” property

+
  “bitrate”                  guint
+

+

Flags: Read

+

Default value: 0

+
+
+
+

The “hw-address” property

+
  “hw-address”               gchar *
+

+

Flags: Read

+

Default value: NULL

+
+
+
+

The “mode” property

+
  “mode”                     guint
+

+

Flags: Read

Allowed values: <= 3

Default value: 2


-

The "perm-hw-address" property

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

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

+

The “perm-hw-address” property

+
  “perm-hw-address”          gchar *
+

+

Flags: Read

Default value: NULL


-

The "wireless-capabilities" property

-
  "wireless-capabilities"    guint                 : Read
-

-The wireless capabilities of the device. -

+

The “wireless-capabilities” property

+
  “wireless-capabilities”    guint
+

+

Flags: Read

Default value: 0

Signal Details

-

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-added” 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.
+

The “access-point-removed” signal

+
void
+user_function (NMDeviceWifi *device,
+               GObject      *ap,
+               gpointer      user_data)
+

Flags: Run First

+ Generated by GTK-Doc V1.21
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMDeviceWimax.html b/docs/libnm-glib/html/NMDeviceWimax.html index e082543e..911ec29b 100644 --- a/docs/libnm-glib/html/NMDeviceWimax.html +++ b/docs/libnm-glib/html/NMDeviceWimax.html @@ -2,38 +2,29 @@ -NMDeviceWimax +libnm-glib Reference Manual: NMDeviceWimax - + - - - - - - - - - - + + + + + + +
@@ -41,662 +32,771 @@

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
-
-
-

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;
-
-
+

Functions

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

NM_DEVICE_WIMAX_ERROR_UNKNOWN

unknown or unclassified error + +GQuark + +nm_device_wimax_error_quark ()

NM_DEVICE_WIMAX_ERROR_NOT_WIMAX_CONNECTION

the connection was not of WiMax type + +GObject * + +nm_device_wimax_new ()

NM_DEVICE_WIMAX_ERROR_INVALID_WIMAX_CONNECTION

the WiMax connection was invalid +const char * + +nm_device_wimax_get_hw_address ()

NM_DEVICE_WIMAX_ERROR_INVALID_DEVICE_MAC

the device's MAC was invalid + +NMWimaxNsp * + +nm_device_wimax_get_active_nsp ()

NM_DEVICE_WIMAX_ERROR_MAC_MISMATCH

the MACs of the connection and the device mismatched + +NMWimaxNsp * + +nm_device_wimax_get_nsp_by_path () +
const GPtrArray * + +nm_device_wimax_get_nsps () +
+guint + +nm_device_wimax_get_center_frequency ()
-
-
-
-

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. -

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

connection :

the DBusGConnection + +gint + +nm_device_wimax_get_rssi ()

path :

the D-Bus object path of the WiMAX device +gint + +nm_device_wimax_get_cinr () +

Returns :

a new WiMAX device. [transfer full] + +gint + +nm_device_wimax_get_tx_power () +
const char * + +nm_device_wimax_get_bsid ()
-
-
-

nm_device_wimax_get_hw_address ()

-
const char *        nm_device_wimax_get_hw_address      (NMDeviceWimax *wimax);
-

-Gets the hardware (MAC) address of the NMDeviceWimax -

-
+
+

Properties

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

wimax :

a NMDeviceWimax - +NMWimaxNsp *active-nspRead
+gchar *bsidRead

Returns :

the hardware address. This is the internal string used by the -device, and must not be modified.guintcenter-frequencyRead
gintcinrRead
+gchar *hw-addressRead
+NMObjectArray *nspsRead
gintrssiRead
ginttx-powerRead
-
-
-

nm_device_wimax_get_active_nsp ()

-
NMWimaxNsp *        nm_device_wimax_get_active_nsp      (NMDeviceWimax *wimax);
-

-Gets the active NMWimaxNsp. -

-
+
+

Signals

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

wimax :

a NMDeviceWimax -voidnsp-addedRun First

Returns :

the access point or NULL if none is active. [transfer full] -voidnsp-removedRun First
-
-
-

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. -

-
+
+

Types and Values

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

wimax :

a NMDeviceWimax -enumNMDeviceWimaxError

path :

the object path of the NSP#defineNM_DEVICE_WIMAX_ERROR

Returns :

the access point or NULL if none is found. [transfer none] -#defineNM_DEVICE_WIMAX_HW_ADDRESS
#defineNM_DEVICE_WIMAX_ACTIVE_NSP
#defineNM_DEVICE_WIMAX_CENTER_FREQUENCY
#defineNM_DEVICE_WIMAX_RSSI
#defineNM_DEVICE_WIMAX_CINR
#defineNM_DEVICE_WIMAX_TX_POWER
#defineNM_DEVICE_WIMAX_BSID
#defineNM_DEVICE_WIMAX_NSPS
-
-
-

nm_device_wimax_get_nsps ()

-
const GPtrArray *   nm_device_wimax_get_nsps            (NMDeviceWimax *wimax);
+
+

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ╰── NMDevice
+            ╰── NMDeviceWimax
+
+
+
+

Description

-Gets all the scanned NSPs of the NMDeviceWimax.

-
+ +
+

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

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

wimax :

a NMDeviceWimax -

connection

the DBusGConnection

 

Returns :

a GPtrArray containing -all the scanned NMWimaxNsps. -The returned array is owned by the client and should not be modified. [element-type NMWimaxNsp] -

path

the D-Bus object path of the WiMAX device

 
+
+

Returns

+

a new WiMAX device.

+

[transfer full]

+
+

-

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. -

-
+

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

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

self :

a NMDeviceWimax -

wimax

a NMDeviceWimax

 

Returns :

the center frequency in KHz, or 0

path

the object path of the NSP

 
+
+

Returns

+

the access point or NULL if none is found.

+

[transfer none]

+
+

-

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_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 NMWimaxNsp]

+
+
+
+
+

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 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. -

-
+device is not connected.

+
+

Parameters

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

self :

a NMDeviceWimax -

Returns :

the RSSI in dBm, or 0

self

a NMDeviceWimax

 
+
+

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. -

-
+meaning when the device is not connected.

+
+

Parameters

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

self :

a NMDeviceWimax -

Returns :

the CINR in dB, or 0

self

a NMDeviceWimax

 
+
+

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. -

-
+-5.5 dBm. Has no meaning when the device is not connected.

+
+

Parameters

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

self :

a NMDeviceWimax -

Returns :

the TX power in dBm, or 0

self

a NMDeviceWimax

 
+
+

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. -

-
+

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

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

self :

a NMDeviceWimax +

NM_DEVICE_WIMAX_ERROR_UNKNOWN

+

unknown or unclassified error

+
 

NM_DEVICE_WIMAX_ERROR_NOT_WIMAX_CONNECTION

+

the connection was not of WiMax type

 

Returns :

the ID of the serving Base Station, or NULL +

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

+
 

NM_DEVICE_WIMAX_ERROR_MAC_MISMATCH

+

the MACs of the connection and the device mismatched

+
 
-
-

Property Details

+
-

The "active-nsp" property

-
  "active-nsp"               NMWimaxNsp*           : Read
+

NM_DEVICE_WIMAX_ERROR

+
#define NM_DEVICE_WIMAX_ERROR nm_device_wimax_error_quark ()
+

-The active NMWimaxNsp of the device.


-

The "bsid" property

-
  "bsid"                     gchar*                : Read
+

NM_DEVICE_WIMAX_HW_ADDRESS

+
#define NM_DEVICE_WIMAX_HW_ADDRESS       "hw-address"
+

-The ID of the serving base station as received from the network. Has -no meaning when the device is not connected.

-

Default value: NULL


-

The "center-frequency" property

-
  "center-frequency"         guint                 : Read
+

NM_DEVICE_WIMAX_ACTIVE_NSP

+
#define NM_DEVICE_WIMAX_ACTIVE_NSP       "active-nsp"
+

-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


-

The "cinr" property

-
  "cinr"                     gint                  : Read
+

NM_DEVICE_WIMAX_CENTER_FREQUENCY

+
#define NM_DEVICE_WIMAX_CENTER_FREQUENCY "center-frequency"
+
+

+

+
+
+
+

NM_DEVICE_WIMAX_RSSI

+
#define NM_DEVICE_WIMAX_RSSI             "rssi"
+

-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


-

The "hw-address" property

-
  "hw-address"               gchar*                : Read
+

NM_DEVICE_WIMAX_CINR

+
#define NM_DEVICE_WIMAX_CINR             "cinr"
+

-The hardware (MAC) address of the device.

-

Default value: NULL


-

The "nsps" property

-
  "nsps"                     NMObjectArray*        : Read
+

NM_DEVICE_WIMAX_TX_POWER

+
#define NM_DEVICE_WIMAX_TX_POWER         "tx-power"
+

-List of all WiMAX Network Service Providers the device can see.

-

Since 0.9.10


-

The "rssi" property

-
  "rssi"                     gint                  : Read
+

NM_DEVICE_WIMAX_BSID

+
#define NM_DEVICE_WIMAX_BSID             "bsid"
+

-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


-

The "tx-power" property

-
  "tx-power"                 gint                  : Read
+

NM_DEVICE_WIMAX_NSPS

+
#define NM_DEVICE_WIMAX_NSPS             "nsps"
+

-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 *
+

+

Flags: Read

+
+
+
+

The “bsid” property

+
  “bsid”                     gchar *
+

+

Flags: Read

+

Default value: NULL

+
+
+
+

The “center-frequency” property

+
  “center-frequency”         guint
+

+

Flags: Read

+

Default value: 0

+
+
+
+

The “cinr” property

+
  “cinr”                     gint
+

+

Flags: Read

+

Default value: 0

+
+
+
+

The “hw-address” property

+
  “hw-address”               gchar *
+

+

Flags: Read

+

Default value: NULL

+
+
+
+

The “nsps” property

+
  “nsps”                     NMObjectArray *
+

+

Flags: Read

+

Since 0.9.10

+
+
+
+

The “rssi” property

+
  “rssi”                     gint
+

+

Flags: Read

+

Default value: 0

+
+
+
+

The “tx-power” property

+
  “tx-power”                 gint
+

+

Flags: Read

Default value: 0

Signal Details

-

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-added” 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.
+

The “nsp-removed” signal

+
void
+user_function (NMDeviceWimax *self,
+               GObject       *nsp,
+               gpointer       user_data)
+

Flags: Run First

+ Generated by GTK-Doc V1.21
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMIP4Config.html b/docs/libnm-glib/html/NMIP4Config.html index 6396397d..fec85cac 100644 --- a/docs/libnm-glib/html/NMIP4Config.html +++ b/docs/libnm-glib/html/NMIP4Config.html @@ -2,36 +2,28 @@ -NMIP4Config +libnm-glib Reference Manual: NMIP4Config - + - - - - - - - - - - + + + + + + +
@@ -39,431 +31,531 @@

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
-
-
-
-

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. -

-
+

Functions

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

connection :

the DBusGConnection + +GObject * + +nm_ip4_config_new ()

object_path :

the DBus object path of the deviceconst char * + +nm_ip4_config_get_gateway () +

Returns :

a new IP4 configuration. [transfer full] +const GSList * + +nm_ip4_config_get_addresses ()
-
-
-
-

nm_ip4_config_get_gateway ()

-
const char *        nm_ip4_config_get_gateway           (NMIP4Config *config);
-

-Gets the IP4 gateway address. -

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

config :

a NMIP4Config +const GSList * + +nm_ip4_config_get_routes ()

Returns :

the IP4 address of the gateway.const GArray * + +nm_ip4_config_get_nameservers () +
const GPtrArray * + +nm_ip4_config_get_domains () +
-

Since 0.9.10

-
-
-
-

nm_ip4_config_get_addresses ()

-
const GSList *      nm_ip4_config_get_addresses         (NMIP4Config *config);
-

-Gets the IP4 addresses (containing the address, prefix, and gateway). -

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

config :

a NMIP4Config +const GPtrArray * + +nm_ip4_config_get_searches ()

Returns :

the GSList containing NMIP4Addresses. -This is the internal copy used by the configuration and must not be modified. [element-type NMIP4Address] +const GArray * + +nm_ip4_config_get_wins_servers ()
-
-
-

nm_ip4_config_get_routes ()

-
const GSList *      nm_ip4_config_get_routes            (NMIP4Config *config);
-

-Gets the routes. -

-
+
+

Properties

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

config :

a NMIP4Config -gpointeraddressesRead

Returns :

the GSList containing -NMIP4Routes. This is the internal copy used by the configuration, -and must not be modified. [element-type NMIP4Route] - +NMStringArray *domainsRead
+gchar *gatewayRead
+NMUintArray *nameserversRead
gpointerroutesRead
+NMStringArray *searchesRead
+NMUintArray *wins-serversRead
-
-
-

nm_ip4_config_get_nameservers ()

-
const GArray *      nm_ip4_config_get_nameservers       (NMIP4Config *config);
-

-Gets the domain name servers (DNS). -

-
+
+

Types and Values

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

config :

a NMIP4Config -#defineNM_IP4_CONFIG_GATEWAY

Returns :

the GArray containing guint32s. -This is the internal copy used by the configuration and must not be -modified. [element-type guint32] -#defineNM_IP4_CONFIG_ADDRESSES
#defineNM_IP4_CONFIG_ROUTES
#defineNM_IP4_CONFIG_NAMESERVERS
#defineNM_IP4_CONFIG_DOMAINS
#defineNM_IP4_CONFIG_SEARCHES
#defineNM_IP4_CONFIG_WINS_SERVERS
-
-
-

nm_ip4_config_get_domains ()

-
const GPtrArray *   nm_ip4_config_get_domains           (NMIP4Config *config);
+
+

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ╰── NMIP4Config
+
+
+
+

Description

-Gets the domain names.

-
+ +
+

Functions

+
+

nm_ip4_config_new ()

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

Creates a new NMIP4Config.

+
+

Parameters

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

config :

a NMIP4Config -

connection

the DBusGConnection

 

Returns :

the GPtrArray containing domains as strings. This is the -internal copy used by the configuration, and must not be modified. [element-type utf8] -

object_path

the DBus object path of the device

 
+
+

Returns

+

a new IP4 configuration.

+

[transfer full]

+
+

-

nm_ip4_config_get_searches ()

-
const GPtrArray *   nm_ip4_config_get_searches          (NMIP4Config *config);
-

-Gets the dns searches. -

-
+

nm_ip4_config_get_gateway ()

+
const char *
+nm_ip4_config_get_gateway (NMIP4Config *config);
+

Gets the IP4 gateway address.

+
+

Parameters

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

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] -

config

a NMIP4Config

 
+
+
+

Returns

+

the IP4 address of the gateway.

+

+

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). -

-
+

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

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

config :

a NMIP4Config -

Returns :

the GArray containing guint32s. +

config

a NMIP4Config

 
+
+
+

Returns

+

the GSList containing NMIP4Addresses. +This is the internal copy used by the configuration and must not be modified.

+

[element-type NMIP4Address]

+
+
+
+
+

nm_ip4_config_get_routes ()

+
const GSList *
+nm_ip4_config_get_routes (NMIP4Config *config);
+

Gets the routes.

+
+

Parameters

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

config

a NMIP4Config

 
+
+
+

Returns

+

the GSList containing +NMIP4Routes. This is the internal copy used by the configuration, +and must not be modified.

+

[element-type NMIP4Route]

+
+
+
+
+

nm_ip4_config_get_nameservers ()

+
const GArray *
+nm_ip4_config_get_nameservers (NMIP4Config *config);
+

Gets the domain name servers (DNS).

+
+

Parameters

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

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] - - - +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_searches ()

+
const GPtrArray *
+nm_ip4_config_get_searches (NMIP4Config *config);
+

Gets the dns searches.

+
+

Parameters

+
+++++ + + + + +

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]

+
+

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

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

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]

+
+
-

Property Details

+

Types and Values

-

The "addresses" property

-
  "addresses"                gpointer              : Read
+

NM_IP4_CONFIG_GATEWAY

+
#define NM_IP4_CONFIG_GATEWAY "gateway"
+

-The GPtrArray containing NMIP4Addresses of the configuration.


-

The "domains" property

-
  "domains"                  NMStringArray*        : Read
+

NM_IP4_CONFIG_ADDRESSES

+
#define NM_IP4_CONFIG_ADDRESSES "addresses"
+

-The GPtrArray containing domain strings of the configuration.


-

The "gateway" property

-
  "gateway"                  gchar*                : Read
+

NM_IP4_CONFIG_ROUTES

+
#define NM_IP4_CONFIG_ROUTES "routes"
+

-The IP4 gateway address of the configuration as string.

-

Default value: NULL

-

Since 0.9.10


-

The "nameservers" property

-
  "nameservers"              NMUintArray*          : Read
+

NM_IP4_CONFIG_NAMESERVERS

+
#define NM_IP4_CONFIG_NAMESERVERS "nameservers"
+

-The GArray containing name servers (guint32s) of the configuration.


-

The "routes" property

-
  "routes"                   gpointer              : Read
+

NM_IP4_CONFIG_DOMAINS

+
#define NM_IP4_CONFIG_DOMAINS "domains"
+

-The GPtrArray containing NMSettingIP4Routes of the configuration.


-

The "searches" property

-
  "searches"                 NMStringArray*        : Read
+

NM_IP4_CONFIG_SEARCHES

+
#define NM_IP4_CONFIG_SEARCHES "searches"
+

-The GPtrArray containing dns search strings of the configuration.

-

Since 0.9.10


-

The "wins-servers" property

-
  "wins-servers"             NMUintArray*          : Read
+

NM_IP4_CONFIG_WINS_SERVERS

+
#define NM_IP4_CONFIG_WINS_SERVERS "wins-servers"
+

-The GArray containing WINS servers (guint32s) of the configuration.

+
+

Property Details

+
+

The “addresses” property

+
  “addresses”                gpointer
+

+

Flags: Read

+
+
+
+

The “domains” property

+
  “domains”                  NMStringArray *
+

+

Flags: Read

+
+
+
+

The “gateway” property

+
  “gateway”                  gchar *
+

+

Flags: Read

+

Default value: NULL

+

Since 0.9.10

+
+
+
+

The “nameservers” property

+
  “nameservers”              NMUintArray *
+

+

Flags: Read

+
+
+
+

The “routes” property

+
  “routes”                   gpointer
+

+

Flags: Read

+
+
+
+

The “searches” property

+
  “searches”                 NMStringArray *
+

+

Flags: Read

+

Since 0.9.10

+
+
+
+

The “wins-servers” property

+
  “wins-servers”             NMUintArray *
+

+

Flags: Read

+
+
+ Generated by GTK-Doc V1.21
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMIP6Config.html b/docs/libnm-glib/html/NMIP6Config.html index d923c6f7..83f5f473 100644 --- a/docs/libnm-glib/html/NMIP6Config.html +++ b/docs/libnm-glib/html/NMIP6Config.html @@ -2,36 +2,28 @@ -NMIP6Config +libnm-glib Reference Manual: NMIP6Config - + - - - - - - - - - - + + + + + + +
@@ -39,450 +31,554 @@

NMIP6Config

NMIP6Config

- +
- -
-

Object Hierarchy

-
-  GObject
-   +----NMObject
-         +----NMIP6Config
-
-
-
-

Implemented Interfaces

-

-NMIP6Config implements - GInitable and GAsyncInitable.

-
-
-

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. -

-
+

Functions

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

connection :

the DBusGConnection + +GObject * + +nm_ip6_config_new () +
const char * + +nm_ip6_config_get_gateway () +
const GSList * + +nm_ip6_config_get_addresses () +
const GSList * + +nm_ip6_config_get_routes () +
+guint32 + +nm_ip6_config_get_num_nameservers ()

object_path :

the DBus object path of the deviceconst struct in6_addr * + +nm_ip6_config_get_nameserver () +

Returns :

a new IP6 configuration. [transfer full] +const GSList * + +nm_ip6_config_get_nameservers () +
const GPtrArray * + +nm_ip6_config_get_domains () +
const GPtrArray * + +nm_ip6_config_get_searches ()
-
-
-

nm_ip6_config_get_gateway ()

-
const char *        nm_ip6_config_get_gateway           (NMIP6Config *config);
-

-Gets the IP6 gateway. -

-
+
+

Properties

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

config :

a NMIP6Config - +NMIP6AddressObjectArray *addressesRead
+NMStringArray *domainsRead
+gchar *gatewayRead
+NMIP6AddressArray *nameserversRead
+NMIP6RouteObjectArray *routesRead

Returns :

the IPv6 gateway of the configuration. +NMStringArray *searchesRead
-

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). -

-
+
+

Types and Values

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

config :

a NMIP6Config -#defineNM_IP6_CONFIG_GATEWAY

Returns :

the GSList containing -NMIP6Addresses. This is the internal copy used by the configuration -and must not be modified. [element-type NMIP6Address] -#defineNM_IP6_CONFIG_ADDRESSES
#defineNM_IP6_CONFIG_ROUTES
#defineNM_IP6_CONFIG_NAMESERVERS
#defineNM_IP6_CONFIG_DOMAINS
#defineNM_IP6_CONFIG_SEARCHES
-
-
-

nm_ip6_config_get_routes ()

-
const GSList *      nm_ip6_config_get_routes            (NMIP6Config *config);
+
+

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ╰── NMIP6Config
+
+
+
+

Description

-Gets the routes.

-
+ +
+

Functions

+
+

nm_ip6_config_new ()

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

Creates a new NMIP6Config.

+
+

Parameters

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

config :

a NMIP6Config -

connection

the DBusGConnection

 

Returns :

the GSList containing -NMIP6Routes. This is the internal copy used by the configuration, -and must not be modified. [element-type NMIP6Route] -

object_path

the DBus object path of the device

 
+
+

Returns

+

a new IP6 configuration.

+

[transfer full]

+
+

-

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. -

-
+

nm_ip6_config_get_gateway ()

+
const char *
+nm_ip6_config_get_gateway (NMIP6Config *config);
+

Gets the IP6 gateway.

+
+

Parameters

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

config :

a NMIP6Config -

Returns :

the number of domain name servers

config

a NMIP6Config

 
+
+
+

Returns

+

the IPv6 gateway of the configuration.

+

+

Since 0.9.10


-

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. -

-
+

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

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

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] -

config

a NMIP6Config

 
+
+
+

Returns

+

the GSList containing +NMIP6Addresses. This is the internal copy used by the configuration +and must not be modified.

+

[element-type NMIP6Address]

+
+
+
+
+

nm_ip6_config_get_routes ()

+
const GSList *
+nm_ip6_config_get_routes (NMIP6Config *config);
+

Gets the routes.

+
+

Parameters

+
+++++ + + + + +

config

a NMIP6Config

 
+
+
+

Returns

+

the GSList containing +NMIP6Routes. This is the internal copy used by the configuration, +and must not be modified.

+

[element-type NMIP6Route]

+
+
+
+
+

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.

+
+

Parameters

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

config

a NMIP6Config

 
+
+
+

Returns

+

the number of domain name servers

+

+

Since 0.9.10


-

nm_ip6_config_get_nameservers ()

-
const GSList *      nm_ip6_config_get_nameservers       (NMIP6Config *config);
-

-Gets the domain name servers (DNS). -

-
+

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.

+
+

Parameters

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

config :

a NMIP6Config -

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.

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]

+
+

Since 0.9.10

+
-

nm_ip6_config_get_domains ()

-
const GPtrArray *   nm_ip6_config_get_domains           (NMIP6Config *config);
-

-Gets the domain names. -

-
+

nm_ip6_config_get_nameservers ()

+
const GSList *
+nm_ip6_config_get_nameservers (NMIP6Config *config);
+

Gets the domain name servers (DNS).

+
+

Parameters

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

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] -

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.

+

+
+
-

nm_ip6_config_get_searches ()

-
const GPtrArray *   nm_ip6_config_get_searches          (NMIP6Config *config);
-

-Gets the dns searches. -

-
+

nm_ip6_config_get_domains ()

+
const GPtrArray *
+nm_ip6_config_get_domains (NMIP6Config *config);
+

Gets the domain names.

+
+

Parameters

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

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] -

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]

+
+ +
+
+

nm_ip6_config_get_searches ()

+
const GPtrArray *
+nm_ip6_config_get_searches (NMIP6Config *config);
+

Gets the dns searches.

+
+

Parameters

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

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]

+

Since 0.9.10

-

Property Details

+

Types and Values

-

The "addresses" property

-
  "addresses"                NMIP6AddressObjectArray*  : Read
+

NM_IP6_CONFIG_GATEWAY

+
#define NM_IP6_CONFIG_GATEWAY "gateway"
+

-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.


-

The "domains" property

-
  "domains"                  NMStringArray*        : Read
+

NM_IP6_CONFIG_ADDRESSES

+
#define NM_IP6_CONFIG_ADDRESSES "addresses"
+

-The GPtrArray containing domain strings of the configuration.


-

The "gateway" property

-
  "gateway"                  gchar*                : Read
+

NM_IP6_CONFIG_ROUTES

+
#define NM_IP6_CONFIG_ROUTES "routes"
+

-The IPv6 gateway as string

-

Default value: NULL

-

Since 0.9.10


-

The "nameservers" property

-
  "nameservers"              NMIP6AddressArray*    : Read
+

NM_IP6_CONFIG_NAMESERVERS

+
#define NM_IP6_CONFIG_NAMESERVERS "nameservers"
+

-The GPtrArray containing elements of type 'struct ip6_addr' which -contain the addresses of nameservers of the configuration.


-

The "routes" property

-
  "routes"                   NMIP6RouteObjectArray*  : Read
+

NM_IP6_CONFIG_DOMAINS

+
#define NM_IP6_CONFIG_DOMAINS "domains"
+

-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 "searches" property

-
  "searches"                 NMStringArray*        : Read
+

NM_IP6_CONFIG_SEARCHES

+
#define NM_IP6_CONFIG_SEARCHES "searches"
+

-The GPtrArray containing dns search strings of the configuration.

+
+
+
+

Property Details

+
+

The “addresses” property

+
  “addresses”                NMIP6AddressObjectArray *
+

+

Flags: Read

+
+
+
+

The “domains” property

+
  “domains”                  NMStringArray *
+

+

Flags: Read

+
+
+
+

The “gateway” property

+
  “gateway”                  gchar *
+

+

Flags: Read

+

Default value: NULL

+

Since 0.9.10

+
+
+
+

The “nameservers” property

+
  “nameservers”              NMIP6AddressArray *
+

+

Flags: Read

+
+
+
+

The “routes” property

+
  “routes”                   NMIP6RouteObjectArray *
+

+

Flags: Read

+
+
+
+

The “searches” property

+
  “searches”                 NMStringArray *
+

+

Flags: Read

Since 0.9.10

+ Generated by GTK-Doc V1.21 \ No newline at end of file diff --git a/docs/libnm-glib/html/NMObject.html b/docs/libnm-glib/html/NMObject.html index cedff8ee..9cc58a6f 100644 --- a/docs/libnm-glib/html/NMObject.html +++ b/docs/libnm-glib/html/NMObject.html @@ -2,38 +2,29 @@ -NMObject +libnm-glib Reference Manual: NMObject - + - - - - - - - - - - + + + + + + +
@@ -41,281 +32,286 @@

NMObject

NMObject

- +
- -
-

Object Hierarchy

-
-  GObject
-   +----NMObject
-         +----NMClient
-         +----NMDevice
-         +----NMWimaxNsp
-         +----NMAccessPoint
-         +----NMIP4Config
-         +----NMIP6Config
-         +----NMActiveConnection
-         +----NMDHCP4Config
-         +----NMDHCP6Config
-
-
-

Implemented Interfaces

-

-NMObject implements - GInitable and GAsyncInitable.

+

Functions

+
++++ + + + + + + + + + + + + + + +
+GQuark + +nm_object_error_quark () +
+DBusGConnection * + +nm_object_get_connection () +
const char * + +nm_object_get_path () +

Properties

-
-  "dbus-connection"          DBusGConnection*      : Read / Write / Construct Only
-  "dbus-path"                gchar*                : Read / Write / Construct Only
-
+
+++++ + + + + + + + + + + + + +
+DBusGConnection *dbus-connectionRead / Write / Construct Only
+gchar *dbus-pathRead / Write / Construct Only

Signals

-
-  "object-creation-failed"                         : Run First
-
-
-
-

Description

-

-

+
+++++ + + + + + +
voidobject-creation-failedRun First
-

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. -

-
+

Types and Values

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

NM_OBJECT_ERROR_UNKNOWN

unknown or unclassified error -enumNMObjectError

NM_OBJECT_ERROR_OBJECT_CREATION_FAILURE

an error ocured while creating an NMObject -#defineNM_OBJECT_ERROR
#defineNM_OBJECT_DBUS_CONNECTION
#defineNM_OBJECT_DBUS_PATH
-
-
-

NM_OBJECT_ERROR

-
#define NM_OBJECT_ERROR nm_object_error_quark ()
+
+

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ├── NMClient
+        ├── NMDevice
+        ├── NMWimaxNsp
+        ├── NMAccessPoint
+        ├── NMIP4Config
+        ├── NMIP6Config
+        ├── NMActiveConnection
+        ├── NMDHCP4Config
+        ╰── NMDHCP6Config
 
+
+
+

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_error_quark ()

-
GQuark              nm_object_error_quark               (void);
-

-Registers an error quark for NMObject if necessary. -

-
+

nm_object_get_connection ()

+
DBusGConnection *
+nm_object_get_connection (NMObject *object);
+

Gets the NMObject's DBusGConnection.

+
+

Parameters

+
--+++ - - + + +

Returns :

the error quark used for NMObject errors.

object

a NMObject

 
-
-
-

NM_OBJECT_DBUS_CONNECTION

-
#define NM_OBJECT_DBUS_CONNECTION "dbus-connection"
-
-

-

+
+

Returns

+

the connection.

+

[transfer none]

-
-
-

NM_OBJECT_DBUS_PATH

-
#define NM_OBJECT_DBUS_PATH "dbus-path"
-
-

-


-

NMObject

-
typedef struct _NMObject NMObject;
-

-

+

nm_object_get_path ()

+
const char *
+nm_object_get_path (NMObject *object);
+

Gets the DBus path of the NMObject.

+
+

Parameters

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

object

a 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;
-
-

-

+
+

Returns

+

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

+

-
+
+
+
+

Types and Values

-

nm_object_get_connection ()

-
DBusGConnection *   nm_object_get_connection            (NMObject *object);
-

-Gets the NMObject's DBusGConnection. -

-
+

enum NMObjectError

+

Describes errors that may result from operations involving a NMObject.

+
+

Members

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

object :

a NMObject +

NM_OBJECT_ERROR_UNKNOWN

+

unknown or unclassified error

 

Returns :

the connection. [transfer none] +

NM_OBJECT_ERROR_OBJECT_CREATION_FAILURE

+

an error ocured while creating an NMObject

 
+

-

nm_object_get_path ()

-
const char *        nm_object_get_path                  (NMObject *object);
+

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"
+

-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*      : Read / Write / Construct Only
+

The “dbus-connection” property

+
  “dbus-connection”          DBusGConnection *

+

Flags: Read / Write / Construct Only


-

The "dbus-path" property

-
  "dbus-path"                gchar*                : Read / Write / Construct Only
+

The “dbus-path” property

+
  “dbus-path”                gchar *

+

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)          : 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.
+

The “object-creation-failed” signal

+
void
+user_function (NMObject *master_object,
+               gpointer  error,
+               gpointer  failed_path,
+               gpointer  user_data)
+

Flags: Run First

+ Generated by GTK-Doc V1.21
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMRemoteConnection.html b/docs/libnm-glib/html/NMRemoteConnection.html index 848c1910..64cd7154 100644 --- a/docs/libnm-glib/html/NMRemoteConnection.html +++ b/docs/libnm-glib/html/NMRemoteConnection.html @@ -2,38 +2,29 @@ -NMRemoteConnection +libnm-glib Reference Manual: NMRemoteConnection - + - - - - - - - - - - + + + + + + +
@@ -41,549 +32,684 @@

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.

+

Functions

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#defineNM_REMOTE_CONNECTION_ERROR
+GQuark + +nm_remote_connection_error_quark () +
+void + +(*NMRemoteConnectionResultFunc) () +
+void + +(*NMRemoteConnectionGetSecretsFunc) () +
+NMRemoteConnection * + +nm_remote_connection_new () +
+void + +nm_remote_connection_commit_changes () +
+void + +nm_remote_connection_commit_changes_unsaved () +
+void + +nm_remote_connection_save () +
+void + +nm_remote_connection_delete () +
+void + +nm_remote_connection_get_secrets () +
+gboolean + +nm_remote_connection_get_unsaved () +

Properties

-
-  "bus"                      DBusGConnection*      : Write / Construct Only
-  "dbus-connection"          DBusGConnection*      : Write / Construct Only
-  "dbus-path"                gchar*                : Write / Construct Only
-  "unsaved"                  gboolean              : Read
-
+
+++++ + + + + + + + + + + + + + + + + + + + + + + +
+DBusGConnection *busWrite / Construct Only
+DBusGConnection *dbus-connectionWrite / Construct Only
+gchar *dbus-pathWrite / Construct Only
gbooleanunsavedRead

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;
-
-
+
--+++ - - + + + - - + + + + + + + +

NM_REMOTE_CONNECTION_ERROR_UNKNOWN

unknown or unclassified error -voidremovedRun First

NM_REMOTE_CONNECTION_ERROR_DISCONNECTED

dbus disconnected -voidupdatedRun First
voidvisibleRun First
-
-
-

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. -

-
+
+

Types and Values

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

Returns :

the error quark used for NMRemoteConnection errors.
enumNMRemoteConnectionError
#defineNM_REMOTE_CONNECTION_UNSAVED
#defineNM_REMOTE_CONNECTION_UPDATED
#defineNM_REMOTE_CONNECTION_REMOVED
typedefNMRemoteConnectionCommitFunc
typedefNMRemoteConnectionDeleteFunc
-
-
-

NM_REMOTE_CONNECTION_UNSAVED

-
#define NM_REMOTE_CONNECTION_UNSAVED         "unsaved"
+
+

Object Hierarchy

+
    GObject
+    ╰── NMConnection
+        ╰── NMRemoteConnection
 
-

-

-
-
-

NM_REMOTE_CONNECTION_UPDATED

-
#define NM_REMOTE_CONNECTION_UPDATED         "updated"
-
+
+

Description

-
+
+

Functions

-

NM_REMOTE_CONNECTION_REMOVED

-
#define NM_REMOTE_CONNECTION_REMOVED         "removed"
+

NM_REMOTE_CONNECTION_ERROR

+
#define NM_REMOTE_CONNECTION_ERROR (nm_remote_connection_error_quark ())
 


-

NMRemoteConnection

-
typedef struct _NMRemoteConnection NMRemoteConnection;
-

-

+

nm_remote_connection_error_quark ()

+
GQuark
+nm_remote_connection_error_quark (void);
+

Registers an error quark for NMRemoteConnection if necessary.

+
+

Returns

+

the error quark used for NMRemoteConnection errors.

+

-
-
-

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. -

-
+

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.

+
+

Parameters

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

connection :

the connection for which an operation was performed

connection

the connection for which an operation was performed

 

error :

on failure, a descriptive error

error

on failure, a descriptive error

 

user_data :

user data passed to function which began the operation

user_data

user data passed to function which began the operation

 
-
-
-

NMRemoteConnectionCommitFunc

-
typedef NMRemoteConnectionResultFunc NMRemoteConnectionCommitFunc;
-
-

-

-
-
-
-

NMRemoteConnectionDeleteFunc

-
typedef NMRemoteConnectionResultFunc NMRemoteConnectionDeleteFunc;
-
-

-


-

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(). -

-
+

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

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

connection :

the connection for which secrets were requested

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] -

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_get_secrets() -

user_data

user data passed to nm_remote_connection_get_secrets()

 
+

-

nm_remote_connection_new ()

-
NMRemoteConnection * nm_remote_connection_new           (DBusGConnection *bus,
-                                                         const char *path);
-

-Creates a new object representing the remote connection. -

-
+

nm_remote_connection_new ()

+
NMRemoteConnection *
+nm_remote_connection_new (DBusGConnection *bus,
+                          const char *path);
+

Creates a new object representing the remote connection.

+
+

Parameters

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

bus :

a valid and connected D-Bus connection

path :

the D-Bus path of the connection as exported by the settings service

bus

a valid and connected D-Bus connection

 

Returns :

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

path

the D-Bus path of the connection as exported by the settings service

 
+
+

Returns

+

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

+

+
+

-

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. -

-
+

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.

+
+

Parameters

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

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 +commit 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_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 +

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. -

-
+nm_remote_connection_save() or nm_remote_connection_commit_changes() is +called.

+
+

Parameters

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

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 +commit 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_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. -

-
+

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.

+
+

Parameters

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

connection :

the NMRemoteConnection -

connection

the NMRemoteConnection

 

callback :

a function to be called when the -save 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,
-                                                         NMRemoteConnectionResultFunc callback,
-                                                         gpointer user_data);
-

-Delete the connection. -

-
+

nm_remote_connection_delete ()

+
void
+nm_remote_connection_delete (NMRemoteConnection *connection,
+                             NMRemoteConnectionResultFunc callback,
+                             gpointer user_data);
+

Delete the connection.

+
+

Parameters

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

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. -

-
+

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

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

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]
+

-

nm_remote_connection_get_unsaved ()

-
gboolean            nm_remote_connection_get_unsaved    (NMRemoteConnection *connection);
-
+

nm_remote_connection_get_unsaved ()

+
gboolean
+nm_remote_connection_get_unsaved (NMRemoteConnection *connection);
+
+

Parameters

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

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

+
+ +
+

Types and Values

+
+

enum NMRemoteConnectionError

+
+

Members

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

connection :

the NMRemoteConnection +

NM_REMOTE_CONNECTION_ERROR_UNKNOWN

+

unknown or unclassified error

 

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.

NM_REMOTE_CONNECTION_ERROR_DISCONNECTED

+

dbus disconnected

+
 
-

Since 0.9.10

-
-

Property Details

+
-

The "bus" property

-
  "bus"                      DBusGConnection*      : Write / Construct Only
+

NM_REMOTE_CONNECTION_UNSAVED

+
#define NM_REMOTE_CONNECTION_UNSAVED         "unsaved"
+

-The DBusGConnection that the NMRemoteConnection is connected to.


-

The "dbus-connection" property

-
  "dbus-connection"          DBusGConnection*      : Write / Construct Only
+

NM_REMOTE_CONNECTION_UPDATED

+
#define NM_REMOTE_CONNECTION_UPDATED         "updated"
+
+

+

+
+
+
+

NM_REMOTE_CONNECTION_REMOVED

+
#define NM_REMOTE_CONNECTION_REMOVED         "removed"
+
+

+

+
+
+
+

NMRemoteConnectionCommitFunc

+
typedef NMRemoteConnectionResultFunc NMRemoteConnectionCommitFunc;
+
+

+

+
+
+
+

NMRemoteConnectionDeleteFunc

+
typedef NMRemoteConnectionResultFunc NMRemoteConnectionDeleteFunc;
+
+

+

+
+
+
+

Property Details

+
+

The “bus” property

+
  “bus”                      DBusGConnection *

+

Flags: Write / Construct Only


-

The "dbus-path" property

-
  "dbus-path"                gchar*                : Write / Construct Only
+

The “dbus-connection” property

+
  “dbus-connection”          DBusGConnection *

+

Flags: Write / Construct Only

+
+
+
+

The “dbus-path” property

+
  “dbus-path”                gchar *
+

+

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. -

+

The “unsaved” property

+
  “unsaved”                  gboolean
+

+

Flags: Read

Default value: FALSE

Since 0.9.10

@@ -591,87 +717,33 @@ to disk,

Signal Details

-

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 “removed” 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 “updated” signal

+
void
+user_function (NMRemoteConnection *connection,
+               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.
+

The “visible” signal

+
void
+user_function (NMRemoteConnection *nmremoteconnection,
+               gboolean            arg1,
+               gpointer            user_data)
+

Flags: Run First

+ Generated by GTK-Doc V1.21 \ No newline at end of file diff --git a/docs/libnm-glib/html/NMRemoteSettings.html b/docs/libnm-glib/html/NMRemoteSettings.html index 41fdcb75..7f333eb5 100644 --- a/docs/libnm-glib/html/NMRemoteSettings.html +++ b/docs/libnm-glib/html/NMRemoteSettings.html @@ -2,38 +2,29 @@ -NMRemoteSettings +libnm-glib Reference Manual: NMRemoteSettings - + - - - - - - - - - - + + + + + + +
@@ -41,106 +32,255 @@

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);
-
+
+

Functions

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+GQuark + +nm_remote_settings_error_quark () +
+void + +(*NMRemoteSettingsAddConnectionFunc) () +
+void + +(*NMRemoteSettingsLoadConnectionsFunc) () +
+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_id () +
+NMRemoteConnection * + +nm_remote_settings_get_connection_by_path () +
+NMRemoteConnection * + +nm_remote_settings_get_connection_by_uuid () +
+gboolean + +nm_remote_settings_add_connection () +
+gboolean + +nm_remote_settings_add_connection_unsaved () +
+gboolean + +nm_remote_settings_load_connections () +
+gboolean + +nm_remote_settings_reload_connections () +
+gboolean + +nm_remote_settings_save_hostname () +
-

Object Hierarchy

-
-  GObject
-   +----NMRemoteSettings
-
+

Properties

+
+++++ + + + + + + + + + + + + + + + + + + + + + + +
+DBusGConnection *busRead / Write / Construct Only
gbooleancan-modifyRead
+gchar *hostnameRead
gbooleanservice-runningRead
-

Implemented Interfaces

-

-NMRemoteSettings implements - GInitable and GAsyncInitable.

+

Signals

+
+++++ + + + + + + + + + + + + +
voidconnections-readRun First
voidnew-connectionRun First
-

Properties

-
-  "bus"                      DBusGConnection*      : Read / Write / Construct Only
-  "can-modify"               gboolean              : Read
-  "hostname"                 gchar*                : Read
-  "service-running"          gboolean              : Read
-
+

Types and Values

+
-

Signals

-
-  "connections-read"                               : Run First
-  "new-connection"                                 : Run First
+

Object Hierarchy

+
    GObject
+    ╰── NMRemoteSettings
 

Description

-

-The NMRemoteSettings object represents NetworkManager's "settings" service, +

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 @@ -148,19 +288,14 @@ to a specific network is called a "connection" and encapsulated by the 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 +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. -

-

-

+the stored object known to NetworkManager.

@@ -231,15 +366,15 @@ the stored object known to NetworkManager. gpointer user_data){ if (error) - g_print ("Error adding connection: %s", error->message); + g_print ("Error adding connection: %s", error->message); else { - g_print ("Added: %s\n", nm_connection_get_path (NM_CONNECTION (remote))); + 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 +static gbooleanadd_wired_connection (const char *human_name){ NMConnection *connection; @@ -251,32 +386,32 @@ the stored object known to NetworkManager. 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)); + 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 ()); + 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)); + 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); + g_object_unref (connection); /* Let glib event loop run and added_cb() will be called when NetworkManager * is done adding the new connection. */ @@ -288,762 +423,743 @@ the stored object known to NetworkManager.
-

-

+

-

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. -

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

NM_REMOTE_SETTINGS_ERROR_UNKNOWN

unknown or unclassified error -

NM_REMOTE_SETTINGS_ERROR_CONNECTION_REMOVED

the NMRemoteConnection object - was removed before it was completely initialized -

NM_REMOTE_SETTINGS_ERROR_CONNECTION_UNAVAILABLE

the NMRemoteConnection object - is not visible or otherwise unreadable -

NM_REMOTE_SETTINGS_ERROR_SERVICE_UNAVAILABLE

NetworkManager is not running. - (Since 0.9.10) -
-
-
-
-

NM_REMOTE_SETTINGS_ERROR

-
#define NM_REMOTE_SETTINGS_ERROR nm_remote_settings_error_quark ()
-
-

-

-
-
-
-

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.
-
-
-
-

NM_REMOTE_SETTINGS_BUS

-
#define NM_REMOTE_SETTINGS_BUS             "bus"
-
-

-

-
-
-
-

NM_REMOTE_SETTINGS_SERVICE_RUNNING

-
#define NM_REMOTE_SETTINGS_SERVICE_RUNNING "service-running"
-
-

-

-
-
-
-

NM_REMOTE_SETTINGS_HOSTNAME

-
#define NM_REMOTE_SETTINGS_HOSTNAME        "hostname"
-
-

-

-
-
-
-

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"
-
-

-

-
-
+

Functions

-

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;
+

NMRemoteSettingsLoadConnectionsFunc ()

+
void
+(*NMRemoteSettingsLoadConnectionsFunc)
+                               (NMRemoteSettings *settings,
+                                char **failures,
+                                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);
-};
-
+

NMRemoteSettingsSaveHostnameFunc ()

+
void
+(*NMRemoteSettingsSaveHostnameFunc) (NMRemoteSettings *settings,
+                                     GError *error,
+                                     gpointer user_data);


-

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. -

-
+

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

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

bus :

a valid and connected D-Bus connection. [allow-none] -

Returns :

the new remote settings object on success, or NULL on failure

bus

a valid and connected D-Bus connection.

[allow-none]
+
+

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. -

-
+

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

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

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. -

-
+

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

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

result :

a GAsyncResult -

error :

location for a GError, or NULL -

result

a GAsyncResult

 

Returns :

a new NMRemoteSettings object, or NULL on error

error

location for a GError, or NULL

 
+
+

Returns

+

a new NMRemoteSettings object, or NULL on error

+

+
+

-

nm_remote_settings_list_connections ()

-
GSList *            nm_remote_settings_list_connections (NMRemoteSettings *settings);
-
+

nm_remote_settings_list_connections ()

+
GSList *
+nm_remote_settings_list_connections (NMRemoteSettings *settings);
+
+

Parameters

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

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 NMRemoteConnection] - - - -

+using g_slist_free() when no longer required.

+

[transfer container][element-type NMRemoteConnection]

+

-

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. -

-
+

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 +.

+
+

Parameters

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

settings :

the NMRemoteSettings -

settings

the NMRemoteSettings

 

id :

the id of the remote connection

Returns :

the remote connection object on success, or NULL if no -matching object was found. [transfer none] -

id

the id of the remote connection

 
+
+
+

Returns

+

the remote connection object on success, or NULL if no +matching object was found.

+

[transfer none]

+

Since 0.9.10


-

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. -

-
+

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

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

settings :

the NMRemoteSettings -

settings

the NMRemoteSettings

 

path :

the D-Bus object path of the remote connection

Returns :

the remote connection object on success, or NULL if the object was -not known. [transfer none] -

path

the D-Bus object path of the remote connection

 
+
+

Returns

+

the remote connection object on success, or NULL if the object was +not known.

+

[transfer none]

+
+
-

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. -

-
+

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

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

settings :

the NMRemoteSettings -

uuid :

the UUID of the remote connection

settings

the NMRemoteSettings

 

Returns :

the remote connection object on success, or NULL if the object was -not known. [transfer none] -

uuid

the UUID of the remote connection

 
+
+

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. The connection is immediately written to disk. connection is +

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. -

-
+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.

+
+

Parameters

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

settings :

the NMRemoteSettings -

settings

the NMRemoteSettings

 

connection :

the connection to add. Note that this object's settings will be -added, not the object itself

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] -

callback

callback to be called when the add operation completes.

[scope async]

user_data :

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

Returns :

-TRUE if the request was successful, FALSE if it failed

user_data

caller-specific data passed to callback +.

[closure]
+
+

Returns

+

TRUE if the request was successful, FALSE if it failed

+

+
+
-

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 +

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. -

-
+a later time by calling the connection's nm_remote_connection_commit_changes() +method.

+
+

Parameters

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

settings :

the NMRemoteSettings -

settings

the NMRemoteSettings

 

connection :

the connection to add. Note that this object's settings will be -added, not the object itself

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] -

user_data :

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

callback

callback to be called when the add operation completes.

[scope async]

Returns :

-TRUE if the request was successful, FALSE if it failed

user_data

caller-specific data passed to callback +.

[closure]
+
+
+

Returns

+

TRUE if the request was successful, FALSE if it failed

+

+

Since 0.9.10


-

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. -

-

-The changes to the indicated files will not yet be reflected in -settings's connections array when the function returns. -

-

-If all of the indicated files were successfully loaded, the -function will return TRUE, and failures will be set to NULL. If +

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.

+

The changes to the indicated files will not yet be reflected in +settings +'s connections array when the function returns.

+

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. -

-
+then failures + will be set to a NULL-terminated array of the +filenames that failed to load.

+
+

Parameters

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

settings :

the NMRemoteSettings -

filenames :

-NULL-terminated array of filenames to load

settings

the NMRemoteSettings

 

failures :

on return, a NULL-terminated array of -filenames that failed to load. [out][transfer full] -

filenames

NULL-terminated array of filenames to load

 

error :

return location for GError -

failures

on return, a NULL-terminated array of +filenames that failed to load.

[out][transfer full]

Returns :

-TRUE if NetworkManager at least tried to load filenames, -FALSE if an error occurred (eg, permission denied).

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_reload_connections ()

-
gboolean            nm_remote_settings_reload_connections
-                                                        (NMRemoteSettings *settings,
-                                                         GError **error);
-

-Requests that the remote settings service reload all 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. -

-
+the in-memory state matches the on-disk state.

+
+

Parameters

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

settings :

the NMRemoteSettings -

error :

return location for GError -

settings

the NMRemoteSettings

 

Returns :

-TRUE on success, FALSE on failure

error

return location for GError

 
+
+
+

Returns

+

TRUE on success, FALSE on failure

+

+

Since 0.9.10


-

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. -

-
+

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

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

settings :

the NMRemoteSettings -

settings

the NMRemoteSettings

 

hostname

the new persistent hostname to set, or NULL to clear any existing +persistent hostname

 

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]

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

+

+
+ + +
+

Types and Values

+
+

enum NMRemoteSettingsError

+

Describes errors that may result from operations involving a NMRemoteSettings.

+
+

Members

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

NM_REMOTE_SETTINGS_ERROR_UNKNOWN

+

unknown or unclassified error

 

user_data :

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

NM_REMOTE_SETTINGS_ERROR_CONNECTION_REMOVED

+

the NMRemoteConnection object + was removed before it was completely initialized

 

Returns :

-TRUE if the request was successful, FALSE if it failed

NM_REMOTE_SETTINGS_ERROR_CONNECTION_UNAVAILABLE

+

the NMRemoteConnection object + is not visible or otherwise unreadable

+
 

NM_REMOTE_SETTINGS_ERROR_SERVICE_UNAVAILABLE

+

NetworkManager is not running. + (Since 0.9.10)

+
 
-
-

Property Details

+
-

The "bus" property

-
  "bus"                      DBusGConnection*      : Read / Write / Construct Only
+

NM_REMOTE_SETTINGS_ERROR

+
#define NM_REMOTE_SETTINGS_ERROR nm_remote_settings_error_quark ()
+

-The DBusGConnection that the NMRemoteSettings is connected to. Defaults -to the system bus if not specified.


-

The "can-modify" property

-
  "can-modify"               gboolean              : Read
+

NM_REMOTE_SETTINGS_BUS

+
#define NM_REMOTE_SETTINGS_BUS             "bus"
+

-If TRUE, adding and modifying connections is supported.

-

Default value: FALSE


-

The "hostname" property

-
  "hostname"                 gchar*                : Read
+

NM_REMOTE_SETTINGS_SERVICE_RUNNING

+
#define NM_REMOTE_SETTINGS_SERVICE_RUNNING "service-running"
+

-The machine hostname stored in persistent configuration. This can be -modified by calling nm_remote_settings_save_hostname().

-

Default value: NULL


-

The "service-running" property

-
  "service-running"          gboolean              : Read
+

NM_REMOTE_SETTINGS_HOSTNAME

+
#define NM_REMOTE_SETTINGS_HOSTNAME        "hostname"
+

-Whether the settings service is running.

-

Default value: FALSE

+
+
+

NM_REMOTE_SETTINGS_CAN_MODIFY

+
#define NM_REMOTE_SETTINGS_CAN_MODIFY      "can-modify"
+
+

+

-
-

Signal Details

+
-

The "connections-read" signal

-
void                user_function                      (NMRemoteSettings *nmremotesettings,
-                                                        gpointer          user_data)             : Run First
+

NM_REMOTE_SETTINGS_NEW_CONNECTION

+
#define NM_REMOTE_SETTINGS_NEW_CONNECTION    "new-connection"
+

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

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)             : Run First
+

NM_REMOTE_SETTINGS_CONNECTIONS_READ

+
#define NM_REMOTE_SETTINGS_CONNECTIONS_READ  "connections-read"
+

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

nmremotesettings :

the object which received the signal.

user_data :

user data set when the signal handler was connected.
+
+
+
+

Property Details

+
+

The “bus” property

+
  “bus”                      DBusGConnection *
+

+

Flags: Read / Write / Construct Only

+
+
+
+

The “can-modify” property

+
  “can-modify”               gboolean
+

+

Flags: Read

+

Default value: FALSE

+
+
+
+

The “hostname” property

+
  “hostname”                 gchar *
+

+

Flags: Read

+

Default value: NULL

+
+
+
+

The “service-running” property

+
  “service-running”          gboolean
+

+

Flags: Read

+

Default value: FALSE

+
+
+
+

Signal Details

+
+

The “connections-read” signal

+
void
+user_function (NMRemoteSettings *nmremotesettings,
+               gpointer          user_data)
+

Flags: Run First

+
+
+
+

The “new-connection” signal

+
void
+user_function (NMRemoteSettings *nmremotesettings,
+               GObject          *arg1,
+               gpointer          user_data)
+

Flags: Run First

+ Generated by GTK-Doc V1.21
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMSecretAgent.html b/docs/libnm-glib/html/NMSecretAgent.html index feeaf82e..367c6450 100644 --- a/docs/libnm-glib/html/NMSecretAgent.html +++ b/docs/libnm-glib/html/NMSecretAgent.html @@ -2,36 +2,29 @@ -NMSecretAgent +libnm-glib Reference Manual: NMSecretAgent - + - - - - - - - - - - + + + + + + +
@@ -39,318 +32,243 @@

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

-

-

-
-
-

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. -

-
+

Functions

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

NM_SECRET_AGENT_ERROR_NOT_AUTHORIZED

the caller (ie, NetworkManager) is not - authorized to make this request +#defineNM_SECRET_AGENT_ERROR
+GQuark + +nm_secret_agent_error_quark () +
+void + +(*NMSecretAgentGetSecretsFunc) () +
+void + +(*NMSecretAgentSaveSecretsFunc) () +
+void + +(*NMSecretAgentDeleteSecretsFunc) () +
+gboolean + +nm_secret_agent_register ()

NM_SECRET_AGENT_ERROR_INVALID_CONNECTION

the connection for which secrets - were requested could not be found + +gboolean + +nm_secret_agent_unregister ()

NM_SECRET_AGENT_ERROR_USER_CANCELED

the request was canceled by the user + +gboolean + +nm_secret_agent_get_registered ()

NM_SECRET_AGENT_ERROR_AGENT_CANCELED

the agent canceled the request - because it was requested to do so by NetworkManager + +void + +nm_secret_agent_get_secrets ()

NM_SECRET_AGENT_ERROR_INTERNAL_ERROR

some internal error in the agent caused - the request to fail + +void + +nm_secret_agent_save_secrets ()

NM_SECRET_AGENT_ERROR_NO_SECRETS

the agent cannot find any secrets for this - connection + +void + +nm_secret_agent_delete_secrets ()
-
-
-

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. -

-
+
+

Properties

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

NM_SECRET_AGENT_CAPABILITY_NONE

the agent supports no special capabilities -gbooleanauto-registerRead / Write / Construct

NM_SECRET_AGENT_CAPABILITY_VPN_HINTS

the agent supports sending hints given -by the get_secrets class method to VPN plugin -authentication dialogs. -NMSecretAgentCapabilitiescapabilitiesRead / Write / Construct

NM_SECRET_AGENT_CAPABILITY_LAST

bounds checking value; should not be used. - +gchar *identifierRead / Write / Construct Only
gbooleanregisteredRead
-

Since 0.9.10

-
-
-

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. -

-
+
+

Signals

+
+++++ + + + + + +
voidregistration-resultRun First
+
+
+

Types and Values

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

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. -enumNMSecretAgentError

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. -enumNMSecretAgentCapabilities

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. -enumNMSecretAgentGetSecretsFlags

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. -#defineNM_SECRET_AGENT_IDENTIFIER
#defineNM_SECRET_AGENT_AUTO_REGISTER
#defineNM_SECRET_AGENT_REGISTERED
#defineNM_SECRET_AGENT_CAPABILITIES
#defineNM_SECRET_AGENT_REGISTRATION_RESULT
-
-
-

NM_SECRET_AGENT_IDENTIFIER

-
#define NM_SECRET_AGENT_IDENTIFIER          "identifier"
-
-

-

-
-
-
-

NM_SECRET_AGENT_AUTO_REGISTER

-
#define NM_SECRET_AGENT_AUTO_REGISTER       "auto-register"
+
+

Object Hierarchy

+
    GObject
+    ╰── NMSecretAgent
 
-

-

-
-
-

NM_SECRET_AGENT_REGISTERED

-
#define NM_SECRET_AGENT_REGISTERED          "registered"
-
+
+

Description

-
+
+

Functions

-

NM_SECRET_AGENT_CAPABILITIES

-
#define NM_SECRET_AGENT_CAPABILITIES        "capabilities"
+

NM_SECRET_AGENT_ERROR

+
#define NM_SECRET_AGENT_ERROR         (nm_secret_agent_error_quark ())
 


-

NM_SECRET_AGENT_REGISTRATION_RESULT

-
#define NM_SECRET_AGENT_REGISTRATION_RESULT "registration-result"
-
+

nm_secret_agent_error_quark ()

+
GQuark
+nm_secret_agent_error_quark (void);

+
+

Returns

+

-
-
-

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 +

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 Wi-Fi 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

@@ -376,533 +294,664 @@ something like this: GHashTable *secrets_hash;secrets = nm_connection_new (); -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); -nm_connection_add_setting (secrets, NM_SETTING (s_wsec)); -secrets_hash = nm_connection_to_hash (secrets, NM_SETTING_HASH_FLAG_ALL); +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); +nm_connection_add_setting (secrets, NM_SETTING (s_wsec)); +secrets_hash = nm_connection_to_hash (secrets, NM_SETTING_HASH_FLAG_ALL);(call the NMSecretAgentGetSecretsFunc with secrets_hash) -g_object_unref (secrets); -g_hash_table_unref (secrets_hash); +g_object_unref (secrets); +g_hash_table_unref (secrets_hash);
-


-

-
+
+

Parameters

+
--+++ - - + + + - - + +g_object_ref()/g_object_unref() if you want to use this object after the callback +has returned.

+ - - + +is the secret.

+ - - + + + - - + + +

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] -

[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 +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] -

[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. -

-
+should be called.

+
+

Parameters

+
--+++ - - + + + - - + +g_object_ref()/g_object_unref() if you want to use this object after the callback +has returned.

+ - - + + + - - + + +

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] -

[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. -

-
+should be called.

+
+

Parameters

+
--+++ - - + + + - - + +g_object_ref()/g_object_unref() if you want to use this object after the callback +has returned.

+ - - + + + - - + + +

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] -

[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. -

-
+'registration-result' signal.

+
+

Parameters

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

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

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

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

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

self :

a NMSecretAgent -

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]

Returns :

a new TRUE if registration was successfully requested (this does -not mean registration itself was successful), FALSE if registration was not -successfully requested.

user_data

caller-specific data to be passed to callback +.

[closure]
+

-

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. -

-
+

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

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

self :

a NMSecretAgent -

self

a NMSecretAgent

 

connection

a NMConnection

 

callback

a callback, to be invoked when the operation is done.

[scope async]

Returns :

a new TRUE if unregistration was successful, FALSE if it was not.

user_data

caller-specific data to be passed to callback +.

[closure]
+

-

nm_secret_agent_get_registered ()

-
gboolean            nm_secret_agent_get_registered      (NMSecretAgent *self);
-
+

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

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

self :

a NMSecretAgent -

self

a NMSecretAgent

 

connection

a NMConnection

 

Returns :

a TRUE if the agent is registered, FALSE if it is not.

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

-

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 -

-
+

enum NMSecretAgentError

+

NMSecretAgentError values are passed by secret agents back to NetworkManager +when they encounter problems retrieving secrets on behalf of NM.

+
+

Members

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

self :

a NMSecretAgent +

NM_SECRET_AGENT_ERROR_NOT_AUTHORIZED

+

the caller (ie, NetworkManager) is not + authorized to make this request

 

connection :

the NMConnection for which we're asked secrets

setting_name :

the name of the secret setting

NM_SECRET_AGENT_ERROR_INVALID_CONNECTION

+

the connection for which secrets + were requested could not be found

+
 

hints :

hints to the agent. [array zero-terminated=1] +

NM_SECRET_AGENT_ERROR_USER_CANCELED

+

the request was canceled by the user

 

flags :

flags that modify the behavior of the request

NM_SECRET_AGENT_ERROR_AGENT_CANCELED

+

the agent canceled the request + because it was requested to do so by NetworkManager

+
 

callback :

a callback, to be invoked when the operation is done. [scope async] +

NM_SECRET_AGENT_ERROR_INTERNAL_ERROR

+

some internal error in the agent caused + the request to fail

 

user_data :

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

NM_SECRET_AGENT_ERROR_NO_SECRETS

+

the agent cannot find any secrets for this + connection

 
+

-

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 -

-
+

enum NMSecretAgentCapabilities

+

NMSecretAgentCapabilities indicate various capabilities of the agent.

+
+

Members

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

self :

a NMSecretAgent -

connection :

a NMConnection +

NM_SECRET_AGENT_CAPABILITY_NONE

+

the agent supports no special capabilities

 

callback :

a callback, to be invoked when the operation is done. [scope async] +

NM_SECRET_AGENT_CAPABILITY_VPN_HINTS

+

the agent supports sending hints given +by the get_secrets class method to VPN plugin +authentication dialogs.

 

user_data :

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

NM_SECRET_AGENT_CAPABILITY_LAST

+

bounds checking value; should not be used.

 
+

Since 0.9.10

+
-

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 -

-
+

enum NMSecretAgentGetSecretsFlags

+

NMSecretAgentGetSecretsFlags values modify the behavior of a GetSecrets request.

+
+

Members

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

self :

a NMSecretAgent +

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.

 

connection :

a NMConnection +

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.

 

callback :

a callback, to be invoked when the operation is done. [scope async] +

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.

 

user_data :

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

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.

 
-
-

Property Details

+
-

The "auto-register" property

-
  "auto-register"            gboolean              : Read / Write / Construct
+

NM_SECRET_AGENT_IDENTIFIER

+
#define NM_SECRET_AGENT_IDENTIFIER          "identifier"
+

-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


-

The "capabilities" property

-
  "capabilities"             NMSecretAgentCapabilities  : Read / Write / Construct
+

NM_SECRET_AGENT_AUTO_REGISTER

+
#define NM_SECRET_AGENT_AUTO_REGISTER       "auto-register"
+

-A bitfield of NMSecretAgentCapabilities.


-

The "identifier" property

-
  "identifier"               gchar*                : Read / Write / Construct Only
+

NM_SECRET_AGENT_REGISTERED

+
#define NM_SECRET_AGENT_REGISTERED          "registered"
+

-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


-

The "registered" property

-
  "registered"               gboolean              : Read
+

NM_SECRET_AGENT_CAPABILITIES

+
#define NM_SECRET_AGENT_CAPABILITIES        "capabilities"
+
+

+

+
+
+
+

NM_SECRET_AGENT_REGISTRATION_RESULT

+
#define NM_SECRET_AGENT_REGISTRATION_RESULT "registration-result"
+

-TRUE if the agent is registered with NetworkManager, FALSE if not.

+
+
+
+

Property Details

+
+

The “auto-register” property

+
  “auto-register”            gboolean
+

+

Flags: Read / Write / Construct

+

Default value: TRUE

+
+
+
+

The “capabilities” property

+
  “capabilities”             NMSecretAgentCapabilities
+

+

Flags: Read / Write / Construct

+
+
+
+

The “identifier” property

+
  “identifier”               gchar *
+

+

Flags: Read / Write / Construct Only

+

Default value: NULL

+
+
+
+

The “registered” property

+
  “registered”               gboolean
+

+

Flags: Read

Default value: FALSE

Signal Details

-

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.
+

The “registration-result” signal

+
void
+user_function (NMSecretAgent *agent,
+               gpointer       error,
+               gpointer       user_data)
+

Flags: Run First

+ Generated by GTK-Doc V1.21 \ No newline at end of file diff --git a/docs/libnm-glib/html/NMVPNConnection.html b/docs/libnm-glib/html/NMVPNConnection.html index 4241b467..c74274ea 100644 --- a/docs/libnm-glib/html/NMVPNConnection.html +++ b/docs/libnm-glib/html/NMVPNConnection.html @@ -2,38 +2,29 @@ -NMVPNConnection +libnm-glib Reference Manual: NMVPNConnection - + - - - - - - - - - - + + + + + + +
@@ -41,200 +32,237 @@

NMVPNConnection

NMVPNConnection

- +
-
-

Object Hierarchy

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

Implemented Interfaces

-

-NMVPNConnection implements - GInitable and GAsyncInitable.

+

Functions

+
++++ + + + + + + + + + + + + + + +
+GObject * + +nm_vpn_connection_new () +
+NMVPNConnectionState + +nm_vpn_connection_get_vpn_state () +
const char * + +nm_vpn_connection_get_banner () +

Properties

-
-  "banner"                   gchar*                : Read
-  "vpn-state"                guint                 : Read
-
+
+++++ + + + + + + + + + + + + +
+gchar *bannerRead
guintvpn-stateRead

Signals

-
-  "vpn-state-changed"                              : Run First
-
+
+++++ + + + + + +
voidvpn-state-changedRun First
-

Description

-

-

+

Types and Values

+
++++ + + + + + + + + + + +
#defineNM_VPN_CONNECTION_VPN_STATE
#defineNM_VPN_CONNECTION_BANNER
-

Details

-
-

NM_VPN_CONNECTION_VPN_STATE

-
#define NM_VPN_CONNECTION_VPN_STATE "vpn-state"
-
-

-

-
-
-
-

NM_VPN_CONNECTION_BANNER

-
#define NM_VPN_CONNECTION_BANNER "banner"
+

Object Hierarchy

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

-

-
-
-
-

NMVPNConnection

-
typedef struct _NMVPNConnection NMVPNConnection;
-

-

-
-
-

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;
-
+
+

Description

-
+
+

Functions

-

nm_vpn_connection_new ()

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

-Creates a new NMVPNConnection. -

-
+

nm_vpn_connection_new ()

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

Creates a new NMVPNConnection.

+
+

Parameters

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

connection :

the DBusGConnection -

path :

the DBus object path of the new connection

connection

the DBusGConnection

 

Returns :

a new connection object. [transfer full] -

path

the DBus object path of the new connection

 
+
+

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. -

-
+

nm_vpn_connection_get_vpn_state ()

+
NMVPNConnectionState
+nm_vpn_connection_get_vpn_state (NMVPNConnection *vpn);
+

Gets the current NMVPNConnection state.

+
+

Parameters

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

vpn :

a NMVPNConnection -

Returns :

the VPN state of the active VPN connection.

vpn

a NMVPNConnection

 
+
+

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. -

-
+

nm_vpn_connection_get_banner ()

+
const char *
+nm_vpn_connection_get_banner (NMVPNConnection *vpn);
+

Gets the VPN login banner of the active NMVPNConnection.

+
+

Parameters

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

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.

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.

+

+
+
-

Property Details

+

Types and Values

-

The "banner" property

-
  "banner"                   gchar*                : Read
+

NM_VPN_CONNECTION_VPN_STATE

+
#define NM_VPN_CONNECTION_VPN_STATE "vpn-state"
+

-The VPN login banner of the active VPN connection.

-

Default value: NULL


-

The "vpn-state" property

-
  "vpn-state"                guint                 : Read
+

NM_VPN_CONNECTION_BANNER

+
#define NM_VPN_CONNECTION_BANNER "banner"
+

-The VPN state of the active VPN connection.

+
+
+
+

Property Details

+
+

The “banner” property

+
  “banner”                   gchar *
+

+

Flags: Read

+

Default value: NULL

+
+
+
+

The “vpn-state” property

+
  “vpn-state”                guint
+

+

Flags: Read

Allowed values: <= 7

Default value: 0

@@ -242,34 +270,18 @@ The VPN state of the active VPN connection.

Signal Details

-

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.
+

The “vpn-state-changed” signal

+
void
+user_function (NMVPNConnection *nmvpnconnection,
+               guint            arg1,
+               guint            arg2,
+               gpointer         user_data)
+

Flags: Run First

+ Generated by GTK-Doc V1.21 \ No newline at end of file diff --git a/docs/libnm-glib/html/NMWimaxNsp.html b/docs/libnm-glib/html/NMWimaxNsp.html index ea7536cf..a83434a5 100644 --- a/docs/libnm-glib/html/NMWimaxNsp.html +++ b/docs/libnm-glib/html/NMWimaxNsp.html @@ -2,36 +2,28 @@ -NMWimaxNsp +libnm-glib Reference Manual: NMWimaxNsp - + - - - - - - - - - - + + + + + + +
@@ -39,351 +31,430 @@

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

-

-

-
-

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;
-
-

-WiMAX network type. -

-
+

Functions

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

NM_WIMAX_NSP_NETWORK_TYPE_UNKNOWN

unknown network type + +GObject * + +nm_wimax_nsp_new () +
const char * + +nm_wimax_nsp_get_name ()

NM_WIMAX_NSP_NETWORK_TYPE_HOME

home network + +guint32 + +nm_wimax_nsp_get_signal_quality ()

NM_WIMAX_NSP_NETWORK_TYPE_PARTNER

partner network + +NMWimaxNspNetworkType + +nm_wimax_nsp_get_network_type ()

NM_WIMAX_NSP_NETWORK_TYPE_ROAMING_PARTNER

roaming partner network + +GSList * + +nm_wimax_nsp_filter_connections () +
+gboolean + +nm_wimax_nsp_connection_valid ()
-
-
-

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. -

-
+
+

Properties

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

connection :

the DBusGConnection - +gchar *nameRead

path :

the D-Bus object path of the WiMAX NSPguintnetwork-typeRead

Returns :

a new WiMAX NSP. [transfer full] -guintsignal-qualityRead
-
-
-

nm_wimax_nsp_get_name ()

-
const char *        nm_wimax_nsp_get_name               (NMWimaxNsp *nsp);
-

-Gets the name of the wimax NSP -

-
+
+

Types and Values

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

nsp :

a NMWimaxNsp -#defineNM_WIMAX_NSP_NAME
#defineNM_WIMAX_NSP_SIGNAL_QUALITY

Returns :

the name#defineNM_WIMAX_NSP_NETWORK_TYPE
enumNMWimaxNspNetworkType
-
-
-

nm_wimax_nsp_get_signal_quality ()

-
guint32             nm_wimax_nsp_get_signal_quality     (NMWimaxNsp *nsp);
+
+

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ╰── NMWimaxNsp
+
+
+
+

Description

-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

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

nsp :

a NMWimaxNsp -

connection

the DBusGConnection

 

Returns :

the signal quality

path

the D-Bus object path of the WiMAX NSP

 
+
+

Returns

+

a new WiMAX NSP.

+

[transfer full]

+
+

-

nm_wimax_nsp_get_network_type ()

-
NMWimaxNspNetworkType nm_wimax_nsp_get_network_type     (NMWimaxNsp *nsp);
-

-Gets the network type of the wimax NSP. -

-
+

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

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

nsp :

a NMWimaxNsp -

nsp

an NMWimaxNsp to filter connections for

 

Returns :

the network type

connections

a list of +NMConnection objects to filter.

[element-type NMConnection]
+
+

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 NMConnection]

+
+

-

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. -

-
+

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

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

nsp :

an NMWimaxNsp to filter connections for

connections :

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

nsp

an NMWimaxNsp to validate connection +against

 

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 NMConnection] -

connection

an NMConnection to validate against nsp +

 
+
+

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_connection_valid ()

-
gboolean            nm_wimax_nsp_connection_valid       (NMWimaxNsp *nsp,
-                                                         NMConnection *connection);
+

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"
+

-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.

-
+ +
+
+

enum NMWimaxNspNetworkType

+

WiMAX network type.

+
+

Members

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

nsp :

an NMWimaxNsp to validate connection against

NM_WIMAX_NSP_NETWORK_TYPE_UNKNOWN

+

unknown network type

+
 

connection :

an NMConnection to validate against nsp +

NM_WIMAX_NSP_NETWORK_TYPE_HOME

+

home network

 

Returns :

-TRUE if the connection may be activated with this WiMAX NSP, -FALSE if it cannot be.

NM_WIMAX_NSP_NETWORK_TYPE_PARTNER

+

partner network

+
 

NM_WIMAX_NSP_NETWORK_TYPE_ROAMING_PARTNER

+

roaming partner network

+
 
+

Property Details

-

The "name" property

-
  "name"                     gchar*                : Read
-

-The name of the WiMAX NSP. -

+

The “name” property

+
  “name”                     gchar *
+

+

Flags: Read

Default value: NULL


-

The "network-type" property

-
  "network-type"             guint                 : Read
-

-The network type of the WiMAX NSP. -

+

The “network-type” property

+
  “network-type”             guint
+

+

Flags: Read

Default value: 0


-

The "signal-quality" property

-
  "signal-quality"           guint                 : Read
-

-The signal quality of the WiMAX NSP. -

+

The “signal-quality” property

+
  “signal-quality”           guint
+

+

Flags: Read

Allowed values: <= 100

Default value: 0

@@ -391,6 +462,6 @@ The signal quality of the WiMAX NSP.
+ Generated by GTK-Doc V1.21 \ 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 7c26248c..03f6d263 100644 --- a/docs/libnm-glib/html/annotation-glossary.html +++ b/docs/libnm-glib/html/annotation-glossary.html @@ -2,43 +2,38 @@ -Annotation Glossary +libnm-glib Reference Manual: Annotation Glossary - + - - - - - - - - - - + + + + + + +

Annotation Glossary

A

allow-none
-

NULL is ok, both for passing and for returning.

+

NULL is OK, both for passing and for returning.

array

Parameter points to an array of items.

C

@@ -60,11 +55,9 @@

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.21 \ 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 e52c73aa..59052d84 100644 --- a/docs/libnm-glib/html/api-index-full.html +++ b/docs/libnm-glib/html/api-index-full.html @@ -2,94 +2,81 @@ -API Index +libnm-glib Reference Manual: API Index - + - - - - - - - - - - + + + + + + +

API Index

A

-NMAccessPoint, struct in NMAccessPoint +NMAccessPoint:bssid, object property in NMAccessPoint
-NMAccessPoint:bssid, object property in NMAccessPoint +NMAccessPoint:flags, object property in NMAccessPoint
-NMAccessPoint:flags, object property in NMAccessPoint +NMAccessPoint:frequency, object property in NMAccessPoint
-NMAccessPoint:frequency, object property in NMAccessPoint +NMAccessPoint:hw-address, object property in NMAccessPoint
-NMAccessPoint:hw-address, object property in NMAccessPoint +NMAccessPoint:max-bitrate, object property in NMAccessPoint
-NMAccessPoint:max-bitrate, object property in NMAccessPoint +NMAccessPoint:mode, object property in NMAccessPoint
-NMAccessPoint:mode, object property in NMAccessPoint +NMAccessPoint:rsn-flags, object property in NMAccessPoint
-NMAccessPoint:rsn-flags, object property in NMAccessPoint +NMAccessPoint:ssid, object property in NMAccessPoint
-NMAccessPoint:ssid, object property in NMAccessPoint +NMAccessPoint:strength, object property in NMAccessPoint
-NMAccessPoint:strength, object property in NMAccessPoint -
-
-
-NMAccessPoint:wpa-flags, object property in NMAccessPoint -
-
-
-NMAccessPointClass, struct in NMAccessPoint +NMAccessPoint:wpa-flags, object property in NMAccessPoint
@@ -97,11 +84,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
@@ -113,43 +100,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
@@ -165,7 +152,7 @@
-nm_access_point_new, function in NMAccessPoint +nm_access_point_new, function in NMAccessPoint
@@ -185,71 +172,63 @@
-NMActiveConnection, struct in NMActiveConnection -
-
-
-NMActiveConnection:connection, object property in NMActiveConnection -
-
-
-NMActiveConnection:default, object property in NMActiveConnection +NMActiveConnection:connection, object property in NMActiveConnection
-NMActiveConnection:default6, object property in NMActiveConnection +NMActiveConnection:default, object property in NMActiveConnection
-NMActiveConnection:devices, object property in NMActiveConnection +NMActiveConnection:default6, object property in NMActiveConnection
-NMActiveConnection:dhcp4-config, object property in NMActiveConnection +NMActiveConnection:devices, object property in NMActiveConnection
-NMActiveConnection:dhcp6-config, object property in NMActiveConnection +NMActiveConnection:dhcp4-config, object property in NMActiveConnection
-NMActiveConnection:id, object property in NMActiveConnection +NMActiveConnection:dhcp6-config, object property in NMActiveConnection
-NMActiveConnection:ip4-config, object property in NMActiveConnection +NMActiveConnection:id, object property in NMActiveConnection
-NMActiveConnection:ip6-config, object property in NMActiveConnection +NMActiveConnection:ip4-config, object property in NMActiveConnection
-NMActiveConnection:master, object property in NMActiveConnection +NMActiveConnection:ip6-config, 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:type, object property in NMActiveConnection
-NMActiveConnection:vpn, object property in NMActiveConnection +NMActiveConnection:uuid, object property in NMActiveConnection
-NMActiveConnectionClass, struct in NMActiveConnection +NMActiveConnection:vpn, object property in NMActiveConnection
@@ -277,63 +256,63 @@
-nm_active_connection_get_connection, function in NMActiveConnection +nm_active_connection_get_connection, function in NMActiveConnection
-nm_active_connection_get_connection_type, function in NMActiveConnection +nm_active_connection_get_connection_type, function in NMActiveConnection
-nm_active_connection_get_default, function in NMActiveConnection +nm_active_connection_get_default, function in NMActiveConnection
-nm_active_connection_get_default6, function in NMActiveConnection +nm_active_connection_get_default6, function in NMActiveConnection
-nm_active_connection_get_devices, function in NMActiveConnection +nm_active_connection_get_devices, function in NMActiveConnection
-nm_active_connection_get_dhcp4_config, 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_dhcp6_config, function in NMActiveConnection
-nm_active_connection_get_id, function in NMActiveConnection +nm_active_connection_get_id, function in NMActiveConnection
-nm_active_connection_get_ip4_config, function in NMActiveConnection +nm_active_connection_get_ip4_config, function in NMActiveConnection
-nm_active_connection_get_ip6_config, function in NMActiveConnection +nm_active_connection_get_ip6_config, 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_get_vpn, function in NMActiveConnection
@@ -353,7 +332,7 @@
-nm_active_connection_new, function in NMActiveConnection +nm_active_connection_new, function in NMActiveConnection
@@ -378,95 +357,87 @@

C

-NMClient, struct in NMClient -
-
-
-NMClient::device-added, object signal in NMClient +NMClient::device-added, object signal in NMClient
-NMClient::device-removed, object signal in NMClient +NMClient::device-removed, object signal in NMClient
-NMClient::permission-changed, object signal in NMClient +NMClient::permission-changed, object signal in NMClient
-NMClient:activating-connection, object property in NMClient +NMClient:activating-connection, object property in NMClient
-NMClient:active-connections, object property in NMClient +NMClient:active-connections, object property in NMClient
-NMClient:connectivity, object property in NMClient +NMClient:connectivity, object property in NMClient
-NMClient:devices, object property in NMClient +NMClient:devices, object property in NMClient
-NMClient:manager-running, object property in NMClient +NMClient:manager-running, object property in NMClient
-NMClient:networking-enabled, object property in NMClient +NMClient:networking-enabled, object property in NMClient
-NMClient:primary-connection, object property in NMClient +NMClient:primary-connection, object property in NMClient
-NMClient:startup, object property in NMClient +NMClient:startup, object property in NMClient
-NMClient:state, object property in NMClient +NMClient:state, object property in NMClient
-NMClient:version, object property in NMClient +NMClient:version, object property in NMClient
-NMClient:wimax-enabled, object property in NMClient +NMClient:wimax-enabled, object property in NMClient
-NMClient:wimax-hardware-enabled, object property in NMClient +NMClient:wimax-hardware-enabled, object property in NMClient
-NMClient:wireless-enabled, object property in NMClient +NMClient:wireless-enabled, object property in NMClient
-NMClient:wireless-hardware-enabled, object property in NMClient +NMClient:wireless-hardware-enabled, object property in NMClient
-NMClient:wwan-enabled, object property in NMClient +NMClient:wwan-enabled, object property in NMClient
-NMClient:wwan-hardware-enabled, object property in NMClient +NMClient:wwan-hardware-enabled, object property in NMClient
-NMClientActivateFn, user_function in NMClient +NMClientActivateFn, user_function in NMClient
-NMClientAddActivateFn, user_function in NMClient -
-
-
-NMClientClass, struct in NMClient +NMClientAddActivateFn, user_function in NMClient
@@ -482,7 +453,7 @@
-nm_client_activate_connection, function in NMClient +nm_client_activate_connection, function in NMClient
@@ -494,19 +465,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
@@ -514,7 +485,7 @@
-nm_client_deactivate_connection, function in NMClient +nm_client_deactivate_connection, function in NMClient
@@ -526,59 +497,59 @@
-nm_client_error_quark, function in NMClient +nm_client_error_quark, function in NMClient
-nm_client_get_activating_connection, function in NMClient +nm_client_get_activating_connection, function in NMClient
-nm_client_get_active_connections, function in NMClient +nm_client_get_active_connections, function in NMClient
-nm_client_get_connectivity, function in NMClient +nm_client_get_connectivity, function in NMClient
-nm_client_get_devices, function in NMClient +nm_client_get_devices, function in NMClient
-nm_client_get_device_by_iface, function in NMClient +nm_client_get_device_by_iface, function in NMClient
-nm_client_get_device_by_path, function in NMClient +nm_client_get_device_by_path, function in NMClient
-nm_client_get_logging, function in NMClient +nm_client_get_logging, function in NMClient
-nm_client_get_manager_running, function in NMClient +nm_client_get_manager_running, function in NMClient
-nm_client_get_permission_result, function in NMClient +nm_client_get_permission_result, function in NMClient
-nm_client_get_primary_connection, function in NMClient +nm_client_get_primary_connection, function in NMClient
-nm_client_get_startup, function in NMClient +nm_client_get_startup, function in NMClient
-nm_client_get_state, function in NMClient +nm_client_get_state, function in NMClient
-nm_client_get_version, function in NMClient +nm_client_get_version, function in NMClient
@@ -590,23 +561,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
@@ -614,11 +585,11 @@
-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
@@ -638,7 +609,7 @@
-nm_client_wimax_get_enabled, function in NMClient +nm_client_wimax_get_enabled, function in NMClient
@@ -646,11 +617,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
@@ -658,7 +629,7 @@
-nm_client_wireless_get_enabled, function in NMClient +nm_client_wireless_get_enabled, function in NMClient
@@ -666,11 +637,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
@@ -678,7 +649,7 @@
-nm_client_wwan_get_enabled, function in NMClient +nm_client_wwan_get_enabled, function in NMClient
@@ -686,124 +657,112 @@
-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, struct in NMDevice -
-
-
-NMDevice::state-changed, object signal in NMDevice -
-
-
-NMDevice:active-connection, object property in NMDevice -
-
-
-NMDevice:autoconnect, object property in NMDevice +NMDevice::state-changed, object signal in NMDevice
-NMDevice:available-connections, object property in NMDevice +NMDevice:active-connection, object property in NMDevice
-NMDevice:capabilities, object property in NMDevice +NMDevice:autoconnect, object property in NMDevice
-NMDevice:device-type, object property in NMDevice +NMDevice:available-connections, object property in NMDevice
-NMDevice:dhcp4-config, object property in NMDevice +NMDevice:capabilities, object property in NMDevice
-NMDevice:dhcp6-config, object property in NMDevice +NMDevice:device-type, object property in NMDevice
-NMDevice:driver, object property in NMDevice +NMDevice:dhcp4-config, object property in NMDevice
-NMDevice:driver-version, object property in NMDevice +NMDevice:dhcp6-config, object property in NMDevice
-NMDevice:firmware-missing, object property in NMDevice +NMDevice:driver, object property in NMDevice
-NMDevice:firmware-version, object property in NMDevice +NMDevice:driver-version, object property in NMDevice
-NMDevice:interface, object property in NMDevice +NMDevice:firmware-missing, object property in NMDevice
-NMDevice:ip-interface, object property in NMDevice +NMDevice:firmware-version, object property in NMDevice
-NMDevice:ip4-config, object property in NMDevice +NMDevice:interface, object property in NMDevice
-NMDevice:ip6-config, object property in NMDevice +NMDevice:ip-interface, object property in NMDevice
-NMDevice:managed, object property in NMDevice +NMDevice:ip4-config, object property in NMDevice
-NMDevice:mtu, object property in NMDevice +NMDevice:ip6-config, object property in NMDevice
-NMDevice:physical-port-id, object property in NMDevice +NMDevice:managed, object property in NMDevice
-NMDevice:product, object property in NMDevice +NMDevice:mtu, object property in NMDevice
-NMDevice:state, object property in NMDevice +NMDevice:physical-port-id, object property in NMDevice
-NMDevice:state-reason, object property in NMDevice +NMDevice:product, object property in NMDevice
-NMDevice:udi, object property in NMDevice +NMDevice:state, object property in NMDevice
-NMDevice:vendor, object property in NMDevice +NMDevice:state-reason, object property in NMDevice
-NMDeviceAdsl, struct in NMDeviceAdsl +NMDevice:udi, object property in NMDevice
-NMDeviceAdsl:carrier, object property in NMDeviceAdsl +NMDevice:vendor, object property in NMDevice
-NMDeviceAdslClass, struct in NMDeviceAdsl +NMDeviceAdsl:carrier, object property in NMDeviceAdsl
@@ -811,23 +770,15 @@
-NMDeviceBond, struct in NMDeviceBond -
-
-
-NMDeviceBond:carrier, object property 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
-NMDeviceBondClass, struct in NMDeviceBond +NMDeviceBond:slaves, object property in NMDeviceBond
@@ -835,23 +786,15 @@
-NMDeviceBridge, struct in NMDeviceBridge +NMDeviceBridge:carrier, object property in NMDeviceBridge
-NMDeviceBridge:carrier, object property in NMDeviceBridge +NMDeviceBridge:hw-address, object property in NMDeviceBridge
-NMDeviceBridge:hw-address, object property in NMDeviceBridge -
-
-
-NMDeviceBridge:slaves, object property in NMDeviceBridge -
-
-
-NMDeviceBridgeClass, struct in NMDeviceBridge +NMDeviceBridge:slaves, object property in NMDeviceBridge
@@ -859,23 +802,15 @@
-NMDeviceBt, struct in NMDeviceBt +NMDeviceBt:bt-capabilities, object property 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 -
-
-
-NMDeviceBtClass, struct in NMDeviceBt +NMDeviceBt:name, object property in NMDeviceBt
@@ -883,15 +818,11 @@
-NMDeviceCallbackFn, user_function in NMDevice -
-
-
-NMDeviceClass, struct in NMDevice +NMDeviceCallbackFn, user_function in NMDevice
-NMDeviceDeactivateFn, user_function in NMDevice +NMDeviceDeactivateFn, user_function in NMDevice
@@ -899,27 +830,19 @@
-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 -
-
-
-NMDeviceEthernetClass, struct in NMDeviceEthernet +NMDeviceEthernet:speed, object property in NMDeviceEthernet
@@ -927,19 +850,11 @@
-NMDeviceGeneric, struct in NMDeviceGeneric -
-
-
-NMDeviceGeneric:hw-address, object property in NMDeviceGeneric -
-
-
-NMDeviceGeneric:type-description, object property in NMDeviceGeneric +NMDeviceGeneric:hw-address, object property in NMDeviceGeneric
-NMDeviceGenericClass, struct in NMDeviceGeneric +NMDeviceGeneric:type-description, object property in NMDeviceGeneric
@@ -947,19 +862,11 @@
-NMDeviceInfiniband, struct in NMDeviceInfiniband -
-
-
-NMDeviceInfiniband:carrier, object property in NMDeviceInfiniband -
-
-
-NMDeviceInfiniband:hw-address, object property in NMDeviceInfiniband +NMDeviceInfiniband:carrier, object property in NMDeviceInfiniband
-NMDeviceInfinibandClass, struct in NMDeviceInfiniband +NMDeviceInfiniband:hw-address, object property in NMDeviceInfiniband
@@ -967,19 +874,11 @@
-NMDeviceModem, struct in NMDeviceModem +NMDeviceModem:current-capabilities, object property in NMDeviceModem
-NMDeviceModem:current-capabilities, object property in NMDeviceModem -
-
-
-NMDeviceModem:modem-capabilities, object property in NMDeviceModem -
-
-
-NMDeviceModemClass, struct in NMDeviceModem +NMDeviceModem:modem-capabilities, object property in NMDeviceModem
@@ -987,23 +886,15 @@
-NMDeviceOlpcMesh, struct in NMDeviceOlpcMesh +NMDeviceOlpcMesh:active-channel, object property 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 -
-
-
-NMDeviceOlpcMeshClass, struct in NMDeviceOlpcMesh +NMDeviceOlpcMesh:hw-address, object property in NMDeviceOlpcMesh
@@ -1011,23 +902,15 @@
-NMDeviceTeam, struct in NMDeviceTeam -
-
-
-NMDeviceTeam:carrier, object property in NMDeviceTeam -
-
-
-NMDeviceTeam:hw-address, object property in NMDeviceTeam +NMDeviceTeam:carrier, object property in NMDeviceTeam
-NMDeviceTeam:slaves, object property in NMDeviceTeam +NMDeviceTeam:hw-address, object property in NMDeviceTeam
-NMDeviceTeamClass, struct in NMDeviceTeam +NMDeviceTeam:slaves, object property in NMDeviceTeam
@@ -1035,27 +918,19 @@
-NMDeviceVlan, struct in NMDeviceVlan -
-
-
-NMDeviceVlan:carrier, object property in NMDeviceVlan +NMDeviceVlan:carrier, object property in NMDeviceVlan
-NMDeviceVlan:hw-address, object property in NMDeviceVlan +NMDeviceVlan:hw-address, object property in NMDeviceVlan
-NMDeviceVlan:parent, object property in NMDeviceVlan +NMDeviceVlan:parent, object property in NMDeviceVlan
-NMDeviceVlan:vlan-id, object property in NMDeviceVlan -
-
-
-NMDeviceVlanClass, struct in NMDeviceVlan +NMDeviceVlan:vlan-id, object property in NMDeviceVlan
@@ -1063,47 +938,39 @@
-NMDeviceWifi, struct in NMDeviceWifi -
-
-
-NMDeviceWifi::access-point-added, object signal 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:access-points, object property in NMDeviceWifi +NMDeviceWifi:access-points, object property in NMDeviceWifi
-NMDeviceWifi:active-access-point, object property in NMDeviceWifi +NMDeviceWifi:active-access-point, object property in NMDeviceWifi
-NMDeviceWifi:bitrate, object property in NMDeviceWifi +NMDeviceWifi:bitrate, object property in NMDeviceWifi
-NMDeviceWifi:hw-address, object property in NMDeviceWifi +NMDeviceWifi:hw-address, object property in NMDeviceWifi
-NMDeviceWifi:mode, object property in NMDeviceWifi +NMDeviceWifi:mode, object property in NMDeviceWifi
-NMDeviceWifi:perm-hw-address, object property in NMDeviceWifi +NMDeviceWifi:perm-hw-address, object property in NMDeviceWifi
-NMDeviceWifi:wireless-capabilities, object property in NMDeviceWifi -
-
-
-NMDeviceWifiClass, struct in NMDeviceWifi +NMDeviceWifi:wireless-capabilities, object property in NMDeviceWifi
@@ -1111,55 +978,47 @@
-NMDeviceWifiRequestScanFn, user_function in NMDeviceWifi -
-
-
-NMDeviceWimax, struct in NMDeviceWimax -
-
-
-NMDeviceWimax::nsp-added, object signal in NMDeviceWimax +NMDeviceWifiRequestScanFn, user_function in NMDeviceWifi
-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:nsps, object property in NMDeviceWimax
-NMDeviceWimax:tx-power, object property in NMDeviceWimax +NMDeviceWimax:rssi, object property in NMDeviceWimax
-NMDeviceWimaxClass, struct in NMDeviceWimax +NMDeviceWimax:tx-power, object property in NMDeviceWimax
@@ -1179,15 +1038,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
@@ -1207,19 +1066,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
@@ -1227,7 +1086,7 @@
-nm_device_bond_new, function in NMDeviceBond +nm_device_bond_new, function in NMDeviceBond
@@ -1243,19 +1102,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
@@ -1263,7 +1122,7 @@
-nm_device_bridge_new, function in NMDeviceBridge +nm_device_bridge_new, function in NMDeviceBridge
@@ -1279,19 +1138,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
@@ -1303,7 +1162,7 @@
-nm_device_bt_new, function in NMDeviceBt +nm_device_bt_new, function in NMDeviceBt
@@ -1311,15 +1170,15 @@
-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
-nm_device_delete, function in NMDevice +nm_device_delete, function in NMDevice
@@ -1335,11 +1194,11 @@
-nm_device_disambiguate_names, function in NMDevice +nm_device_disambiguate_names, function in NMDevice
-nm_device_disconnect, function in NMDevice +nm_device_disconnect, function in NMDevice
@@ -1355,7 +1214,7 @@
-nm_device_error_quark, function in NMDevice +nm_device_error_quark, function in NMDevice
@@ -1367,23 +1226,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
@@ -1391,7 +1250,7 @@
-nm_device_ethernet_new, function in NMDeviceEthernet +nm_device_ethernet_new, function in NMDeviceEthernet
@@ -1403,7 +1262,7 @@
-nm_device_filter_connections, function in NMDevice +nm_device_filter_connections, function in NMDevice
@@ -1419,11 +1278,11 @@
-nm_device_generic_error_quark, function in NMDeviceGeneric +nm_device_generic_error_quark, function in NMDeviceGeneric
-nm_device_generic_get_hw_address, function in NMDeviceGeneric +nm_device_generic_get_hw_address, function in NMDeviceGeneric
@@ -1431,7 +1290,7 @@
-nm_device_generic_new, function in NMDeviceGeneric +nm_device_generic_new, function in NMDeviceGeneric
@@ -1439,111 +1298,111 @@
-nm_device_get_active_connection, function in NMDevice +nm_device_get_active_connection, function in NMDevice
-nm_device_get_autoconnect, function in NMDevice +nm_device_get_autoconnect, function in NMDevice
-nm_device_get_available_connections, function in NMDevice +nm_device_get_available_connections, function in NMDevice
-nm_device_get_capabilities, function in NMDevice +nm_device_get_capabilities, function in NMDevice
-nm_device_get_description, function in NMDevice +nm_device_get_description, function in NMDevice
-nm_device_get_device_type, function in NMDevice +nm_device_get_device_type, function in NMDevice
-nm_device_get_dhcp4_config, function in NMDevice +nm_device_get_dhcp4_config, function in NMDevice
-nm_device_get_dhcp6_config, function in NMDevice +nm_device_get_dhcp6_config, function in NMDevice
-nm_device_get_driver, function in NMDevice +nm_device_get_driver, function in NMDevice
-nm_device_get_driver_version, function in NMDevice +nm_device_get_driver_version, function in NMDevice
-nm_device_get_firmware_missing, function in NMDevice +nm_device_get_firmware_missing, function in NMDevice
-nm_device_get_firmware_version, function in NMDevice +nm_device_get_firmware_version, function in NMDevice
-nm_device_get_hw_address, function in NMDevice +nm_device_get_hw_address, function in NMDevice
-nm_device_get_iface, function in NMDevice +nm_device_get_iface, function in NMDevice
-nm_device_get_ip4_config, function in NMDevice +nm_device_get_ip4_config, function in NMDevice
-nm_device_get_ip6_config, function in NMDevice +nm_device_get_ip6_config, function in NMDevice
-nm_device_get_ip_iface, function in NMDevice +nm_device_get_ip_iface, function in NMDevice
-nm_device_get_managed, function in NMDevice +nm_device_get_managed, function in NMDevice
-nm_device_get_mtu, function in NMDevice +nm_device_get_mtu, function in NMDevice
-nm_device_get_physical_port_id, function in NMDevice +nm_device_get_physical_port_id, function in NMDevice
-nm_device_get_product, function in NMDevice +nm_device_get_product, function in NMDevice
-nm_device_get_setting_type, function in NMDevice +nm_device_get_setting_type, function in NMDevice
-nm_device_get_state, function in NMDevice +nm_device_get_state, function in NMDevice
-nm_device_get_state_reason, function in NMDevice +nm_device_get_state_reason, function in NMDevice
-nm_device_get_type_description, function in NMDevice +nm_device_get_type_description, function in NMDevice
-nm_device_get_udi, function in NMDevice +nm_device_get_udi, function in NMDevice
-nm_device_get_vendor, function in NMDevice +nm_device_get_vendor, function in NMDevice
@@ -1555,15 +1414,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
@@ -1571,7 +1430,7 @@
-nm_device_infiniband_new, function in NMDeviceInfiniband +nm_device_infiniband_new, function in NMDeviceInfiniband
@@ -1591,7 +1450,7 @@
-nm_device_is_software, function in NMDevice +nm_device_is_software, function in NMDevice
@@ -1607,15 +1466,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
@@ -1627,7 +1486,7 @@
-nm_device_new, function in NMDevice +nm_device_new, function in NMDevice
@@ -1643,19 +1502,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
@@ -1663,7 +1522,7 @@
-nm_device_olpc_mesh_new, function in NMDeviceOlpcMesh +nm_device_olpc_mesh_new, function in NMDeviceOlpcMesh
@@ -1675,7 +1534,7 @@
-nm_device_set_autoconnect, function in NMDevice +nm_device_set_autoconnect, function in NMDevice
@@ -1695,19 +1554,19 @@
-nm_device_team_error_quark, function in NMDeviceTeam +nm_device_team_error_quark, function in NMDeviceTeam
-nm_device_team_get_carrier, function in NMDeviceTeam +nm_device_team_get_carrier, function in NMDeviceTeam
-nm_device_team_get_hw_address, function in NMDeviceTeam +nm_device_team_get_hw_address, function in NMDeviceTeam
-nm_device_team_get_slaves, function in NMDeviceTeam +nm_device_team_get_slaves, function in NMDeviceTeam
@@ -1715,7 +1574,7 @@
-nm_device_team_new, function in NMDeviceTeam +nm_device_team_new, function in NMDeviceTeam
@@ -1739,23 +1598,23 @@
-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_parent, function in NMDeviceVlan +nm_device_vlan_get_parent, function in NMDeviceVlan
-nm_device_vlan_get_vlan_id, function in NMDeviceVlan +nm_device_vlan_get_vlan_id, function in NMDeviceVlan
@@ -1763,7 +1622,7 @@
-nm_device_vlan_new, function in NMDeviceVlan +nm_device_vlan_new, function in NMDeviceVlan
@@ -1795,39 +1654,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
@@ -1839,7 +1698,7 @@
-nm_device_wifi_new, function in NMDeviceWifi +nm_device_wifi_new, function in NMDeviceWifi
@@ -1847,7 +1706,7 @@
-nm_device_wifi_request_scan_simple, function in NMDeviceWifi +nm_device_wifi_request_scan_simple, function in NMDeviceWifi
@@ -1871,43 +1730,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
@@ -1915,7 +1774,7 @@
-nm_device_wimax_new, function in NMDeviceWimax +nm_device_wimax_new, function in NMDeviceWimax
@@ -1931,27 +1790,19 @@
-NMDHCP4Config, struct in NMDHCP4Config +NMDHCP4Config:options, object property in NMDHCP4Config
-NMDHCP4Config:options, object property in NMDHCP4Config +nm_dhcp4_config_get_one_option, function in NMDHCP4Config
-NMDHCP4ConfigClass, struct in NMDHCP4Config +nm_dhcp4_config_get_options, function in NMDHCP4Config
-nm_dhcp4_config_get_one_option, 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
@@ -1959,27 +1810,19 @@
-NMDHCP6Config, struct in NMDHCP6Config -
-
-
-NMDHCP6Config:options, object property in NMDHCP6Config -
-
-
-NMDHCP6ConfigClass, struct in NMDHCP6Config +NMDHCP6Config:options, object property in NMDHCP6Config
-nm_dhcp6_config_get_one_option, function in NMDHCP6Config +nm_dhcp6_config_get_one_option, function in NMDHCP6Config
-nm_dhcp6_config_get_options, function in NMDHCP6Config +nm_dhcp6_config_get_options, function in NMDHCP6Config
-nm_dhcp6_config_new, function in NMDHCP6Config +nm_dhcp6_config_new, function in NMDHCP6Config
@@ -1988,39 +1831,31 @@

I

-NMIP4Config, struct in NMIP4Config -
-
-
-NMIP4Config:addresses, object property in NMIP4Config -
-
-
-NMIP4Config:domains, object property in NMIP4Config +NMIP4Config:addresses, object property in NMIP4Config
-NMIP4Config:gateway, object property in NMIP4Config +NMIP4Config:domains, object property in NMIP4Config
-NMIP4Config:nameservers, object property in NMIP4Config +NMIP4Config:gateway, object property in NMIP4Config
-NMIP4Config:routes, object property in NMIP4Config +NMIP4Config:nameservers, object property in NMIP4Config
-NMIP4Config:searches, object property in NMIP4Config +NMIP4Config:routes, object property in NMIP4Config
-NMIP4Config:wins-servers, object property in NMIP4Config +NMIP4Config:searches, object property in NMIP4Config
-NMIP4ConfigClass, struct in NMIP4Config +NMIP4Config:wins-servers, object property in NMIP4Config
@@ -2036,31 +1871,31 @@
-nm_ip4_config_get_addresses, function in NMIP4Config +nm_ip4_config_get_addresses, function in NMIP4Config
-nm_ip4_config_get_domains, function in NMIP4Config +nm_ip4_config_get_domains, function in NMIP4Config
-nm_ip4_config_get_gateway, function in NMIP4Config +nm_ip4_config_get_gateway, function in NMIP4Config
-nm_ip4_config_get_nameservers, function in NMIP4Config +nm_ip4_config_get_nameservers, function in NMIP4Config
-nm_ip4_config_get_routes, function in NMIP4Config +nm_ip4_config_get_routes, function in NMIP4Config
-nm_ip4_config_get_searches, function in NMIP4Config +nm_ip4_config_get_searches, function in NMIP4Config
-nm_ip4_config_get_wins_servers, function in NMIP4Config +nm_ip4_config_get_wins_servers, function in NMIP4Config
@@ -2068,7 +1903,7 @@
-nm_ip4_config_new, function in NMIP4Config +nm_ip4_config_new, function in NMIP4Config
@@ -2084,35 +1919,27 @@
-NMIP6Config, struct in NMIP6Config +NMIP6Config:addresses, object property 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: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 +NMIP6Config:searches, object property in NMIP6Config
@@ -2128,35 +1955,35 @@
-nm_ip6_config_get_addresses, function in NMIP6Config +nm_ip6_config_get_addresses, function in NMIP6Config
-nm_ip6_config_get_domains, function in NMIP6Config +nm_ip6_config_get_domains, function in NMIP6Config
-nm_ip6_config_get_gateway, function in NMIP6Config +nm_ip6_config_get_gateway, function in NMIP6Config
-nm_ip6_config_get_nameserver, 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_num_nameservers, function in NMIP6Config +nm_ip6_config_get_num_nameservers, function in NMIP6Config
-nm_ip6_config_get_routes, function in NMIP6Config +nm_ip6_config_get_routes, function in NMIP6Config
-nm_ip6_config_get_searches, function in NMIP6Config +nm_ip6_config_get_searches, function in NMIP6Config
@@ -2164,7 +1991,7 @@
-nm_ip6_config_new, function in NMIP6Config +nm_ip6_config_new, function in NMIP6Config
@@ -2177,23 +2004,15 @@

O

-NMObject, struct in NMObject +NMObject::object-creation-failed, object signal 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 -
-
-
-NMObjectClass, struct in NMObject +NMObject:dbus-path, object property in NMObject
@@ -2213,52 +2032,44 @@
-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, struct in NMRemoteConnection -
-
-
-NMRemoteConnection::removed, object signal in NMRemoteConnection +NMRemoteConnection::removed, object signal in NMRemoteConnection
-NMRemoteConnection::updated, object signal in NMRemoteConnection +NMRemoteConnection::updated, object signal in NMRemoteConnection
-NMRemoteConnection::visible, object signal in NMRemoteConnection +NMRemoteConnection::visible, object signal in NMRemoteConnection
-NMRemoteConnection:bus, object property in NMRemoteConnection +NMRemoteConnection:bus, object property in NMRemoteConnection
-NMRemoteConnection:dbus-connection, object property in NMRemoteConnection +NMRemoteConnection:dbus-connection, object property in NMRemoteConnection
-NMRemoteConnection:dbus-path, object property in NMRemoteConnection +NMRemoteConnection:dbus-path, object property in NMRemoteConnection
-NMRemoteConnection:unsaved, object property in NMRemoteConnection -
-
-
-NMRemoteConnectionClass, struct in NMRemoteConnection +NMRemoteConnection:unsaved, object property in NMRemoteConnection
@@ -2274,47 +2085,39 @@
-NMRemoteConnectionGetSecretsFunc, user_function in NMRemoteConnection -
-
-
-NMRemoteConnectionResultFunc, user_function in NMRemoteConnection -
-
-
-NMRemoteSettings, struct in NMRemoteSettings +NMRemoteConnectionGetSecretsFunc, user_function in NMRemoteConnection
-NMRemoteSettings::connections-read, object signal in NMRemoteSettings +NMRemoteConnectionResultFunc, user_function in NMRemoteConnection
-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
-NMRemoteSettingsClass, struct in NMRemoteSettings +NMRemoteSettingsAddConnectionFunc, user_function in NMRemoteSettings
@@ -2322,23 +2125,23 @@
-NMRemoteSettingsLoadConnectionsFunc, user_function in NMRemoteSettings +NMRemoteSettingsLoadConnectionsFunc, user_function in NMRemoteSettings
-NMRemoteSettingsSaveHostnameFunc, user_function in NMRemoteSettings +NMRemoteSettingsSaveHostnameFunc, user_function in NMRemoteSettings
-nm_remote_connection_commit_changes, function in NMRemoteConnection +nm_remote_connection_commit_changes, function in NMRemoteConnection
-nm_remote_connection_commit_changes_unsaved, function in NMRemoteConnection +nm_remote_connection_commit_changes_unsaved, function in NMRemoteConnection
-nm_remote_connection_delete, function in NMRemoteConnection +nm_remote_connection_delete, function in NMRemoteConnection
@@ -2346,19 +2149,19 @@
-nm_remote_connection_error_quark, function in NMRemoteConnection +nm_remote_connection_error_quark, function in NMRemoteConnection
-nm_remote_connection_get_secrets, function in NMRemoteConnection +nm_remote_connection_get_secrets, function in NMRemoteConnection
-nm_remote_connection_get_unsaved, function in NMRemoteConnection +nm_remote_connection_get_unsaved, function in NMRemoteConnection
-nm_remote_connection_new, function in NMRemoteConnection +nm_remote_connection_new, function in NMRemoteConnection
@@ -2366,7 +2169,7 @@
-nm_remote_connection_save, function in NMRemoteConnection +nm_remote_connection_save, function in NMRemoteConnection
@@ -2378,11 +2181,11 @@
-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 +nm_remote_settings_add_connection_unsaved, function in NMRemoteSettings
@@ -2402,19 +2205,19 @@
-nm_remote_settings_error_quark, function in NMRemoteSettings +nm_remote_settings_error_quark, function in NMRemoteSettings
-nm_remote_settings_get_connection_by_id, function in NMRemoteSettings +nm_remote_settings_get_connection_by_id, function in NMRemoteSettings
-nm_remote_settings_get_connection_by_path, function in NMRemoteSettings +nm_remote_settings_get_connection_by_path, function in NMRemoteSettings
-nm_remote_settings_get_connection_by_uuid, function in NMRemoteSettings +nm_remote_settings_get_connection_by_uuid, function in NMRemoteSettings
@@ -2422,19 +2225,19 @@
-nm_remote_settings_list_connections, function in NMRemoteSettings +nm_remote_settings_list_connections, function in NMRemoteSettings
-nm_remote_settings_load_connections, function in NMRemoteSettings +nm_remote_settings_load_connections, function in NMRemoteSettings
-nm_remote_settings_new, function in NMRemoteSettings +nm_remote_settings_new, function in NMRemoteSettings
-nm_remote_settings_new_async, function in NMRemoteSettings +nm_remote_settings_new_async, function in NMRemoteSettings
@@ -2442,15 +2245,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_reload_connections, function in NMRemoteSettings
-nm_remote_settings_save_hostname, function in NMRemoteSettings +nm_remote_settings_save_hostname, function in NMRemoteSettings
@@ -2459,27 +2262,23 @@

S

-NMSecretAgent, struct in NMSecretAgent -
-
-
-NMSecretAgent::registration-result, object signal 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: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
@@ -2487,11 +2286,7 @@
-NMSecretAgentClass, struct in NMSecretAgent -
-
-
-NMSecretAgentDeleteSecretsFunc, user_function in NMSecretAgent +NMSecretAgentDeleteSecretsFunc, user_function in NMSecretAgent
@@ -2503,11 +2298,11 @@
-NMSecretAgentGetSecretsFunc, user_function in NMSecretAgent +NMSecretAgentGetSecretsFunc, user_function in NMSecretAgent
-NMSecretAgentSaveSecretsFunc, user_function in NMSecretAgent +NMSecretAgentSaveSecretsFunc, user_function in NMSecretAgent
@@ -2519,7 +2314,7 @@
-nm_secret_agent_delete_secrets, function in NMSecretAgent +nm_secret_agent_delete_secrets, function in NMSecretAgent
@@ -2527,15 +2322,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
@@ -2543,7 +2338,7 @@
-nm_secret_agent_register, function in NMSecretAgent +nm_secret_agent_register, function in NMSecretAgent
@@ -2555,40 +2350,24 @@
-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, struct in NMVPNConnection -
-
-
-NMVPNConnection::vpn-state-changed, object signal 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 -
-
-
-NMVPNConnectionClass, struct in NMVPNConnection -
-
-
-NMVPNPlugin, struct in NMVPNPlugin -
-
-
-NMVPNPluginClass, struct in NMVPNPlugin +NMVPNConnection:vpn-state, object property in NMVPNConnection
@@ -2596,23 +2375,15 @@
-NMVpnPluginUiCapability, enum in NMVpnPluginUi +NMVpnPluginUiCapability, enum in NMVpnPluginUiWidget
-NMVpnPluginUiFactory, user_function in NMVpnPluginUi +NMVpnPluginUiFactory, user_function in NMVpnPluginUiWidget
-NMVpnPluginUiInterface, struct in NMVpnPluginUi -
-
-
-NMVpnPluginUiInterfaceProp, enum in NMVpnPluginUi -
-
-
-NMVpnPluginUiWidgetInterface, struct in NMVpnPluginUi +NMVpnPluginUiInterfaceProp, enum in NMVpnPluginUiWidget
@@ -2620,15 +2391,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
@@ -2640,47 +2411,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_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
@@ -2688,84 +2459,76 @@
-nm_vpn_plugin_ui_factory, function in NMVpnPluginUi +nm_vpn_plugin_ui_factory, function in NMVpnPluginUiWidget
-nm_vpn_plugin_ui_interface_delete_connection, function in NMVpnPluginUi +nm_vpn_plugin_ui_interface_delete_connection, function in NMVpnPluginUiWidget
-NM_VPN_PLUGIN_UI_INTERFACE_DESC, macro in NMVpnPluginUi +NM_VPN_PLUGIN_UI_INTERFACE_DESC, macro in NMVpnPluginUiWidget
-nm_vpn_plugin_ui_interface_export, function in NMVpnPluginUi +nm_vpn_plugin_ui_interface_export, function in NMVpnPluginUiWidget
-nm_vpn_plugin_ui_interface_get_capabilities, function in NMVpnPluginUi +nm_vpn_plugin_ui_interface_get_capabilities, function in NMVpnPluginUiWidget
-nm_vpn_plugin_ui_interface_get_suggested_name, function in NMVpnPluginUi +nm_vpn_plugin_ui_interface_get_suggested_name, function in NMVpnPluginUiWidget
-nm_vpn_plugin_ui_interface_import, function in NMVpnPluginUi +nm_vpn_plugin_ui_interface_import, function in NMVpnPluginUiWidget
-NM_VPN_PLUGIN_UI_INTERFACE_NAME, macro in NMVpnPluginUi +NM_VPN_PLUGIN_UI_INTERFACE_NAME, macro in NMVpnPluginUiWidget
-NM_VPN_PLUGIN_UI_INTERFACE_SERVICE, macro in NMVpnPluginUi +NM_VPN_PLUGIN_UI_INTERFACE_SERVICE, macro in NMVpnPluginUiWidget
-nm_vpn_plugin_ui_interface_ui_factory, function in NMVpnPluginUi +nm_vpn_plugin_ui_interface_ui_factory, function in NMVpnPluginUiWidget
-nm_vpn_plugin_ui_widget_interface_get_widget, function in NMVpnPluginUi +nm_vpn_plugin_ui_widget_interface_get_widget, function in NMVpnPluginUiWidget
-nm_vpn_plugin_ui_widget_interface_save_secrets, function in NMVpnPluginUi +nm_vpn_plugin_ui_widget_interface_save_secrets, function in NMVpnPluginUiWidget
-nm_vpn_plugin_ui_widget_interface_update_connection, function in NMVpnPluginUi +nm_vpn_plugin_ui_widget_interface_update_connection, function in NMVpnPluginUiWidget
-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, struct in NMWimaxNsp -
-
-
-NMWimaxNsp:name, object property in NMWimaxNsp -
-
-
-NMWimaxNsp:network-type, object property in NMWimaxNsp +NMWimaxNsp:name, object property in NMWimaxNsp
-NMWimaxNsp:signal-quality, object property in NMWimaxNsp +NMWimaxNsp:network-type, object property in NMWimaxNsp
-NMWimaxNspClass, struct in NMWimaxNsp +NMWimaxNsp:signal-quality, object property in NMWimaxNsp
@@ -2773,23 +2536,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
@@ -2801,7 +2564,7 @@
-nm_wimax_nsp_new, function in NMWimaxNsp +nm_wimax_nsp_new, function in NMWimaxNsp
@@ -2811,6 +2574,6 @@
+ Generated by GTK-Doc V1.21 \ No newline at end of file diff --git a/docs/libnm-glib/html/ch02.html b/docs/libnm-glib/html/ch02.html index c730745b..80d259a7 100644 --- a/docs/libnm-glib/html/ch02.html +++ b/docs/libnm-glib/html/ch02.html @@ -2,22 +2,22 @@ -libnm-glib API Reference +libnm-glib Reference Manual: libnm-glib API Reference - + - - - - - - + + + + + +

@@ -111,7 +111,7 @@ NMVPNPlugin
-NMVpnPluginUi +NMVpnPluginUiWidget
nm-vpn-plugin-utils @@ -120,6 +120,6 @@

+ Generated by GTK-Doc V1.21
\ No newline at end of file diff --git a/docs/libnm-glib/html/home.png b/docs/libnm-glib/html/home.png index 17003611..9346b336 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 9434f44e..fb5c1c38 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 1.0.0 + for libnm-glib 1.0.2 The latest version of this documentation can be found on-line at https://developer.gnome.org/libnm-glib/0.9/. @@ -138,7 +138,7 @@ NMVPNPlugin

-NMVpnPluginUi +NMVpnPluginUiWidget
nm-vpn-plugin-utils @@ -151,6 +151,6 @@
+ Generated by GTK-Doc V1.21
\ No newline at end of file diff --git a/docs/libnm-glib/html/index.sgml b/docs/libnm-glib/html/index.sgml index 4dca87c8..7e412917 100644 --- a/docs/libnm-glib/html/index.sgml +++ b/docs/libnm-glib/html/index.sgml @@ -1,54 +1,13 @@ - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - @@ -86,6 +45,27 @@ + + + + + + + + + + + + + + + + + + + + + @@ -108,29 +88,12 @@ - - - + + + - - - - - - - - - - - - - - - - - - + @@ -147,6 +110,22 @@ + + + + + + + + + + + + + + + + @@ -164,43 +143,14 @@ - - - + + + - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - @@ -239,6 +189,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -266,63 +242,39 @@ - - - + + + - - - - - - - - + - - - - - - + + + + + + + - - - + + + - - - - - - - - - - + - - - - - - - - - @@ -334,6 +286,16 @@ + + + + + + + + + + @@ -346,83 +308,54 @@ - - - + + + - + + + + + - - - - - - - - - - - - + + + - - - - - - - - - + - - - - - + + + + + + - - - + + + - - - - - - - - + - - - - - - - - - - @@ -433,6 +366,17 @@ + + + + + + + + + + + @@ -446,257 +390,200 @@ - - - + + + - - - - - - + - - - + + + + - - - + + + - - - - - - - + - - - - - + + + + + + - - - + + + - - - - - - - + - - - - - + + + + + + - - - + + + - - - - - - - + - - - - - + + + + + + - - - + + + - + + + + + - - - - - - - - - - - + + + - - - - - - - - + - - - - + + + + + - - - + + + - - - - - - - - - + - - - - - - + + + + + + + - - - + + + - - - - - - + - - - - - + + + + + + - - - + + + - - - - - - - - - - - + + + + + + - - - + + + - - - - - - - - - - - - - + @@ -710,6 +597,17 @@ + + + + + + + + + + + @@ -722,21 +620,12 @@ - - - + + + - - - - - - - - - - + @@ -745,6 +634,14 @@ + + + + + + + + @@ -754,20 +651,12 @@ - - - + + + - - - - - - - - - + @@ -777,6 +666,13 @@ + + + + + + + @@ -785,80 +681,65 @@ - - - + + + - - - - + + + - - - + + + - - - - + + + - - - + + + - + + + + + - - - - - - - - - - + + + - - - - + - - - - - - - @@ -867,6 +748,13 @@ + + + + + + + @@ -877,31 +765,17 @@ - - - + + + - - - - - - - + - - - - - - - - @@ -914,6 +788,15 @@ + + + + + + + + + @@ -924,50 +807,37 @@ - - + + - - + + + - + - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + @@ -976,44 +846,29 @@ - - - + + + - - - - - + + + + - + + - - - - - - - - - - - - - - - - + @@ -1025,42 +880,39 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + + @@ -1070,4 +922,3 @@ - diff --git a/docs/libnm-glib/html/left-insensitive.png b/docs/libnm-glib/html/left-insensitive.png new file mode 100644 index 00000000..3269393a Binary files /dev/null and b/docs/libnm-glib/html/left-insensitive.png differ diff --git a/docs/libnm-glib/html/left.png b/docs/libnm-glib/html/left.png index 2d05b3d5..2abde032 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 2b71816b..b64ade5b 100644 --- a/docs/libnm-glib/html/libnm-glib-NMVPNPlugin.html +++ b/docs/libnm-glib/html/libnm-glib-NMVPNPlugin.html @@ -2,30 +2,26 @@ -NMVPNPlugin +libnm-glib Reference Manual: NMVPNPlugin - - + + - - - - - - - - - - + + + + + + +
@@ -33,334 +29,401 @@

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

-

-

-
-

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. -

-
+

Functions

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

NM_VPN_PLUGIN_ERROR_GENERAL

general failure + +GQuark + +nm_vpn_plugin_error_quark ()

NM_VPN_PLUGIN_ERROR_STARTING_IN_PROGRESS

the plugin is already starting, - and another connect request was received + +DBusGConnection * + +nm_vpn_plugin_get_connection ()

NM_VPN_PLUGIN_ERROR_ALREADY_STARTED

the plugin is already connected, and - another connect request was received + +NMVPNServiceState + +nm_vpn_plugin_get_state ()

NM_VPN_PLUGIN_ERROR_STOPPING_IN_PROGRESS

the plugin is already stopping, - and another stop request was received + +void + +nm_vpn_plugin_set_state ()

NM_VPN_PLUGIN_ERROR_ALREADY_STOPPED

the plugin is already stopped, and - another disconnect request was received + +void + +nm_vpn_plugin_secrets_required ()

NM_VPN_PLUGIN_ERROR_WRONG_STATE

the operation could not be performed in - this state + +void + +nm_vpn_plugin_set_login_banner ()

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_failure ()

NM_VPN_PLUGIN_ERROR_LAUNCH_FAILED

a child process failed to launch + +void + +nm_vpn_plugin_set_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. + +void + +nm_vpn_plugin_set_ip4_config ()

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() + +void + +nm_vpn_plugin_set_ip6_config () +
+gboolean + +nm_vpn_plugin_disconnect ()
-
-
-

NMVPNPlugin

-
typedef struct {
-	GObject parent;
-} NMVPNPlugin;
-
-

-

+
+

Types and Values

+
++++ + + + + + + + + + + + + + + +
#defineNM_VPN_PLUGIN_DBUS_SERVICE_NAME
#defineNM_VPN_PLUGIN_STATE
enumNMVPNPluginError
-
-
-

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;
-
+
+

Description

-
+
+

Functions

-

nm_vpn_plugin_error_quark ()

-
GQuark              nm_vpn_plugin_error_quark           (void);
+

nm_vpn_plugin_error_quark ()

+
GQuark
+nm_vpn_plugin_error_quark (void);

+
+

Returns

+

+

-

nm_vpn_plugin_get_connection ()

-
DBusGConnection *   nm_vpn_plugin_get_connection        (NMVPNPlugin *plugin);
+

nm_vpn_plugin_get_connection ()

+
DBusGConnection *
+nm_vpn_plugin_get_connection (NMVPNPlugin *plugin);

+
+

Returns

+

+

-

nm_vpn_plugin_get_state ()

-
NMVPNServiceState   nm_vpn_plugin_get_state             (NMVPNPlugin *plugin);
+

nm_vpn_plugin_get_state ()

+
NMVPNServiceState
+nm_vpn_plugin_get_state (NMVPNPlugin *plugin);

+
+

Returns

+

+

-

nm_vpn_plugin_set_state ()

-
void                nm_vpn_plugin_set_state             (NMVPNPlugin *plugin,
-                                                         NMVPNServiceState state);
+

nm_vpn_plugin_set_state ()

+
void
+nm_vpn_plugin_set_state (NMVPNPlugin *plugin,
+                         NMVPNServiceState state);


-

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 +

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. -

-
+information to complete the request.

+
+

Parameters

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

plugin :

the NMVPNPlugin -

plugin

the NMVPNPlugin

 

message :

an information message about why secrets are required, if any

message

an information message about why secrets are required, if any

 

hints :

VPN specific secret names for required new secrets

hints

VPN specific secret names for required new secrets

 
+

Since 0.9.10


-

nm_vpn_plugin_set_login_banner ()

-
void                nm_vpn_plugin_set_login_banner      (NMVPNPlugin *plugin,
-                                                         const char *banner);
+

nm_vpn_plugin_set_login_banner ()

+
void
+nm_vpn_plugin_set_login_banner (NMVPNPlugin *plugin,
+                                const char *banner);


-

nm_vpn_plugin_failure ()

-
void                nm_vpn_plugin_failure               (NMVPNPlugin *plugin,
-                                                         NMVPNPluginFailure reason);
+

nm_vpn_plugin_failure ()

+
void
+nm_vpn_plugin_failure (NMVPNPlugin *plugin,
+                       NMVPNPluginFailure reason);


-

nm_vpn_plugin_set_config ()

-
void                nm_vpn_plugin_set_config            (NMVPNPlugin *plugin,
-                                                         GHashTable *config);
+

nm_vpn_plugin_set_config ()

+
void
+nm_vpn_plugin_set_config (NMVPNPlugin *plugin,
+                          GHashTable *config);


-

nm_vpn_plugin_set_ip4_config ()

-
void                nm_vpn_plugin_set_ip4_config        (NMVPNPlugin *plugin,
-                                                         GHashTable *ip4_config);
+

nm_vpn_plugin_set_ip4_config ()

+
void
+nm_vpn_plugin_set_ip4_config (NMVPNPlugin *plugin,
+                              GHashTable *ip4_config);


-

nm_vpn_plugin_set_ip6_config ()

-
void                nm_vpn_plugin_set_ip6_config        (NMVPNPlugin *plugin,
-                                                         GHashTable *ip6_config);
+

nm_vpn_plugin_set_ip6_config ()

+
void
+nm_vpn_plugin_set_ip6_config (NMVPNPlugin *plugin,
+                              GHashTable *ip6_config);


-

nm_vpn_plugin_disconnect ()

-
gboolean            nm_vpn_plugin_disconnect            (NMVPNPlugin *plugin,
-                                                         GError **err);
+

nm_vpn_plugin_disconnect ()

+
gboolean
+nm_vpn_plugin_disconnect (NMVPNPlugin *plugin,
+                          GError **err);
+

+

+
+

Returns

+

+
+
+
+
+

Types and Values

+
+

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

+

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.

+
 

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()

+
 
+
+
+ Generated by GTK-Doc V1.21
\ 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 deleted file mode 100644 index 44ec7e14..00000000 --- a/docs/libnm-glib/html/libnm-glib-NMVpnPluginUi.html +++ /dev/null @@ -1,397 +0,0 @@ - - - - -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 new file mode 100644 index 00000000..95d75061 --- /dev/null +++ b/docs/libnm-glib/html/libnm-glib-NMVpnPluginUiWidget.html @@ -0,0 +1,447 @@ + + + + +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

+ +
+
+

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);
+

nm_vpn_plugin_ui_interface_delete_connection is deprecated and should not be used in newly-written code.

+

+

+
+

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);
+

nm_vpn_plugin_ui_widget_interface_save_secrets is deprecated and should not be used in newly-written code.

+

+

+
+

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_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

+
 
+
+
+
+
+ + + \ 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 3793ddcd..c8ee10a3 100644 --- a/docs/libnm-glib/html/libnm-glib-nm-types.html +++ b/docs/libnm-glib/html/libnm-glib-nm-types.html @@ -2,30 +2,26 @@ -nm-types +libnm-glib Reference Manual: nm-types - + - - - - - - - - - - + + + + + + +
@@ -33,23 +29,22 @@

nm-types

nm-types

- +
-
-

Synopsis

-

-

Description

-

Details

+

Functions

+
+
+

Types and Values

+ Generated by GTK-Doc V1.21
\ 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 7a2098f6..0a53334e 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,30 +2,26 @@ -nm-vpn-plugin-utils +libnm-glib Reference Manual: nm-vpn-plugin-utils - + - + - - - - - - - - - - + + + + + + +
@@ -33,19 +29,34 @@

nm-vpn-plugin-utils

nm-vpn-plugin-utils

- +
-
-

Synopsis

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

Functions

+
++++ + + + + + + + + + + +
+gboolean + +nm_vpn_plugin_utils_read_vpn_details () +
+gboolean + +nm_vpn_plugin_utils_get_secret_flags () +

Description

@@ -53,91 +64,103 @@

-

Details

+

Functions

-

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. -

-
+

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

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

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] -

fd

file descriptor to read from, usually stdin (0)

 

out_secrets :

on successful return, a hash table -(mapping char*:char*) containing the key/value pairsof VPN secrets. [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]

Returns :

-TRUE if reading values was successful, FALSE if not

out_secrets

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

[out][transfer full]
+
+

Returns

+

TRUE if reading values was successful, FALSE if not

+

+
+

-

nm_vpn_plugin_utils_get_secret_flags ()

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

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

-
+

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

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

data :

hash table containing VPN key/value pair data items

secret_name :

VPN secret key name for which to retrieve flags for

data

hash table containing VPN key/value pair data items

 

out_flags :

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

secret_name

VPN secret key name for which to retrieve flags for

 

Returns :

-TRUE if the flag data item was found and successfully converted -to flags, FALSE if not

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

+

+
+
+
+
+

Types and Values

+ Generated by GTK-Doc V1.21
\ 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 c9ec066a..8c4d8202 100644 --- a/docs/libnm-glib/html/libnm-glib.devhelp2 +++ b/docs/libnm-glib/html/libnm-glib.devhelp2 @@ -33,7 +33,7 @@ - + @@ -41,6 +41,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -61,65 +99,41 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -135,42 +149,62 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - @@ -194,91 +228,60 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + + + + + - @@ -286,57 +289,50 @@ - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - + + + + + + + - - - - - - - - - - + + + + + + + + + + + + + + - @@ -345,153 +341,136 @@ - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - + + + + + + - - - - - - - - - - + + + + + + + + - - - - - - - - - - + + + + + + + + - - - - - - - - - - + + + + + + - - - - - - - + + + + + + - - - - - - - - + + + + + + + + - - - - - - - - - - - - + + + + + + + + + - - - - - - - - - - + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + + + + + + @@ -502,33 +481,24 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + @@ -536,130 +506,119 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - + + + + + + + + + - - - - - - + + + + - - - - + + + + - - - - - - - - - + + + - + + + + + + + + + + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + - + + + + + + + + + + @@ -668,190 +627,50 @@ - - - - - - - - - - - - - - - - + + + + + + + + - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + diff --git a/docs/libnm-glib/html/object-tree.html b/docs/libnm-glib/html/object-tree.html index 3145ab15..500f78d4 100644 --- a/docs/libnm-glib/html/object-tree.html +++ b/docs/libnm-glib/html/object-tree.html @@ -2,60 +2,60 @@ -Object Hierarchy +libnm-glib Reference Manual: Object Hierarchy - + - - - - - - + + + + + +

Object Hierarchy

-    GObject
-        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
+    GObject
+    ├── 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.21 \ 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 6dd6954c..d3a8c516 100644 --- a/docs/libnm-glib/html/ref-overview.html +++ b/docs/libnm-glib/html/ref-overview.html @@ -2,22 +2,22 @@ -Object Overview +libnm-glib Reference Manual: Object Overview - + - - - - - - + + + + + +

@@ -42,6 +42,6 @@

+ Generated by GTK-Doc V1.21
\ No newline at end of file diff --git a/docs/libnm-glib/html/right-insensitive.png b/docs/libnm-glib/html/right-insensitive.png new file mode 100644 index 00000000..4c95785b Binary files /dev/null and b/docs/libnm-glib/html/right-insensitive.png differ diff --git a/docs/libnm-glib/html/right.png b/docs/libnm-glib/html/right.png index 92832e3a..76260ec8 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 d6f6c26e..c141ddd2 100644 --- a/docs/libnm-glib/html/style.css +++ b/docs/libnm-glib/html/style.css @@ -1,15 +1,23 @@ +body +{ + font-family: cantarell, sans-serif; +} .synopsis, .classsynopsis { /* tango:aluminium 1/2 */ background: #eeeeec; - border: solid 1px #d3d7cf; + background: rgba(238, 238, 236, 0.5); + border: solid 1px rgb(238, 238, 236); 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 @@ -22,89 +30,6 @@ vertical-align: top; } -@media screen { - sup a.footnote - { - 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] - { - display: inline-block; - position: relative; - top:-5em; - } - /* this seems to be a bug in the xsl style sheets when generating indexes */ - div.index div.index - { - top: 0em; - } - /* make space for the fixed navigation bar and add space at the bottom so that - * link targets appear somewhat close to top - */ - body - { - padding-top: 3.2em; - padding-bottom: 20em; - } - /* style and size the navigation bar */ - table.navigation#top - { - position: fixed; - /* tango:scarlet red 0/1 */ - background: #ffe6e6; - border: solid 1px #ef2929; - margin-top: 0; - margin-bottom: 0; - top: 0; - left: 0; - height: 3em; - z-index: 10; - } - .navigation a, .navigation a:visited - { - /* tango:scarlet red 3 */ - color: #a40000; - } - .navigation a:hover - { - /* tango:scarlet red 1 */ - color: #ef2929; - } - td.shortcuts - { - /* tango:scarlet red 1 */ - color: #ef2929; - font-size: 80%; - white-space: nowrap; - } -} -@media print { - table.navigation { - visibility: collapse; - display: none; - } - div.titlepage table.navigation { - visibility: visible; - display: table; - /* tango:scarlet red 0/1 */ - background: #ffe6e6; - border: solid 1px #ef2929; - margin-top: 0; - margin-bottom: 0; - top: 0; - left: 0; - height: 3em; - } -} - -.navigation .title -{ - font-size: 200%; -} - div.gallery-float { float: left; @@ -132,6 +57,72 @@ a:hover color: #729fcf; } +div.informaltable table +{ + border-collapse: separate; + border-spacing: 1em 0.5em; + 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; +} + +td p +{ + margin: 0.25em; +} + div.table table { border-collapse: collapse; @@ -154,14 +145,43 @@ div.table table th background-color: #d3d7cf; } +h4 +{ + color: #555753; +} + hr { - /* tango:aluminium 3 */ - color: #babdb6; - background: #babdb6; + /* tango:aluminium 1 */ + color: #d3d7cf; + background: #d3d7cf; 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 @@ -173,31 +193,70 @@ hr 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); } -.note, .warning +div.blockquote +{ + border-color: #eeeeec; +} +.note, .warning, div.blockquote { padding: 0.5em; border-width: 1px; border-style: solid; + margin: 2em; } -.note h3, .warning h3 +.note p, .warning p { - margin-top: 0.0em + margin: 0; } -.note p, .warning p + +div.warning h3.title, +div.note h3.title +{ + display: none; +} + +p + div.section { - margin-bottom: 0.0em + margin-top: 1em; +} + +div.refnamediv, +div.refsynopsisdiv, +div.refsect1, +div.refsect2, +div.toc, +div.section +{ + margin-bottom: 1em; } /* blob links */ @@ -210,33 +269,52 @@ h2 .extralinks, h3 .extralinks font-weight: normal; } +.lineart +{ + color: #d3d7cf; + font-weight: normal; +} + .annotation { /* tango:aluminium 5 */ color: #555753; - font-size: 80%; font-weight: normal; } +.structfield +{ + font-style: normal; + font-weight: normal; +} + +acronym,abbr +{ + border-bottom: 1px dotted gray; +} + /* code listings */ -.listing_code .programlisting .cbracket { color: #a40000; } /* tango: scarlet red 3 */ -.listing_code .programlisting .comment { color: #a1a39d; } /* tango: aluminium 4 */ -.listing_code .programlisting .function { color: #000000; font-weight: bold; } -.listing_code .programlisting .function a { color: #11326b; font-weight: bold; } /* tango: sky blue 4 */ -.listing_code .programlisting .keyword { color: #4e9a06; } /* tango: chameleon 3 */ +.listing_code .programlisting .normal, +.listing_code .programlisting .normal a, +.listing_code .programlisting .number, +.listing_code .programlisting .cbracket, +.listing_code .programlisting .symbol { color: #555753; } +.listing_code .programlisting .comment, .listing_code .programlisting .linenum { color: #babdb6; } /* tango: aluminium 3 */ -.listing_code .programlisting .normal { color: #000000; } -.listing_code .programlisting .number { color: #75507b; } /* tango: plum 2 */ +.listing_code .programlisting .function, +.listing_code .programlisting .function a, .listing_code .programlisting .preproc { color: #204a87; } /* tango: sky blue 3 */ -.listing_code .programlisting .string { color: #c17d11; } /* tango: chocolate 2 */ -.listing_code .programlisting .type { color: #000000; } -.listing_code .programlisting .type a { color: #11326b; } /* tango: sky blue 4 */ -.listing_code .programlisting .symbol { color: #ce5c00; } /* tango: orange 3 */ +.listing_code .programlisting .string { color: #ad7fa8; } /* tango: plum */ +.listing_code .programlisting .keyword, +.listing_code .programlisting .usertype, +.listing_code .programlisting .type, +.listing_code .programlisting .type a { color: #4e9a06; } /* tango: chameleon 3 */ .listing_frame { /* tango:sky blue 1 */ border: solid 1px #729fcf; + border: solid 1px rgba(114, 159, 207, 0.2); padding: 0px; } @@ -248,19 +326,151 @@ h2 .extralinks, h3 .extralinks .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; } +@media screen { + sup a.footnote + { + 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] + { + display: inline-block; + position: relative; + top:-5em; + } + /* this seems to be a bug in the xsl style sheets when generating indexes */ + div.index div.index + { + top: 0em; + } + /* make space for the fixed navigation bar and add space at the bottom so that + * link targets appear somewhat close to top + */ + body + { + padding-top: 2.5em; + padding-bottom: 500px; + max-width: 60em; + } + p + { + max-width: 60em; + } + /* style and size the navigation bar */ + table.navigation#top + { + position: fixed; + background: #e2e2e2; + border-bottom: solid 1px #babdb6; + border-spacing: 5px; + margin-top: 0; + margin-bottom: 0; + top: 0; + left: 0; + z-index: 10; + } + table.navigation#top td + { + padding-left: 6px; + padding-right: 6px; + } + .navigation a, .navigation a:visited + { + /* tango:sky blue 3 */ + color: #204a87; + } + .navigation a:hover + { + /* tango:sky blue 2 */ + color: #3465a4; + } + td.shortcuts + { + /* tango:sky blue 2 */ + color: #3465a4; + font-size: 80%; + white-space: nowrap; + } + td.shortcuts .dim + { + color: #babdb6; + } + .navigation .title + { + font-size: 80%; + max-width: none; + margin: 0px; + font-weight: normal; + } +} +@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; } + .listing_lines { display: none; } +} +@media print { + table.navigation { + visibility: collapse; + display: none; + } + div.titlepage table.navigation { + visibility: visible; + display: table; + background: #e2e2e2; + border: solid 1px #babdb6; + margin-top: 0; + margin-bottom: 0; + top: 0; + left: 0; + height: 3em; + } +} + diff --git a/docs/libnm-glib/html/up-insensitive.png b/docs/libnm-glib/html/up-insensitive.png new file mode 100644 index 00000000..f4049860 Binary files /dev/null and b/docs/libnm-glib/html/up-insensitive.png differ diff --git a/docs/libnm-glib/html/up.png b/docs/libnm-glib/html/up.png index 85b3e2a2..80b4b37e 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-sections.txt b/docs/libnm-glib/libnm-glib-sections.txt index 571855eb..d21040d2 100644 --- a/docs/libnm-glib/libnm-glib-sections.txt +++ b/docs/libnm-glib/libnm-glib-sections.txt @@ -11,8 +11,6 @@ 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 @@ -27,6 +25,8 @@ 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 @@ -54,8 +54,6 @@ 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 @@ -73,6 +71,8 @@ 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 @@ -106,8 +106,6 @@ NMClientPermissionResult NMClientError NM_CLIENT_ERROR nm_client_error_quark -NMClient -NMClientClass nm_client_new nm_client_new_async nm_client_new_finish @@ -146,6 +144,8 @@ 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 @@ -184,8 +184,6 @@ 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 @@ -225,6 +223,8 @@ nm_device_connection_compatible nm_device_get_setting_type NMDeviceDeactivateFn +NMDevice +NMDeviceClass NM_DEVICE NM_DEVICE_CLASS NM_DEVICE_GET_CLASS @@ -241,11 +241,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 @@ -264,13 +264,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 @@ -289,13 +289,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 @@ -314,13 +314,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 @@ -340,14 +340,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 @@ -365,11 +365,11 @@ 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 +NMDeviceGeneric +NMDeviceGenericClass NM_DEVICE_GENERIC NM_DEVICE_GENERIC_CLASS NM_DEVICE_GENERIC_GET_CLASS @@ -387,12 +387,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 @@ -410,11 +410,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 @@ -433,13 +433,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 @@ -458,13 +458,13 @@ 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 +NMDeviceTeam +NMDeviceTeamClass NM_DEVICE_TEAM NM_DEVICE_TEAM_CLASS NM_DEVICE_TEAM_GET_CLASS @@ -484,14 +484,14 @@ NM_DEVICE_VLAN_HW_ADDRESS NM_DEVICE_VLAN_CARRIER NM_DEVICE_VLAN_PARENT 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_parent nm_device_vlan_get_vlan_id +NMDeviceVlan +NMDeviceVlanClass NM_DEVICE_VLAN NM_DEVICE_VLAN_CLASS NM_DEVICE_VLAN_GET_CLASS @@ -514,8 +514,6 @@ 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 @@ -528,6 +526,8 @@ 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 @@ -551,8 +551,6 @@ 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 @@ -564,6 +562,8 @@ 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 @@ -576,13 +576,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 @@ -594,13 +594,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 @@ -665,8 +665,6 @@ 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 @@ -683,6 +681,8 @@ nm_ip4_config_get_domains 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 @@ -695,8 +695,6 @@ nm_ip4_config_get_type
nm-ip6-config NMIP6Config -NMIP6Config -NMIP6ConfigClass NM_IP6_CONFIG_GATEWAY NM_IP6_CONFIG_ADDRESSES NM_IP6_CONFIG_ROUTES @@ -713,6 +711,8 @@ nm_ip6_config_get_nameservers nm_ip6_config_get_domains nm_ip6_config_get_searches +NMIP6Config +NMIP6ConfigClass NM_IP6_CONFIG NM_IP6_CONFIG_CLASS NM_IP6_CONFIG_GET_CLASS @@ -730,11 +730,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 @@ -753,8 +753,6 @@ nm_remote_connection_error_quark NM_REMOTE_CONNECTION_UNSAVED NM_REMOTE_CONNECTION_UPDATED NM_REMOTE_CONNECTION_REMOVED -NMRemoteConnection -NMRemoteConnectionClass NMRemoteConnectionResultFunc NMRemoteConnectionCommitFunc NMRemoteConnectionDeleteFunc @@ -767,6 +765,8 @@ 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 @@ -791,8 +791,6 @@ NM_REMOTE_SETTINGS_CONNECTIONS_READ NMRemoteSettingsAddConnectionFunc NMRemoteSettingsLoadConnectionsFunc NMRemoteSettingsSaveHostnameFunc -NMRemoteSettings -NMRemoteSettingsClass nm_remote_settings_new nm_remote_settings_new_async nm_remote_settings_new_finish @@ -806,6 +804,8 @@ 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 @@ -828,11 +828,9 @@ 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 @@ -840,6 +838,8 @@ 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 @@ -873,12 +873,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 @@ -905,8 +905,6 @@ 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 @@ -919,6 +917,8 @@ 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 @@ -933,7 +933,6 @@ nm_vpn_plugin_get_type
nm-vpn-plugin-ui-interface NMVpnPluginUiWidget -NMVpnPluginUi NMVpnPluginUiFactory nm_vpn_plugin_ui_factory NMVpnPluginUiCapability @@ -941,18 +940,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 @@ -978,8 +977,6 @@ 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 @@ -987,6 +984,8 @@ 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/tmpl/nm-access-point.sgml b/docs/libnm-glib/tmpl/nm-access-point.sgml index ad78146c..2a2ecb1c 100644 --- a/docs/libnm-glib/tmpl/nm-access-point.sgml +++ b/docs/libnm-glib/tmpl/nm-access-point.sgml @@ -92,75 +92,6 @@ 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 457b8428..8b52c825 100644 --- a/docs/libnm-glib/tmpl/nm-active-connection.sgml +++ b/docs/libnm-glib/tmpl/nm-active-connection.sgml @@ -127,100 +127,6 @@ NMActiveConnection - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -@parent: -@_reserved1: -@_reserved2: -@_reserved3: -@_reserved4: -@_reserved5: -@_reserved6: - diff --git a/docs/libnm-glib/tmpl/nm-client.sgml b/docs/libnm-glib/tmpl/nm-client.sgml index 5d6814cc..cb1adf09 100644 --- a/docs/libnm-glib/tmpl/nm-client.sgml +++ b/docs/libnm-glib/tmpl/nm-client.sgml @@ -187,133 +187,6 @@ NMClient @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: - diff --git a/docs/libnm-glib/tmpl/nm-device-adsl.sgml b/docs/libnm-glib/tmpl/nm-device-adsl.sgml index 111cf8a6..1c7e14c2 100644 --- a/docs/libnm-glib/tmpl/nm-device-adsl.sgml +++ b/docs/libnm-glib/tmpl/nm-device-adsl.sgml @@ -54,30 +54,6 @@ 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 cc85389d..3270d995 100644 --- a/docs/libnm-glib/tmpl/nm-device-bond.sgml +++ b/docs/libnm-glib/tmpl/nm-device-bond.sgml @@ -69,40 +69,6 @@ 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 3570bae3..65094577 100644 --- a/docs/libnm-glib/tmpl/nm-device-bridge.sgml +++ b/docs/libnm-glib/tmpl/nm-device-bridge.sgml @@ -69,40 +69,6 @@ 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 404ec888..44a6f692 100644 --- a/docs/libnm-glib/tmpl/nm-device-bt.sgml +++ b/docs/libnm-glib/tmpl/nm-device-bt.sgml @@ -71,40 +71,6 @@ 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 a3771275..4d97c189 100644 --- a/docs/libnm-glib/tmpl/nm-device-ethernet.sgml +++ b/docs/libnm-glib/tmpl/nm-device-ethernet.sgml @@ -77,45 +77,6 @@ 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 index e47323d5..c20500bf 100644 --- a/docs/libnm-glib/tmpl/nm-device-generic.sgml +++ b/docs/libnm-glib/tmpl/nm-device-generic.sgml @@ -61,35 +61,6 @@ NMDeviceGeneric - - - - - - - - - - - - - - - - - - - - - -@parent: -@_reserved1: -@_reserved2: -@_reserved3: -@_reserved4: -@_reserved5: -@_reserved6: - diff --git a/docs/libnm-glib/tmpl/nm-device-infiniband.sgml b/docs/libnm-glib/tmpl/nm-device-infiniband.sgml index f50d415f..73a3f3c4 100644 --- a/docs/libnm-glib/tmpl/nm-device-infiniband.sgml +++ b/docs/libnm-glib/tmpl/nm-device-infiniband.sgml @@ -63,35 +63,6 @@ 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 4e1cc83a..007c3b42 100644 --- a/docs/libnm-glib/tmpl/nm-device-modem.sgml +++ b/docs/libnm-glib/tmpl/nm-device-modem.sgml @@ -62,35 +62,6 @@ 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 fb78ba35..c8cccb2f 100644 --- a/docs/libnm-glib/tmpl/nm-device-olpc-mesh.sgml +++ b/docs/libnm-glib/tmpl/nm-device-olpc-mesh.sgml @@ -68,40 +68,6 @@ 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 index cd73a412..abf5ab69 100644 --- a/docs/libnm-glib/tmpl/nm-device-team.sgml +++ b/docs/libnm-glib/tmpl/nm-device-team.sgml @@ -69,40 +69,6 @@ NMDeviceTeam - - - - - - - - - - - - - - - - - - - - - - - - - - -@parent: -@_reserved1: -@_reserved2: -@_reserved3: -@_reserved4: -@_reserved5: -@_reserved6: - diff --git a/docs/libnm-glib/tmpl/nm-device-vlan.sgml b/docs/libnm-glib/tmpl/nm-device-vlan.sgml index 2c638e90..5397d204 100644 --- a/docs/libnm-glib/tmpl/nm-device-vlan.sgml +++ b/docs/libnm-glib/tmpl/nm-device-vlan.sgml @@ -78,45 +78,6 @@ 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 932a7db3..b694b822 100644 --- a/docs/libnm-glib/tmpl/nm-device-wifi.sgml +++ b/docs/libnm-glib/tmpl/nm-device-wifi.sgml @@ -100,78 +100,6 @@ 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 570d0539..acf1ab91 100644 --- a/docs/libnm-glib/tmpl/nm-device-wimax.sgml +++ b/docs/libnm-glib/tmpl/nm-device-wimax.sgml @@ -105,77 +105,6 @@ 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 5b50ca84..ef5443e1 100644 --- a/docs/libnm-glib/tmpl/nm-device.sgml +++ b/docs/libnm-glib/tmpl/nm-device.sgml @@ -207,152 +207,6 @@ 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: - diff --git a/docs/libnm-glib/tmpl/nm-dhcp4-config.sgml b/docs/libnm-glib/tmpl/nm-dhcp4-config.sgml index 35a6e306..4f3d8602 100644 --- a/docs/libnm-glib/tmpl/nm-dhcp4-config.sgml +++ b/docs/libnm-glib/tmpl/nm-dhcp4-config.sgml @@ -22,30 +22,6 @@ 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 3e00467c..7679b7d9 100644 --- a/docs/libnm-glib/tmpl/nm-dhcp6-config.sgml +++ b/docs/libnm-glib/tmpl/nm-dhcp6-config.sgml @@ -22,30 +22,6 @@ 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 499cf35f..6b5f91f3 100644 --- a/docs/libnm-glib/tmpl/nm-ip4-config.sgml +++ b/docs/libnm-glib/tmpl/nm-ip4-config.sgml @@ -22,60 +22,6 @@ NMIP4Config - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -@parent: -@_reserved1: -@_reserved2: -@_reserved3: -@_reserved4: -@_reserved5: -@_reserved6: - diff --git a/docs/libnm-glib/tmpl/nm-ip6-config.sgml b/docs/libnm-glib/tmpl/nm-ip6-config.sgml index 12fe2b1d..f0a95e52 100644 --- a/docs/libnm-glib/tmpl/nm-ip6-config.sgml +++ b/docs/libnm-glib/tmpl/nm-ip6-config.sgml @@ -22,55 +22,6 @@ NMIP6Config - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -@parent: -@_reserved1: -@_reserved2: -@_reserved3: -@_reserved4: -@_reserved5: -@_reserved6: - diff --git a/docs/libnm-glib/tmpl/nm-object.sgml b/docs/libnm-glib/tmpl/nm-object.sgml index bb17ec37..7d99e2c0 100644 --- a/docs/libnm-glib/tmpl/nm-object.sgml +++ b/docs/libnm-glib/tmpl/nm-object.sgml @@ -60,45 +60,6 @@ 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 baaccae4..f20ef680 100644 --- a/docs/libnm-glib/tmpl/nm-remote-connection.sgml +++ b/docs/libnm-glib/tmpl/nm-remote-connection.sgml @@ -67,69 +67,6 @@ NMRemoteConnection - - - - - - - - - - - -@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: - diff --git a/docs/libnm-glib/tmpl/nm-remote-settings.sgml b/docs/libnm-glib/tmpl/nm-remote-settings.sgml index 5b129a83..4500e38f 100644 --- a/docs/libnm-glib/tmpl/nm-remote-settings.sgml +++ b/docs/libnm-glib/tmpl/nm-remote-settings.sgml @@ -122,62 +122,6 @@ 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: - diff --git a/docs/libnm-glib/tmpl/nm-secret-agent.sgml b/docs/libnm-glib/tmpl/nm-secret-agent.sgml index a6f592c3..72f5a573 100644 --- a/docs/libnm-glib/tmpl/nm-secret-agent.sgml +++ b/docs/libnm-glib/tmpl/nm-secret-agent.sgml @@ -104,40 +104,6 @@ NMSecretAgent - - - - - - - - - - - -@nmsecretagent: the object which received the signal. -@arg1: - - - - - - - - - - - - - - - - - - - - - @@ -172,24 +138,6 @@ 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 c20f145d..39d5ecc1 100644 --- a/docs/libnm-glib/tmpl/nm-vpn-connection.sgml +++ b/docs/libnm-glib/tmpl/nm-vpn-connection.sgml @@ -36,45 +36,6 @@ 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 9f33e6e3..1f6635b8 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 @@ -NMVpnPluginUi +NMVpnPluginUiWidget @@ -81,25 +81,6 @@ NMVpnPluginUi @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: - @@ -164,17 +145,6 @@ NMVpnPluginUi @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 46251482..4f002dfe 100644 --- a/docs/libnm-glib/tmpl/nm-vpn-plugin.sgml +++ b/docs/libnm-glib/tmpl/nm-vpn-plugin.sgml @@ -52,34 +52,6 @@ NMVPNPlugin @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: - diff --git a/docs/libnm-glib/tmpl/nm-wimax-nsp.sgml b/docs/libnm-glib/tmpl/nm-wimax-nsp.sgml index f270a1d2..8add56d4 100644 --- a/docs/libnm-glib/tmpl/nm-wimax-nsp.sgml +++ b/docs/libnm-glib/tmpl/nm-wimax-nsp.sgml @@ -53,40 +53,6 @@ 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 3eefcb9d..6d7de6e6 100644 --- a/docs/libnm-glib/version.xml +++ b/docs/libnm-glib/version.xml @@ -1 +1 @@ -1.0.0 +1.0.2 -- cgit 1.3.0-6-gf8a5