summaryrefslogtreecommitdiff
path: root/source4/param/loadparm.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-06-29 14:15:32 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-06-29 15:44:09 +1000
commit7384a2b0b7c373b97b44705b994d0eb040300d5a (patch)
treee8998eb66cac672210e8272434ae64bb460d719e /source4/param/loadparm.h
parent658f55bbb73a199fa51fc945216660be76fffc1b (diff)
downloadsamba-7384a2b0b7c373b97b44705b994d0eb040300d5a.tar.gz
samba-7384a2b0b7c373b97b44705b994d0eb040300d5a.tar.bz2
samba-7384a2b0b7c373b97b44705b994d0eb040300d5a.zip
s4-param Merge struct parm_struct with version from source3/
Diffstat (limited to 'source4/param/loadparm.h')
-rw-r--r--source4/param/loadparm.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/source4/param/loadparm.h b/source4/param/loadparm.h
index 4fc28e7f05..db583436b4 100644
--- a/source4/param/loadparm.h
+++ b/source4/param/loadparm.h
@@ -46,17 +46,18 @@ struct loadparm_context;
struct parm_struct {
const char *label;
parm_type type;
- parm_class pclass;
- int offset;
+ parm_class p_class;
+ offset_t offset;
bool (*special)(struct loadparm_context *lpcfg_ctx,
int snum, const char *, char **);
const struct enum_list *enum_list;
+ unsigned flags;
union {
- int bvalue;
+ bool bvalue;
int ivalue;
char *svalue;
char cvalue;
- const char **lvalue;
+ char **lvalue;
} def;
};