]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
libsmbconf: put the smbconf context struct into a private header.
authorMichael Adam <obnox@samba.org>
Wed, 19 Mar 2008 11:37:17 +0000 (12:37 +0100)
committerMichael Adam <obnox@samba.org>
Fri, 21 Mar 2008 01:25:55 +0000 (02:25 +0100)
Michael

source/lib/smbconf/smbconf.c
source/lib/smbconf/smbconf.h
source/lib/smbconf/smbconf_private.h [new file with mode: 0644]

index 804b1b8c28cdcb538ccf74550a45c9f944ada15b..a5059c9eb5239889207f3c8fb59ab49dbab83d09 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #include "includes.h"
+#include "smbconf_private.h"
 
 /**********************************************************************
  *
index 9679b2777dc0607622214b64c0e5db3f0fb58a64..c15caf4ea930c9951b3992db35564859ad5bda79 100644 (file)
@@ -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/source/lib/smbconf/smbconf_private.h b/source/lib/smbconf/smbconf_private.h
new file mode 100644 (file)
index 0000000..1827645
--- /dev/null
@@ -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