NetworkManager/src/core/devices/wwan
Thomas Haller ffd8baa49f
all: use nm_g_array_{index,first,last,index_p}() instead of g_array_index()
These variants provide additional nm_assert() checks, and are thus
preferable.

Note that we cannot just blindly replace &g_array_index() with
&nm_g_array_index(), because the latter would not allow getting a
pointer at index [arr->len]. That might be a valid (though uncommon)
usecase. The correct replacement of &g_array_index() is thus
nm_g_array_index_p().

I checked the code manually and replaced uses of nm_g_array_index_p()
with &nm_g_array_index(), if that was a safe thing to do. The latter
seems preferable, because it is familar to &g_array_index().
2022-09-15 12:39:07 +02:00
..
tests format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
libnm-wwan.ver core: rework IP configuration in NetworkManager using layer 3 configuration 2021-11-18 16:21:29 +01:00
meson.build all: change G_LOG_DOMAIN to "nm" 2021-02-18 19:46:57 +01:00
nm-device-modem.c wwan: enable manual IP configuration 2022-07-18 07:48:12 +02:00
nm-device-modem.h all: move "src/" directory to "src/core/" 2021-02-04 09:45:55 +01:00
nm-modem-broadband.c all: use nm_g_array_{index,first,last,index_p}() instead of g_array_index() 2022-09-15 12:39:07 +02:00
nm-modem-broadband.h all: move "src/" directory to "src/core/" 2021-02-04 09:45:55 +01:00
nm-modem-manager.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nm-modem-manager.h all: move "src/" directory to "src/core/" 2021-02-04 09:45:55 +01:00
nm-modem-ofono.c glib-aux: rename IP address related helpers from "nm-inet-utils.h" 2022-08-25 19:05:51 +02:00
nm-modem-ofono.h wwan/ofono: Fix ofono re-connection problems 2021-03-15 13:32:47 +01:00
nm-modem.c core/wwan: ensure correct conditions before signal emission 2022-01-25 17:15:17 +01:00
nm-modem.h format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nm-service-providers.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nm-service-providers.h format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nm-wwan-factory.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00