summaryrefslogtreecommitdiff
path: root/source4/lib/policy/policy.h
diff options
context:
space:
mode:
authorWilco Baan Hofman <wilco@baanhofman.nl>2010-05-21 14:41:02 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-06-20 17:19:12 +0200
commit8f74ee01d9bb93872c5cd5471084c8bd2da0d17f (patch)
tree569e2f8abfca198cfda97ec0f7ba00a040f06cef /source4/lib/policy/policy.h
parentc36bd5de6a479b87baeb1632af2304c049079703 (diff)
downloadsamba-8f74ee01d9bb93872c5cd5471084c8bd2da0d17f.tar.gz
samba-8f74ee01d9bb93872c5cd5471084c8bd2da0d17f.tar.bz2
samba-8f74ee01d9bb93872c5cd5471084c8bd2da0d17f.zip
Add ini parser for GPO's.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Diffstat (limited to 'source4/lib/policy/policy.h')
-rw-r--r--source4/lib/policy/policy.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/source4/lib/policy/policy.h b/source4/lib/policy/policy.h
index 86ab33ee7d..d55cb30abd 100644
--- a/source4/lib/policy/policy.h
+++ b/source4/lib/policy/policy.h
@@ -61,6 +61,21 @@ struct gp_link {
const char *dn;
};
+struct gp_ini_param {
+ char *name;
+ char *value;
+};
+
+struct gp_ini_section {
+ char *name;
+ uint16_t num_params;
+ struct gp_ini_param *params;
+};
+
+struct gp_ini_context {
+ uint16_t num_sections;
+ struct gp_ini_section *sections;
+};
NTSTATUS gp_init(TALLOC_CTX *mem_ctx,
struct loadparm_context *lp_ctx,