diff options
author | Daniel Gnoutcheff <daniel@gnoutcheff.name> | 2010-07-28 02:07:53 -0400 |
---|---|---|
committer | Daniel Gnoutcheff <daniel@gnoutcheff.name> | 2010-08-06 13:05:46 -0400 |
commit | fa8c9304b5c04591758f9acaaf7d9a84c6df01d0 (patch) | |
tree | 68b9d2f95d940e8b16ae0d8406e22bf18d527d3f /libnm-util/nm-connection.h | |
parent | 80f14217090df8cf2ff908e3ba11d31d1f8a877f (diff) | |
download | NetworkManager-fa8c9304b5c04591758f9acaaf7d9a84c6df01d0.tar.gz |
libnm-*: remove user settings support
Remove code related to "connection scope" and such. Later, we will also
do lots of code flattening and simplification that's possible now that
user settings are gone.
Diffstat (limited to 'libnm-util/nm-connection.h')
-rw-r--r-- | libnm-util/nm-connection.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/libnm-util/nm-connection.h b/libnm-util/nm-connection.h index 576db04984..453f9eff05 100644 --- a/libnm-util/nm-connection.h +++ b/libnm-util/nm-connection.h @@ -39,23 +39,6 @@ G_BEGIN_DECLS #define NM_IS_CONNECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), NM_TYPE_CONNECTION)) #define NM_CONNECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), NM_TYPE_CONNECTION, NMConnectionClass)) -/** - * NMConnectionScope: - * @NM_CONNECTION_SCOPE_UNKNOWN: scope not known or not yet set - * @NM_CONNECTION_SCOPE_SYSTEM: connection is provided by the system settings - * service - * @NM_CONNECTION_SCOPE_USER: connection is provided by a user settings service - * - * Connection scope indicated what settings service, if any, provides the - * connection. - * - **/ -typedef enum { - NM_CONNECTION_SCOPE_UNKNOWN = 0, - NM_CONNECTION_SCOPE_SYSTEM, - NM_CONNECTION_SCOPE_USER -} NMConnectionScope; - /** * NMConnectionError: @@ -79,7 +62,6 @@ GType nm_connection_error_get_type (void); #define NM_CONNECTION_ERROR nm_connection_error_quark () GQuark nm_connection_error_quark (void); -#define NM_CONNECTION_SCOPE "scope" #define NM_CONNECTION_PATH "path" /** @@ -139,11 +121,6 @@ gboolean nm_connection_update_secrets (NMConnection *connection, GHashTable *secrets, GError **error); -void nm_connection_set_scope (NMConnection *connection, - NMConnectionScope scope); - -NMConnectionScope nm_connection_get_scope (NMConnection *connection); - void nm_connection_set_path (NMConnection *connection, const char *path); |