]> git.ipfire.org Git - thirdparty/systemd.git/commit - TODO
strv: convert strv_split_quotes into a generic strv_split_extract
authorRichard Maw <richard.maw@codethink.co.uk>
Fri, 19 Jun 2015 15:24:34 +0000 (15:24 +0000)
committerRichard Maw <richard.maw@codethink.co.uk>
Fri, 7 Aug 2015 15:50:43 +0000 (15:50 +0000)
commit8adaf7bd23baa6e2cd99e9e88e55d0f5f5db29a2
tree708a0dd3995411d49cee3174f340986b9e5587c5
parentffcd3e89d55c870c94aa15ee94dab3e029a586cf
strv: convert strv_split_quotes into a generic strv_split_extract

strv_split_extract is to strv_split_quotes as extract_first_word was to
unquote_first_word.

Now there's extract_first_word for extracting a single argument,
extract_many_words for extracting a bounded number of arguments,
and strv_split_extract for extracting an arbitrary number of arguments.
TODO
src/basic/env-util.c
src/basic/strv.c
src/basic/strv.h
src/journal-remote/journal-remote.c
src/locale/localed.c
src/test/test-strv.c