NetworkManager/libnm-core/nm-libnm-core-aux
Thomas Haller 977ea352a0
all: update deprecated SPDX license identifiers
These SPDX license identifiers are deprecated ([1]). Update them.

[1] https://spdx.org/licenses/

  sed \
     -e '1 s%^/\* SPDX-License-Identifier: \(GPL-2.0\|LGPL-2.1\)+ \*/$%/* SPDX-License-Identifier: \1-or-later */%' \
     -e '1,2 s%^\(--\|#\|//\) SPDX-License-Identifier: \(GPL-2.0\|LGPL-2.1\)+$%\1 SPDX-License-Identifier: \2-or-later%' \
     -i \
     $(git grep -l SPDX-License-Identifier -- \
         ':(exclude)shared/c-*/' \
         ':(exclude)shared/n-*/' \
         ':(exclude)shared/systemd/src' \
         ':(exclude)src/systemd/src')
2021-01-05 09:46:21 +01:00
..
nm-dispatcher-api.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-libnm-core-aux.c all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-libnm-core-aux.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
README.md all: move "shared/nm-libnm-core-aux" to "libnm-core/nm-libnm-core-aux" 2020-06-11 10:53:50 +02:00

nm-libnm-core-aux is a static library that:

  • uses parts of "libnm-core", that are public API of "libnm"
  • can be statically linked into users of libnm-core (like libnm and NetworkManager).
  • that can also be statically linked into other users of libnm.

Basically, it is a static library with utility functions that extends libnm-core (the part that is public API of libnm), but can also be used without full libnm.

That means:

  • you can use it everywhere where you either statically link with libnm-core, or dynamically link with libnm.
  • you cannot use it inside libnm-core itself. This is the difference between nm-libnm-core-intern and nm-libnm-core-aux.

Also, since nm-libnm-core-aux itself only uses public (stable) API of libnm, you theoretically can copy the sources into your own source tree.