NetworkManager r4330 - trunk/libnm-util
- From: dcbw svn gnome org
- To: svn-commits-list gnome org
- Subject: NetworkManager r4330 - trunk/libnm-util
- Date: Mon, 24 Nov 2008 02:45:36 +0000 (UTC)
Author: dcbw
Date: Mon Nov 24 02:45:35 2008
New Revision: 4330
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=4330&view=rev
Log:
Documentation updates
Modified:
trunk/libnm-util/nm-connection.c
trunk/libnm-util/nm-connection.h
Modified: trunk/libnm-util/nm-connection.c
==============================================================================
--- trunk/libnm-util/nm-connection.c (original)
+++ trunk/libnm-util/nm-connection.c Mon Nov 24 02:45:35 2008
@@ -46,6 +46,32 @@
#include "nm-setting-cdma.h"
/**
+ * SECTION:nm-connection
+ * @short_description: Describes a connection to specific network or provider
+ * @include: nm-connection.h
+ *
+ * An #NMConnection describes all the settings and configuration values that
+ * are necessary to configure network devices for operation on a specific
+ * network. Connections are the fundamental operating object for
+ * NetworkManager; no device is connected without a #NMConnection, or
+ * disconnected without having been connected with a #NMConnection.
+ *
+ * Each #NMConnection contains a list of #NMSetting objects usually referenced
+ * by name (using nm_connection_get_setting_by_name()) or by type (with
+ * nm_connection_get_setting()). The settings describe the actual parameters
+ * with which the network devices are configured, including device-specific
+ * parameters (MTU, SSID, APN, channel, rate, etc) and IP-level parameters
+ * (addresses, routes, addressing methods, etc).
+ *
+ * Most connections also have a %NMConnectionScope; a connection will be
+ * provided over D-Bus either by the user settings service
+ * (org.freedesktop.NetworkManagerUserSettings) running in an active user
+ * session, or by the system-wide system settings service
+ * (org.freedesktop.NetworkManagerSystemSettings) which provides connections
+ * for all users.
+ */
+
+/**
* nm_connection_error_quark:
*
* Registers an error quark for #NMConnection if necessary.
Modified: trunk/libnm-util/nm-connection.h
==============================================================================
--- trunk/libnm-util/nm-connection.h (original)
+++ trunk/libnm-util/nm-connection.h Mon Nov 24 02:45:35 2008
@@ -137,11 +137,6 @@
NMSetting *nm_connection_create_setting (const char *name);
-void nm_setting_register (const char *name,
- GType type);
-
-void nm_setting_unregister (const char *name);
-
GType nm_connection_lookup_setting_type (const char *name);
GType nm_connection_lookup_setting_type_by_quark (GQuark error_quark);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]