s3:param: alloc lp_load_ex() to take an existing 'FILE *' pointer instead of a path
authorStefan Metzmacher <metze@samba.org>
Tue, 12 Dec 2023 10:46:55 +0000 (11:46 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 8 Feb 2024 15:39:21 +0000 (16:39 +0100)
commit5e39ef9cb9b7bf63efb4268cf01463fb3a55447a
tree5cd8945453649f46c2a68b47d5785db7798725d4
parent0d04e58e1e72c2b81bd39fb29589c23769258f8b
s3:param: alloc lp_load_ex() to take an existing 'FILE *' pointer instead of a path

This will be useful in order to use open_memstream()/fmemopen() in order
to create a deep copy of an s4 lpctx into an s3 context without having
an existing smb.conf file on disk.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
source3/param/loadparm.c