mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 16:30:07 +01:00
A replacement for g_strsplit_set(). While g_strsplit_set() does (n+1) malloc and n slice allocations, this needs roughtly (O(log(n))) mallocs. Another difference from g_strsplit_set() is that this function treats multiple delimiters as one (and thus never returns empty words). While I can see that sometimes you may want to keep empty words (like parsing a CSV file and preserve empty cells), we usually use this function for splitting user input. In such case, we want to treat multiple delimiters as one. |
||
|---|---|---|
| .. | ||
| nm-utils | ||
| nm-common-macros.h | ||
| nm-dbus-compat.h | ||
| nm-default.h | ||
| nm-dispatcher-api.h | ||
| nm-meta-setting.c | ||
| nm-meta-setting.h | ||
| nm-test-libnm-utils.h | ||
| nm-test-utils-impl.c | ||
| nm-version-macros.h.in | ||