mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 10:40:08 +01:00
"nm-error.h" is public API of libnm, and contains error numbers and quarks. Clearly our "nm-crypto" implementation wants to use those errors. I want to move "nm-crypto" out of libnm, and as it's more basic, I think it should not have a dependency on all of libnm-core. Also because libnm-core currently uses nm-crypto, so there would be a circular dependency. Which would be possible to do (libnm-core-aux-intern is also used in such a way). But it's better avoided, to have clear hierarchy of dependencies. Add a version of the same error codes to libnm-base. libnm-base is a very basic dependency (just one step above libnm-glib-aux). |
||
|---|---|---|
| .. | ||
| meson.build | ||
| nm-base.c | ||
| nm-base.h | ||
| nm-config-base.h | ||
| nm-ethtool-base.c | ||
| nm-ethtool-base.h | ||
| nm-ethtool-utils-base.h | ||
| nm-net-aux.c | ||
| nm-net-aux.h | ||
| nm-priv-helper-utils.c | ||
| nm-priv-helper-utils.h | ||
| README.md | ||
libnm-base
A static helper library with network/NetworkManager specific code.
Contrary to libnm-glib-aux, this does not contain general purpose helpers, but code that is more specific about NetworkManager.
This is the most low-level dependency of this kind. Most NetworkManager specific code will directly or indirectly link with this.
As this is a static library, there is no problem with dragging this into your binary/library, if your application already depends on libnm-glib-aux (and glib).
Dependencies: