shl: misc: add shl_string_list_count() helper
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 2 Dec 2012 11:28:48 +0000 (12:28 +0100)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 2 Dec 2012 11:28:48 +0000 (12:28 +0100)
commit89081916d7ec2ff533dd20cc9e376e1110299357
tree8b269fe0768ea7204dcf747b6f2b2b2aa8b46800
parent0d006aa2631ae5c28194e95719d84481f58c7be0
shl: misc: add shl_string_list_count() helper

This helper counts the entries in a string-list with an option to ignore
empty elements.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/shl_misc.h