NetworkManager/src/settings/plugins/ifcfg-rh
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
common.h trivial: update dates in ifcfg-rh and keyfile plugins 2013-12-12 08:59:33 +01:00
errors.c settings: move system-settings/plugins => src/settings/plugins 2011-02-15 11:55:34 -06:00
Makefile.am libnm: add NetworkManager.h, disallow including individual headers 2014-08-01 14:34:40 -04:00
nm-ifcfg-connection.c libnm-core: include ETH_ALEN/INFINIBAND_ALEN defines in nm-utils.h 2014-08-07 14:04:14 -04:00
nm-ifcfg-connection.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-ifcfg-rh.conf settings: move system-settings/plugins => src/settings/plugins 2011-02-15 11:55:34 -06:00
nm-ifcfg-rh.xml settings: move system-settings/plugins => src/settings/plugins 2011-02-15 11:55:34 -06:00
plugin.c libnm-core: include ETH_ALEN/INFINIBAND_ALEN defines in nm-utils.h 2014-08-07 14:04:14 -04:00
plugin.h core: fix NM_IS_*_CLASS(klass) macros 2012-07-27 13:15:54 +02:00
reader.c libnm-core, libnm, core: make NMConnection an interface 2014-08-16 10:17:53 -04:00
reader.h settings: add unrecognized-specs, implement in ifcfg-rh 2013-11-01 13:04:12 -04:00
shvar.c ifcfg-rh: fix leak in svOpenFileInternal() 2014-04-24 21:18:44 +02:00
shvar.h ifcfg-rh: return proper error messages from svOpenFile() and svWriteFile() 2014-04-09 10:50:56 -04:00
utils.c ifcfg-rh: fix warning about duplicate const when declaring string 2014-08-01 13:17:00 +02:00
utils.h ifcfg-rh: add support for reading and writing ifcfg alias files 2014-03-26 10:53:59 -04:00
writer.c libnm-core: include ETH_ALEN/INFINIBAND_ALEN defines in nm-utils.h 2014-08-07 14:04:14 -04:00
writer.h settings: implement ability to add connections without saving them to disk 2013-05-28 12:26:56 -05:00