summaryrefslogtreecommitdiff
path: root/lib/param/param_structs.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-07-08 09:19:43 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-07-08 12:35:56 +0200
commitcda86869400285afe17db87a9a666fbcc5b918a8 (patch)
treed5e36a1f276729a827c2303bdfad56b8aacff55f /lib/param/param_structs.h
parentcf406f7e7d58b9c993ba1ddc6471fa85e445ba88 (diff)
downloadsamba-cda86869400285afe17db87a9a666fbcc5b918a8.tar.gz
samba-cda86869400285afe17db87a9a666fbcc5b918a8.tar.bz2
samba-cda86869400285afe17db87a9a666fbcc5b918a8.zip
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
Diffstat (limited to 'lib/param/param_structs.h')
-rw-r--r--lib/param/param_structs.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/param/param_structs.h b/lib/param/param_structs.h
deleted file mode 100644
index f076ce15fa..0000000000
--- a/lib/param/param_structs.h
+++ /dev/null
@@ -1,13 +0,0 @@
-#define LOADPARM_EXTRA_LOCALS \
- struct parmlist_entry *param_opt; \
- char *szService; \
- char *szCopy; \
- char *szInclude; \
- char *szPrintername; \
- int bAvailable; \
- int iMaxPrintJobs; \
- char *volume; \
- struct bitmap *copymap; \
- char dummy[3]; /* for alignment */
-
-#include "param_local.h"