libnm-core: rename NMConnection to/from_hash methods
authorDan Winship <danw@gnome.org>
Wed, 6 Aug 2014 23:35:31 +0000 (19:35 -0400)
committerDan Winship <danw@gnome.org>
Thu, 4 Sep 2014 13:17:36 +0000 (09:17 -0400)
commit773d3f0ab69a2d9faba8d031adb63233ba794e9b
tree9bb5b808b1a1f28e526070bd8e4e059bc32bff5f
parentc9653a9e67ed746e0388c38900a6e2de65f8a6bf
libnm-core: rename NMConnection to/from_hash methods

Rename nm_connection_to_hash() to nm_connection_to_dbus(), and
nm_connection_new_from_hash() to nm_connection_new_from_dbus(). In
addition to clarifying that this is specifically the D-Bus
serialization format, these names will also work better in the
GDBus-based future where the serialization format is GVariant, not
GHashTable.

Also, move NMSettingHashFlags to nm-connection.h, and rename it
NMConnectionSerializationFlags.
27 files changed:
callouts/tests/test-dispatcher-envp.c
clients/cli/connections.c
clients/tui/nmt-editor.c
examples/C/glib/add-connection-dbus-glib.c
examples/C/glib/get-active-connections-dbus-glib.c
libnm-core/nm-connection.c
libnm-core/nm-connection.h
libnm-core/nm-setting-private.h
libnm-core/nm-setting.c
libnm-core/nm-setting.h
libnm-core/nm-simple-connection.c
libnm-core/nm-simple-connection.h
libnm-core/tests/test-general.c
libnm-core/tests/test-secrets.c
libnm/libnm.ver
libnm/nm-client.c
libnm/nm-remote-connection.c
libnm/nm-remote-settings.c
libnm/nm-secret-agent.c
libnm/nm-secret-agent.h
libnm/nm-vpn-plugin.c
src/nm-dispatcher.c
src/settings/nm-agent-manager.c
src/settings/nm-secret-agent.c
src/settings/nm-settings-connection.c
src/settings/nm-settings.c
src/vpn-manager/nm-vpn-connection.c