Shared headers are all project-wide and internal API. Currently we have the following:
General purpose:
- shared/gsystem-local-alloc.h: header-only, allocation macros- shared/nm-dbus-compat.h: header-only, D-Bus related defines- shared/nm-glib.h: header-only, glib compatibility defines- shared/nm-macros-internal.h: header-only, utils- shared/nm-shared-utils.[hc]: source and header, utils- shared/nm-test*.[hc]: source and header, libnm testing utils
Special to NetworkManager repository:
- shared/nm-version-macros.h.in: header-only, version macros- shared/nm-default.h: header-only, default-include
Now we add "shared/nm-common-macros.h" which is header-only, but non general purpose.
I am running low on good names, considering all the shared/core/macros utils headers. Still, I think "nm-common-macros.h" is appropriate.
ed551a4 shared: add "nm-common-macros.h" header
shared/Makefile.am | 1 +
shared/nm-common-macros.h | 27 +++++++++++++++++++++++++++
2 files changed, 28 insertions(+)
Upstream: cgit.freedesktop.org