diff options
author | Thomas Haller <thaller@redhat.com> | 2017-06-01 17:54:32 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2017-06-07 09:07:17 +0200 |
commit | c292f3ed859b0e57a6d52d066c7068f567c570fd (patch) | |
tree | 80b5e3d83135e951fff72732cc7279d38adcfc46 | |
parent | 88c2ccfb4c20cd1b4e34b31991f446b2f052478a (diff) | |
download | NetworkManager-c292f3ed859b0e57a6d52d066c7068f567c570fd.tar.gz |
device: hide nm_device_factory_get_supported_types() function
The simple link-types/setting-types mechanism doesn't really cut it
because for the bluetooth NAP connection.type is "bluetooth", but
it shall be primarily handled by the bridge factory.
It's internal API that allows for a basic matching of the factory.
It is however not sophisticated enough for the full complexity.
Make it as internal API only.
-rw-r--r-- | src/devices/nm-device-factory.c | 2 | ||||
-rw-r--r-- | src/devices/nm-device-factory.h | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/src/devices/nm-device-factory.c b/src/devices/nm-device-factory.c index a2447ad66d..1c16e1b782 100644 --- a/src/devices/nm-device-factory.c +++ b/src/devices/nm-device-factory.c @@ -60,7 +60,7 @@ nm_device_factory_emit_component_added (NMDeviceFactory *factory, GObject *compo return consumed; } -void +static void nm_device_factory_get_supported_types (NMDeviceFactory *factory, const NMLinkType **out_link_types, const char *const**out_setting_types) diff --git a/src/devices/nm-device-factory.h b/src/devices/nm-device-factory.h index 836af5f522..0c590f657a 100644 --- a/src/devices/nm-device-factory.h +++ b/src/devices/nm-device-factory.h @@ -178,10 +178,6 @@ typedef NMDeviceFactory * (*NMDeviceFactoryCreateFunc) (GError **error); /*****************************************************************************/ -void nm_device_factory_get_supported_types (NMDeviceFactory *factory, - const NMLinkType **out_link_types, - const char *const**out_setting_types); - const char *nm_device_factory_get_connection_parent (NMDeviceFactory *factory, NMConnection *connection); |