summaryrefslogtreecommitdiff
path: root/source4/param/loadparm.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-07 16:04:22 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:48:47 +0100
commit6dc73da601b23d64bb4f78358b1924210cbc8ec6 (patch)
tree5e3e64bdab381853fcda173fe1f1da4228febab3 /source4/param/loadparm.h
parent01d2acfdb4c4c0349a28a18c5c0da5b960b02791 (diff)
downloadsamba-6dc73da601b23d64bb4f78358b1924210cbc8ec6.tar.gz
samba-6dc73da601b23d64bb4f78358b1924210cbc8ec6.tar.bz2
samba-6dc73da601b23d64bb4f78358b1924210cbc8ec6.zip
r26336: use offsets inside loadparm rather than pointers (allows multiple contexts to exist at the same time).
(This used to be commit 9c87c46c69169fbb071ec945943e2454206f916e)
Diffstat (limited to 'source4/param/loadparm.h')
-rw-r--r--source4/param/loadparm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/param/loadparm.h b/source4/param/loadparm.h
index f834bce8f5..c4489d6d7f 100644
--- a/source4/param/loadparm.h
+++ b/source4/param/loadparm.h
@@ -47,7 +47,7 @@ struct parm_struct {
const char *label;
parm_type type;
parm_class class;
- void *ptr;
+ int offset;
bool (*special)(struct loadparm_context *, const char *, char **);
const struct enum_list *enum_list;
unsigned int flags;