all: add nm-core-internal.h header
authorThomas Haller <thaller@redhat.com>
Sun, 27 Jul 2014 18:35:17 +0000 (20:35 +0200)
committerThomas Haller <thaller@redhat.com>
Fri, 22 Aug 2014 13:22:16 +0000 (15:22 +0200)
commitef32da01fa0b9e02ccae476bea412ff025091a7f
tree18b577d49dbe75f1bd11dedb4a59d451b5eec30f
parent1a9f6bcbd3d262ba60264afa2f0658150ce10e59
all: add nm-core-internal.h header

Add a header file to expose private utility functions from libnm-core
that can be used by NetworkManager (core) and libnm.so. The header
is also used to give privileged access to libnm-core. Since NM links
statically, these functions are not exported and not part of public ABI.

This also removes the NM_UTILS_PRIVATE_CALL() macro and libnm.so no
longer exports nm_utils_get_private().

Before, this functionality was partly declared in nm-utils-private.h.
This was wrong because nm-utils-private.h is for functionality
entirely private to libnm-core.

Signed-off-by: Thomas Haller <thaller@redhat.com>
15 files changed:
callouts/tests/test-dispatcher-envp.c
clients/tui/nmt-route-table.c
docs/libnm/Makefile.am
libnm-core/Makefile.libnm-core
libnm-core/nm-core-internal.h [new file with mode: 0644]
libnm-core/nm-setting-ip4-config.c
libnm-core/nm-setting-private.h
libnm-core/nm-utils-private.h
libnm-core/nm-utils.c
libnm-core/tests/test-general.c
libnm/libnm.ver
src/nm-ip4-config.c
src/settings/plugins/ifcfg-rh/reader.c
src/settings/plugins/ifcfg-rh/tests/test-ifcfg-rh.c
src/settings/plugins/ifcfg-rh/writer.c