summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-03-19 12:37:17 +0100
committerMichael Adam <obnox@samba.org>2008-03-21 02:25:55 +0100
commit7b53c84fe1c8ec0cb5e1d7a977eca6197a4c36c6 (patch)
tree821e9c0fbc3fd668722aa288928e9e02088af621 /source3/lib
parent153ed797e61db7feef32af0d256818e66460d064 (diff)
downloadsamba-7b53c84fe1c8ec0cb5e1d7a977eca6197a4c36c6.tar.gz
samba-7b53c84fe1c8ec0cb5e1d7a977eca6197a4c36c6.tar.bz2
samba-7b53c84fe1c8ec0cb5e1d7a977eca6197a4c36c6.zip
libsmbconf: put the smbconf context struct into a private header.
Michael (This used to be commit a99ee5e536eee1563c90e5d7f251bfe9f5d1ffbb)
Diffstat (limited to 'source3/lib')
-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