NetworkManager/clients/cli
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
..
common.c libnm, core, cli, tui: fix the capitalization of various types 2014-08-01 14:34:06 -04:00
common.h libnm: add NetworkManager.h, disallow including individual headers 2014-08-01 14:34:40 -04:00
connections.c libnm-core, libnm, core: make NMConnection an interface 2014-08-16 10:17:53 -04:00
connections.h clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
devices.c libnm-core, libnm, core: make NMConnection an interface 2014-08-16 10:17:53 -04:00
devices.h clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
Makefile.am all: port everything to libnm 2014-08-01 14:34:05 -04:00
network-manager.c libnm: synchronize NMClient and NMRemoteSettings "is NM running" properties 2014-08-07 15:43:43 -04:00
network-manager.h clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
nmcli-completion clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
nmcli.c libnm: add NetworkManager.h, disallow including individual headers 2014-08-01 14:34:40 -04:00
nmcli.h libnm: add NetworkManager.h, disallow including individual headers 2014-08-01 14:34:40 -04:00
settings-docs.xsl clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
settings.c libnm-core: move some fake NMConnection methods over to NMSetting 2014-08-16 10:17:53 -04:00
settings.h libnm: add NetworkManager.h, disallow including individual headers 2014-08-01 14:34:40 -04:00
utils.c cli: fix warning in parse_output_fields() about strict-overflow 2014-08-01 13:17:01 +02:00
utils.h libnm: add NetworkManager.h, disallow including individual headers 2014-08-01 14:34:40 -04:00