summaryrefslogtreecommitdiff
path: root/source3/libgpo/gpo_ini.h
diff options
context:
space:
mode:
authorWilco Baan Hofman <wilco@baanhofman.nl>2009-04-20 14:57:33 +0200
committerGünther Deschner <gd@samba.org>2009-04-20 23:16:17 +0200
commit933482e64869f5aee2ca0356abb721facfd65943 (patch)
tree36d6f7529233334420f4ab30cda4d8a2f51c8ff3 /source3/libgpo/gpo_ini.h
parent374b47fb45d0a4b0cb24ff4afea9d6e341c2f8b5 (diff)
downloadsamba-933482e64869f5aee2ca0356abb721facfd65943.tar.gz
samba-933482e64869f5aee2ca0356abb721facfd65943.tar.bz2
samba-933482e64869f5aee2ca0356abb721facfd65943.zip
Move gpo_ini stuff to the main libgpo. Make gpo_ini use a common parser.
It now makes use of lib/util/param.c to parse ini files. Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/libgpo/gpo_ini.h')
-rw-r--r--source3/libgpo/gpo_ini.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/source3/libgpo/gpo_ini.h b/source3/libgpo/gpo_ini.h
deleted file mode 100644
index fa03dbaaaa..0000000000
--- a/source3/libgpo/gpo_ini.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Unix SMB/CIFS implementation.
- * Group Policy Support
- * Copyright (C) Guenther Deschner 2007
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see <http://www.gnu.org/licenses/>.
- */
-
-/* FIXME: get rid of iniparser */
-#include <iniparser.h>
-
-struct gp_inifile_context {
- TALLOC_CTX *mem_ctx;
- dictionary *dict;
- const char *generated_filename;
-};
-
-/* prototypes */
-
-NTSTATUS gp_inifile_init_context(TALLOC_CTX *mem_ctx, uint32_t flags,
- const char *unix_path, const char *suffix,
- struct gp_inifile_context **ctx_ret);