NetworkManager/src/dhcp-manager
Thomas Haller ad0f403f9d dhcp: refactor loading of DHCP plugins
The DHCP plugins are linked statically and don't have a plugin mechanism
to be loaded from a shared library. Change the _nm_dhcp_client_register()
mechanism to something more static.

Also, only link the plugins into the binary if they are actually
enabled. Previously, they would always be linked in (and always
register themself). However, nm_dhcp_dh*_get_path() would return NULL
which made the plugin unusable.

The autoconf code to detect the DHCP plugins is still not stellar, but
seems to work well enough for now. At least, we log the result of the
detection at the end of the configure-script, so a user can at least
notice what happend.
2016-10-04 11:41:20 +02:00
..
tests all: modify line separator comments to be 80 chars wide 2016-10-03 12:01:15 +02:00
Makefile.am dhcp: add new header "nm-dhcp-helper-api.h" 2016-09-08 00:21:21 +02:00
nm-dhcp-client-logging.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nm-dhcp-client.c dhcp: use NM_GOBJECT_PROPERTIES_DEFINE() for properties of NMDhcpClient 2016-10-03 12:04:49 +02:00
nm-dhcp-client.h dhcp: refactor loading of DHCP plugins 2016-10-04 11:41:20 +02:00
nm-dhcp-dhclient-utils.c dhcp: let users override FQDN dhclient options 2016-05-31 14:33:23 +02:00
nm-dhcp-dhclient-utils.h build: cleanup src/Makefile.am 2016-08-11 11:54:18 +02:00
nm-dhcp-dhclient.c dhcp: refactor loading of DHCP plugins 2016-10-04 11:41:20 +02:00
nm-dhcp-dhcpcd.c dhcp: refactor loading of DHCP plugins 2016-10-04 11:41:20 +02:00
nm-dhcp-helper-api.h all: modify line separator comments to be 80 chars wide 2016-10-03 12:01:15 +02:00
nm-dhcp-helper.c dhcp: add FIXME comment to nm-dhcp-helper.c 2016-09-23 09:37:21 +02:00
nm-dhcp-listener.c core: refactor private data in "src" 2016-10-04 09:50:56 +02:00
nm-dhcp-listener.h dhcp-listener: refactor type definition and embed private data in @self 2016-09-08 00:21:21 +02:00
nm-dhcp-manager.c dhcp: refactor loading of DHCP plugins 2016-10-04 11:41:20 +02:00
nm-dhcp-manager.h core: refactor private data for NMExportedObject and others 2016-10-03 12:04:14 +02:00
nm-dhcp-systemd.c dhcp: refactor loading of DHCP plugins 2016-10-04 11:41:20 +02:00
nm-dhcp-utils.c all: modify line separator comments to be 80 chars wide 2016-10-03 12:01:15 +02:00
nm-dhcp-utils.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00