NetworkManager/shared/nm-glib-aux
Thomas Haller 0f22f77b1c
shared: support stripping whitespace from nm_utils_buf_utf8safe_unescape()
When parsing user input if is often convenient to allow stripping whitespace.
Especially with escaped strings, the user could still escape the whitespace,
if the space should be taken literally.

Add support for that to nm_utils_buf_utf8safe_unescape().

Note that this is not the same as calling g_strstrip() before/after
unescape. That is, because nm_utils_buf_utf8safe_unescape() correctly
preserves escaped whitespace. If you call g_strstrip() before/after
the unescape, you don't know whether the whitespace is escaped.
2020-05-13 10:28:04 +02:00
..
tests
nm-c-list.h
nm-dbus-aux.c
nm-dbus-aux.h
nm-dedup-multi.c
nm-dedup-multi.h
nm-enum-utils.c
nm-enum-utils.h
nm-errno.c
nm-errno.h
nm-glib.h
nm-hash-utils.c
nm-hash-utils.h
nm-io-utils.c
nm-io-utils.h
nm-jansson.h
nm-json-aux.c
nm-json-aux.h
nm-keyfile-aux.c
nm-keyfile-aux.h
nm-logging-base.c
nm-logging-base.h
nm-logging-fwd.h
nm-macros-internal.h
nm-obj.h
nm-random-utils.c
nm-random-utils.h
nm-ref-string.c
nm-ref-string.h
nm-secret-utils.c
nm-secret-utils.h
nm-shared-utils.c
nm-shared-utils.h
nm-str-buf.h
nm-time-utils.c
nm-time-utils.h
nm-value-type.h