NetworkManager/src/libnm-base
Thomas Haller 3a97604a27
libnm: don't depend nm-crypto on "nm-error.h"
"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).
2022-03-29 11:56:03 +02:00
..
meson.build libnm-base: add "nm-base.c" for implementing stuff from "nm-base.h" 2022-03-29 11:56:03 +02:00
nm-base.c libnm: don't depend nm-crypto on "nm-error.h" 2022-03-29 11:56:03 +02:00
nm-base.h libnm: don't depend nm-crypto on "nm-error.h" 2022-03-29 11:56:03 +02:00
nm-config-base.h core: introduce device 'allowed-connections' property 2021-07-27 17:43:45 +02:00
nm-ethtool-base.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nm-ethtool-base.h build: move "shared/nm-{base,udev-aux}" to "src/libnm-{base,udev-aux}" 2021-02-24 12:48:19 +01:00
nm-ethtool-utils-base.h lgtm: suppress lgtm[cpp/duplicate-include-guard] warning in ethtool header 2021-06-01 17:54:07 +02:00
nm-net-aux.c base: add nm_net_aux_rtnl_rtntype_{n2a,a2n}() helpers 2021-03-23 14:19:37 +01:00
nm-net-aux.h base: add nm_net_aux_rtnl_rtntype_{n2a,a2n}() helpers 2021-03-23 14:19:37 +01:00
nm-priv-helper-utils.c nm-sudo: rename to nm-priv-helper 2022-01-11 21:46:55 +01:00
nm-priv-helper-utils.h priv-helper: fix D-Bus patch to not contain forbidden character '-' 2022-02-09 18:49:47 +01:00
README.md all: add some README.md files describing the purpose of our sources 2021-08-19 17:51:11 +02:00

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: