s4-loadparm: change lp_*() to lpcfg_*() and provide s3 compatibility lp_*()
authorAndrew Tridgell <tridge@samba.org>
Fri, 16 Jul 2010 04:32:10 +0000 (14:32 +1000)
committerAndrew Tridgell <tridge@samba.org>
Fri, 16 Jul 2010 08:24:27 +0000 (18:24 +1000)
commite4c35c5a09dd66c9280caa39130b7e3b941b7e51
tree4fcc5baf3e32e55f43c6867b3699075c693f6322
parent8b1980c22cd68f19ae47dee844963ae74b896e00
s4-loadparm: change lp_*() to lpcfg_*() and provide s3 compatibility lp_*()

This patch changes all Samba4 loadparm functions that take a
loadparm_context or a loadparm_service structure to use a lpcfg_*()
prefix. It then creates lp_*() functions which are wrappers around the
lpcfg_*() functions. This should allow us to mix Samba3 and Samba4
code which uses loadparm calls.

This first patch just makes the manual changes to the core loadparm
code. The tree will not build with just this patch. The next patch
replaces all of the callers, and was generated automatically with a
perl script.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
source4/param/loadparm.c
source4/param/param.h