NetworkManager/libnm/nm-libnm-aux
Thomas Haller caa70a50d7
all: move "shared/nm-libnm-aux" to "libnm/nm-libnm-aux"
Like the previous commit. Move code that depends on libnm out
of shared to avoid circular dependency.

Also add a readme file explaining the reason for existence of
the helper library.
2020-06-11 10:53:50 +02:00
..
nm-libnm-aux.c all: move "shared/nm-libnm-aux" to "libnm/nm-libnm-aux" 2020-06-11 10:53:50 +02:00
nm-libnm-aux.h all: move "shared/nm-libnm-aux" to "libnm/nm-libnm-aux" 2020-06-11 10:53:50 +02:00
README.md all: move "shared/nm-libnm-aux" to "libnm/nm-libnm-aux" 2020-06-11 10:53:50 +02:00

nm-libnm-aux is a static library that:

  • uses the public parts of "libnm"
  • that can also be statically linked into other users of libnm.

Basically, it is a static library with utility functions that extends libnm.

That means:

  • you can use it everywhere where you dynamically link with libnm.

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