summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/smbconf/smbconf.c1
-rw-r--r--source3/lib/smbconf/smbconf.h4
-rw-r--r--source3/lib/smbconf/smbconf_private.h27
3 files changed, 29 insertions, 3 deletions
diff --git a/source3/lib/smbconf/smbconf.c b/source3/lib/smbconf/smbconf.c
index 804b1b8c28..a5059c9eb5 100644
--- a/source3/lib/smbconf/smbconf.c
+++ b/source3/lib/smbconf/smbconf.c
@@ -19,6 +19,7 @@
*/
#include "includes.h"
+#include "smbconf_private.h"
/**********************************************************************
*
diff --git a/source3/lib/smbconf/smbconf.h b/source3/lib/smbconf/smbconf.h
index 9679b2777d..c15caf4ea9 100644
--- a/source3/lib/smbconf/smbconf.h
+++ b/source3/lib/smbconf/smbconf.h
@@ -20,9 +20,7 @@
#ifndef __LIBSMBCONF_H__
#define __LIBSMBCONF_H__
-struct smbconf_ctx {
- NT_USER_TOKEN *token;
-};
+struct smbconf_ctx;
/* the change sequence number */
struct smbconf_csn {
diff --git a/source3/lib/smbconf/smbconf_private.h b/source3/lib/smbconf/smbconf_private.h
new file mode 100644
index 0000000000..1827645583
--- /dev/null
+++ b/source3/lib/smbconf/smbconf_private.h
@@ -0,0 +1,27 @@
+/*
+ * Unix SMB/CIFS implementation.
+ * libsmbconf - Samba configuration library
+ * Copyright (C) Michael Adam 2008
+ *
+ * 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/>.
+ */
+
+#ifndef __LIBSMBCONF_PRIVATE_H__
+#define __LIBSMBCONF_PRIVATE_H__
+
+struct smbconf_ctx {
+ NT_USER_TOKEN *token;
+};
+
+#endif