NetworkManager/shared
Thomas Haller 0dc5ea2412
shared: add NMOptionBool as alternative to NMTernary
NMTernary is part of libnm's public API. It thus cannot be used by code
without libnm/libnm-core dependency.

Add another enum with the same purpose.

The name "NMTernary" is already taken, and we should not use some macro
trickery to use (effectively) different types under the same name.
Another possible name would be "NMTern", but for no strong reasons
we choose NMOptionBool. The naming reminds of rust's std::option::Option.
2021-01-15 11:32:46 +01:00
..
c-list shared/c-list: reimport 2020-06-03 22:00:56 +02:00
c-rbtree shared/c-rbtree: reimport 2021-01-15 11:16:25 +01:00
c-siphash shared/c-siphash: reimport 2021-01-15 11:17:32 +01:00
c-stdaux shared/c-siphash: reimport 2021-01-15 11:19:04 +01:00
n-acd all: fix minor typos 2020-07-07 11:33:46 +02:00
n-dhcp4 n-dhcp4: work around compiler warning in n_dhcp4_socket_packet_send() 2021-01-11 19:03:28 +01:00
nm-base core: move NMIPConfigSource from "src/nm-types.h" to "shared/nm-base" 2021-01-15 11:32:43 +01:00
nm-glib-aux shared: add NMOptionBool as alternative to NMTernary 2021-01-15 11:32:46 +01:00
nm-log-core core/logging: move "nm-logging.c" to shared/nm-log-core/libnm-log-core library 2021-01-15 11:32:31 +01:00
nm-platform platform: move types from "nm-platform-utils.h" to nmp-base.h" 2021-01-15 11:32:34 +01:00
nm-std-aux shared: fix unit tests for nm_utils_get_next_realloc_size() 2021-01-12 09:56:43 +01:00
nm-udev-aux all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-utils all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
systemd all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
meson.build libnm,shared: move nm-ethtool helper to "libnm-base" 2021-01-15 11:32:41 +01:00
nm-default.h core/logging: move "nm-logging.c" to shared/nm-log-core/libnm-log-core library 2021-01-15 11:32:31 +01:00
nm-meta-setting.c all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-meta-setting.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-test-libnm-utils.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-test-utils-impl.c all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-version-macros.h.in all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00