NetworkManager/libnm
Dan Winship e1ba13a426 libnm-core, libnm, core: make NMConnection an interface
The fact that NMRemoteConnection has to be an NMConnection and
therefore can't be an NMObject means that it needs to reimplement bits
of NMObject functionality (and likewise NMObject needs some special
magic to deal with it). Likewise, we will need a daemon-side
equivalent of NMObject as part of the gdbus port, and we would want
NMSettingsConnection to be able to inherit from this as well.

Solve this problem by making NMConnection into an interface, and
having NMRemoteConnection and NMSettingsConnection implement it. (We
use some hacks to keep the GHashTable of NMSettings objects inside
nm-connection.c rather than having to be implemented by the
implementations.)

Since NMConnection is no longer an instantiable type, this adds
NMSimpleConnection to replace the various non-D-Bus-based uses of
NMConnection throughout the code. nm_connection_new() becomes
nm_simple_connection_new(), nm_connection_new_from_hash() becomes
nm_simple_connection_new_from_hash(), and nm_connection_duplicate()
becomes nm_simple_connection_new_clone().
2014-08-16 10:17:53 -04:00
..
tests libnm-core, libnm, core: make NMConnection an interface 2014-08-16 10:17:53 -04:00
libnm-vpn.pc.in libnm: add libnm/libnm-core (part 2) 2014-08-01 14:34:04 -04:00
libnm-vpn.ver libnm: add NetworkManager.h and NetworkManagerVPN.h to enum-types 2014-08-01 14:34:07 -04:00
libnm.pc.in libnm: add libnm/libnm-core (part 2) 2014-08-01 14:34:04 -04:00
libnm.ver libnm-core, libnm, core: make NMConnection an interface 2014-08-16 10:17:53 -04:00
Makefile.am libnm: add NetworkManager.h, disallow including individual headers 2014-08-01 14:34:40 -04:00
NetworkManager.h libnm-core, libnm, core: make NMConnection an interface 2014-08-16 10:17:53 -04:00
nm-access-point.c libnm-core, etc: add nm_utils_hwaddr_matches() 2014-08-07 15:34:50 -04:00
nm-access-point.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-active-connection.c libnm: rename NetworkManager.h and NetworkManagerVPN.h 2014-08-01 14:34:40 -04:00
nm-active-connection.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-client.c libnm: get rid of redundant NMRemoteConnection properties 2014-08-16 10:17:53 -04:00
nm-client.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-dbus-helpers-private.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-dbus-helpers.c libnm: rename NetworkManager.h and NetworkManagerVPN.h 2014-08-01 14:34:40 -04:00
nm-device-adsl.c libnm: make the the use of GInitable mandatory 2014-08-01 14:34:40 -04:00
nm-device-adsl.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-device-bond.c libnm-core: include ETH_ALEN/INFINIBAND_ALEN defines in nm-utils.h 2014-08-07 14:04:14 -04:00
nm-device-bond.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-device-bridge.c libnm-core: include ETH_ALEN/INFINIBAND_ALEN defines in nm-utils.h 2014-08-07 14:04:14 -04:00
nm-device-bridge.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-device-bt.c libnm-core, etc: add nm_utils_hwaddr_matches() 2014-08-07 15:34:50 -04:00
nm-device-bt.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-device-ethernet.c libnm-core, etc: add nm_utils_hwaddr_matches() 2014-08-07 15:34:50 -04:00
nm-device-ethernet.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-device-generic.c libnm: make the the use of GInitable mandatory 2014-08-01 14:34:40 -04:00
nm-device-generic.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-device-infiniband.c libnm-core, etc: add nm_utils_hwaddr_matches() 2014-08-07 15:34:50 -04:00
nm-device-infiniband.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-device-modem.c libnm: make the the use of GInitable mandatory 2014-08-01 14:34:40 -04:00
nm-device-modem.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-device-olpc-mesh.c libnm: make the the use of GInitable mandatory 2014-08-01 14:34:40 -04:00
nm-device-olpc-mesh.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-device-private.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-device-team.c libnm-core: include ETH_ALEN/INFINIBAND_ALEN defines in nm-utils.h 2014-08-07 14:04:14 -04:00
nm-device-team.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-device-vlan.c libnm-core: include ETH_ALEN/INFINIBAND_ALEN defines in nm-utils.h 2014-08-07 14:04:14 -04:00
nm-device-vlan.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-device-wifi.c libnm-core, etc: add nm_utils_hwaddr_matches() 2014-08-07 15:34:50 -04:00
nm-device-wifi.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-device-wimax.c libnm-core, etc: add nm_utils_hwaddr_matches() 2014-08-07 15:34:50 -04:00
nm-device-wimax.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-device.c libnm: rename NetworkManager.h and NetworkManagerVPN.h 2014-08-01 14:34:40 -04:00
nm-device.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-dhcp4-config.c libnm: rename NetworkManager.h and NetworkManagerVPN.h 2014-08-01 14:34:40 -04:00
nm-dhcp4-config.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-dhcp6-config.c libnm: rename NetworkManager.h and NetworkManagerVPN.h 2014-08-01 14:34:40 -04:00
nm-dhcp6-config.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-ip4-config.c libnm: rename NetworkManager.h and NetworkManagerVPN.h 2014-08-01 14:34:40 -04:00
nm-ip4-config.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-ip6-config.c libnm: rename NetworkManager.h and NetworkManagerVPN.h 2014-08-01 14:34:40 -04:00
nm-ip6-config.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-object-cache.c libnm: add libnm/libnm-core (part 1) 2014-08-01 14:34:04 -04:00
nm-object-cache.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-object-private.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-object.c libnm: get rid of redundant NMRemoteConnection properties 2014-08-16 10:17:53 -04:00
nm-object.h libnm: get rid of redundant NMRemoteConnection properties 2014-08-16 10:17:53 -04:00
nm-remote-connection-private.h libnm: add libnm/libnm-core (part 1) 2014-08-01 14:34:04 -04:00
nm-remote-connection.c libnm-core, libnm, core: make NMConnection an interface 2014-08-16 10:17:53 -04:00
nm-remote-connection.h libnm-core, libnm, core: make NMConnection an interface 2014-08-16 10:17:53 -04:00
nm-remote-settings.c libnm-core, libnm, core: make NMConnection an interface 2014-08-16 10:17:53 -04:00
nm-remote-settings.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-secret-agent.c libnm-core, libnm, core: make NMConnection an interface 2014-08-16 10:17:53 -04:00
nm-secret-agent.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-types-private.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-types.c libnm: add libnm/libnm-core (part 1) 2014-08-01 14:34:04 -04:00
nm-types.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-vpn-connection.c libnm: rename NetworkManager.h and NetworkManagerVPN.h 2014-08-01 14:34:40 -04:00
nm-vpn-connection.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-vpn-plugin-ui-interface.c libnm, core, cli, tui: fix the capitalization of various types 2014-08-01 14:34:06 -04:00
nm-vpn-plugin-ui-interface.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-vpn-plugin-utils.c libnm: add libnm/libnm-core (part 1) 2014-08-01 14:34:04 -04:00
nm-vpn-plugin-utils.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-vpn-plugin.c libnm-core, libnm, core: make NMConnection an interface 2014-08-16 10:17:53 -04:00
nm-vpn-plugin.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-wimax-nsp.c libnm: rename NetworkManager.h and NetworkManagerVPN.h 2014-08-01 14:34:40 -04:00
nm-wimax-nsp.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00