NetworkManager/shared/nm-std-aux
Thomas Haller 7ae8100d7a
shared: add NM_IS_IPv4() macro
This is of course trivial. However, we use this macro at several places
as and index into an array of length 2, to lookup either the IPv4 or
IPv6 element. As such, this MUST return 0 or 1. This promise is what the
macro should convey.
2020-07-23 15:29:23 +02:00
..
c-list-util.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
c-list-util.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-dbus-compat.h license: relicense "shared/nm-std-aux/nm-dbus-compat.h" under LGPL-2.1+ 2020-01-14 16:54:43 +01:00
nm-std-aux.h shared: add NM_IS_IPv4() macro 2020-07-23 15:29:23 +02:00
nm-std-utils.c shared: move nm_utils_get_next_realloc_size() to nm-std-aux 2020-07-06 14:11:22 +02:00
nm-std-utils.h shared: move nm_utils_get_next_realloc_size() to nm-std-aux 2020-07-06 14:11:22 +02:00
unaligned.h shared: split C-only helper "shared/nm-std-aux" utils out of "shared/nm-utils" 2019-04-18 19:17:23 +02:00