summaryrefslogtreecommitdiff
path: root/libnm-core/nm-setting.h
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-08-12 17:25:26 -0400
committerDan Winship <danw@gnome.org>2014-08-16 10:17:53 -0400
commit32c26a859bd869a5a910c5047685bcd2badce6d2 (patch)
tree2185789989bd749953fc80959403ad8cec284a3b /libnm-core/nm-setting.h
parent2bfccab710f694c9f2d54033a305ba64533e3bc5 (diff)
downloadNetworkManager-32c26a859bd869a5a910c5047685bcd2badce6d2.tar.gz
libnm-core: move some fake NMConnection methods over to NMSetting
nm_connection_lookup_setting_type() and nm_connection_lookup_setting_type_by_quark() have nothing to do with NMConnection. So move them to NMSetting (and rename them to nm_setting_lookup_type() and nm_setting_lookup_type_by_quark()).
Diffstat (limited to 'libnm-core/nm-setting.h')
-rw-r--r--libnm-core/nm-setting.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libnm-core/nm-setting.h b/libnm-core/nm-setting.h
index 154bd0c577..793d24ed5b 100644
--- a/libnm-core/nm-setting.h
+++ b/libnm-core/nm-setting.h
@@ -229,6 +229,9 @@ typedef void (*NMSettingValueIterFn) (NMSetting *setting,
GType nm_setting_get_type (void);
+GType nm_setting_lookup_type (const char *name);
+GType nm_setting_lookup_type_by_quark (GQuark error_quark);
+
/**
* NMSettingHashFlags:
* @NM_SETTING_HASH_FLAG_ALL: hash all properties (including secrets)