lib/param: Merge struct loadparm_service into common
authorAndrew Bartlett <abartlet@samba.org>
Thu, 7 Jul 2011 23:19:43 +0000 (09:19 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 8 Jul 2011 10:35:56 +0000 (12:35 +0200)
commitcda86869400285afe17db87a9a666fbcc5b918a8
treed5e36a1f276729a827c2303bdfad56b8aacff55f
parentcf406f7e7d58b9c993ba1ddc6471fa85e445ba88
lib/param: Merge struct loadparm_service into common

This is handled by a common header and a .c file that is included into
both loadparm.c files.

In the process, _lp functions were renamed to lp__ to allow the common
function definition declarations to be used by source3 and source4
(which have different macro definitions).

The only parameter to change type is 'strict_locking' which was a
bool, and is now an int, to accommodate the 'Auto' value from source3.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri Jul  8 12:35:56 CEST 2011 on sn-devel-104
13 files changed:
lib/param/loadparm.h
lib/param/param_functions.c
lib/param/param_structs.h [deleted file]
lib/param/wscript_build [new file with mode: 0644]
source3/Makefile.in
source3/include/proto.h
source3/param/loadparm.c
source3/smbd/smb2_read.c
source3/wscript_build
source4/param/loadparm.c
source4/param/wscript_build
source4/script/mkproto.pl
wscript_build