summaryrefslogtreecommitdiff
path: root/source4/param/param.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/param/param.h')
-rw-r--r--source4/param/param.h21
1 files changed, 12 insertions, 9 deletions
diff --git a/source4/param/param.h b/source4/param/param.h
index 5f5da58388..1dd5950e31 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;
@@ -57,8 +57,11 @@ enum announce_as {/* Types of machine we can announce as. */
ANNOUNCE_AS_NT_WORKSTATION=4
};
-
+struct loadparm_context;
+struct loadparm_service;
#include "param/proto.h"
+extern struct loadparm_context *global_loadparm;
+
#endif /* _PARAM_H */