lib: create a wrapper for file_lines_parse().
authorJeremy Allison <jra@samba.org>
Tue, 10 Nov 2020 21:43:24 +0000 (13:43 -0800)
committerGünther Deschner <gd@samba.org>
Fri, 13 Nov 2020 16:22:32 +0000 (16:22 +0000)
commit61f6672d8bbdbb6889be94591a7dbaeb55ab3d30
tree9152607bb94cab10a686eb36ec5eb581a48c6008
parent2ba6d596ff0a3580eca9285fd83569bcb147ce77
lib: create a wrapper for file_lines_parse().

Make the internal function file_lines_parse_internal().

Currently file_lines_parse() just wraps file_lines_parse_internal(),
but this allows me to change file_lines_parse() to take
a const char * to make it safe for callers (no talloc tricks).

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
lib/util/util_file.c