NetworkManager/shared/nm-glib-aux
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
..
tests shared: fix unit tests for nm_utils_get_next_realloc_size() 2021-01-12 09:56:43 +01:00
nm-c-list.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-dbus-aux.c all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-dbus-aux.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-dedup-multi.c all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-dedup-multi.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-enum-utils.c shared: fix _nm_utils_enum_from_str_full() for negative enum values 2021-01-15 09:36:30 +01:00
nm-enum-utils.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-errno.c all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-errno.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-glib.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-hash-utils.c all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-hash-utils.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-io-utils.c all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-io-utils.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-jansson.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-json-aux.c all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-json-aux.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-keyfile-aux.c all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-keyfile-aux.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-logging-base.c all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-logging-base.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-logging-fwd.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-macros-internal.h shared: add nm_strdup_maybe_a() helper macro 2021-01-15 09:36:30 +01:00
nm-obj.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-random-utils.c all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-random-utils.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-ref-string.c all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-ref-string.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-secret-utils.c all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-secret-utils.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-shared-utils.c core: move NM_MANAGER_ERROR to shared/nm-glib-aux 2021-01-15 11:32:30 +01:00
nm-shared-utils.h shared: add NMOptionBool as alternative to NMTernary 2021-01-15 11:32:46 +01:00
nm-str-buf.h shared: add nm_str_buf_append_{dirty,c_len}() helpers 2021-01-14 10:38:52 +01:00
nm-time-utils.c all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-time-utils.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-value-type.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00