NetworkManager/src/libnmc-base
Íñigo Huguet 11482237e4 core: rename unmanaged flag SLEEPING->MANAGER_DISABLED
The flag is used for both sleeping and networking disabled conditions.
This is because internally they share logic, but it's not obvious for
users and it has caused confusion in the past when investigating why
devices didn't become managed. Make it explicit that it can be because
of either reason.

It would be better to create two separate flags, actually, and it
doesn't seem complex, but better not to risk introducing bugs for that
little benefit.

Logs before:
  device (enp4s0): state change: disconnected -> unmanaged (reason 'unmanaged-sleeping' ...

Logs before:
  device (enp4s0): state change: disconnected -> unmanaged (reason 'unmanaged-nm-disabled' ...

(cherry picked from commit 48fc40e1ca)
2025-11-17 14:41:55 +01:00
..
meson.build build: move "clients/common/" to "src/libnmc-{base,setting}/" 2021-03-02 08:38:25 +01:00
nm-client-utils.c core: rename unmanaged flag SLEEPING->MANAGER_DISABLED 2025-11-17 14:41:55 +01:00
nm-client-utils.h format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nm-polkit-listener.c format: run nm-code-format 2024-10-04 11:07:35 +02:00
nm-polkit-listener.h all: use _NM_G_TYPE_CHECK_INSTANCE_CAST() for internal uses 2022-12-16 10:55:03 +01:00
nm-secret-agent-simple.c format: run nm-code-format 2024-10-04 11:07:35 +02:00
nm-secret-agent-simple.h libnmc: allow user input in ECHO mode for 2FA challenges 2024-02-21 11:31:49 +01:00
nm-vpn-helpers.c libnmc: fix openconnect option "--cafile" in nm_vpn_openconnect_authenticate_helper() 2023-05-12 13:25:58 +02:00
nm-vpn-helpers.h nmcli, nmtui: reduce duplication around openconnect auth helper 2023-05-11 13:15:53 +01:00
qrcodegen.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
qrcodegen.h all: reformat code to clang shipped with Fedora 39 2023-12-06 10:37:24 +01:00
README.md all: add some README.md files describing the purpose of our sources 2021-08-19 17:51:11 +02:00

libnmc-base

A helper library on top of libnm for our clients. The "c" in "libnmc-base" stands for clients.

This has no additional dependencies on top of libnm, so any client application that uses libnm can statically link with this helper at will.

As such, this is very similar in purpose to ../libnm-client-aux-extern, the difference is only in scope.