summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-07-08 09:18:09 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-07-08 11:23:23 +0200
commitcf406f7e7d58b9c993ba1ddc6471fa85e445ba88 (patch)
tree6a2d2f66c8e98027d86b29ce2c0fe1bbd890f8c5 /lib
parent2fcbfcd004685482c40de169bf904d7fa92ac165 (diff)
downloadsamba-cf406f7e7d58b9c993ba1ddc6471fa85e445ba88.tar.gz
samba-cf406f7e7d58b9c993ba1ddc6471fa85e445ba88.tar.bz2
samba-cf406f7e7d58b9c993ba1ddc6471fa85e445ba88.zip
s3-param use common struct parmlist_entry to hold parametric options
This will allow struct loadparm_service to be shared in future. Andrew Bartlett
Diffstat (limited to 'lib')
-rw-r--r--lib/param/loadparm.h3
-rw-r--r--lib/util/parmlist.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/param/loadparm.h b/lib/param/loadparm.h
index 2627727f3a..d36f5a0f6e 100644
--- a/lib/param/loadparm.h
+++ b/lib/param/loadparm.h
@@ -27,7 +27,8 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-/* the following are used by loadparm for option lists */
+#include "../lib/util/parmlist.h"
+
/* the following are used by loadparm for option lists */
typedef enum {
P_BOOL,P_BOOLREV,P_CHAR,P_INTEGER,P_OCTAL,P_LIST,
diff --git a/lib/util/parmlist.h b/lib/util/parmlist.h
index b320afee47..9bc4f36126 100644
--- a/lib/util/parmlist.h
+++ b/lib/util/parmlist.h
@@ -24,6 +24,7 @@ struct parmlist_entry {
struct parmlist_entry *prev, *next;
char *key;
char *value;
+ char **list; /* For the source3 parametric options, to save the parsed list */
int priority;
};