diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-10-02 13:00:33 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:07:40 -0500 |
commit | 30047a95432984c8c450b8a819b9f742bdedf66b (patch) | |
tree | 5b7a53213885ec2f7b46a99e971e80d728a24481 /source4/param/param.h | |
parent | 569903dd0c8adb8e529c8a87da841e3a01baaa7f (diff) | |
download | samba-30047a95432984c8c450b8a819b9f742bdedf66b.tar.gz samba-30047a95432984c8c450b8a819b9f742bdedf66b.tar.xz samba-30047a95432984c8c450b8a819b9f742bdedf66b.zip |
r25460: use common structure in param/generic.c
(This used to be commit 01ce5448f44ddda7ec864d812fe23f0fa68d1561)
Diffstat (limited to 'source4/param/param.h')
-rw-r--r-- | source4/param/param.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source4/param/param.h b/source4/param/param.h index caa5a763bbc..1dd5950e312 100644 --- a/source4/param/param.h +++ b/source4/param/param.h @@ -20,21 +20,21 @@ #ifndef _PARAM_H /* _PARAM_H */ #define _PARAM_H -struct param_context { - struct param_section *sections; +struct param_opt { + struct param_opt *prev, *next; + char *key; + char *value; + int flags; }; -struct param { - const char *name; - char *value; - const char **list_value; - struct param *prev, *next; +struct param_context { + struct param_section *sections; }; struct param_section { const char *name; struct param_section *prev, *next; - struct param *parameters; + struct param_opt *parameters; }; struct param_context; |