1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3/param
Stefan Metzmacher 063c4b25b1 s3:param: split out loadparm_s3_global_substitution from lp_string()
The idea is to get rid of the global state that's
currently used for the substitution in lp_string().

In the end all callers need to pass an explicit
const struct loadparm_substitution *sub_ctx,
which contains all relevant information
for the substitution. At that point lp_string() can be removed.

For now we provide loadparm_s3_global_substitution()
for callers to keep the current bahavior unchanged.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
2019-11-27 10:25:31 +00:00
..
loadparm_ctx.c s3:param: use lp_load_no_reinit() in lp_load_for_s4_ctx() 2015-04-22 13:57:30 +02:00
loadparm.c s3:param: split out loadparm_s3_global_substitution from lp_string() 2019-11-27 10:25:31 +00:00
pyparam.c s3: squash 'cast between incompatible function types' warning 2019-05-16 17:55:17 +00:00
service.c s3:smbd: Make sure we do not export "/" (root) as home dir 2018-12-05 01:38:14 +01:00
test_lp_load.c s3:param: Use C99 initializer for poptOption in test_lp_load 2019-01-28 10:29:15 +01:00
util.c Change all uses of uint32/16/8 in proto.h to uint32_t/16_t/8_t. 2015-04-29 23:42:20 +02:00
wscript_build build: Remove bld.gen_python_environments() 2019-03-21 04:06:14 +00:00