s3-passdb: split out passdb/pdb_tdb.h.
authorGünther Deschner <gd@samba.org>
Tue, 4 Oct 2011 15:31:59 +0000 (17:31 +0200)
committerGünther Deschner <gd@samba.org>
Mon, 10 Oct 2011 16:40:33 +0000 (18:40 +0200)
Guenther

source3/passdb/pdb_tdb.c
source3/passdb/pdb_tdb.h [new file with mode: 0644]
source3/passdb/proto.h

index 93ee12d81796854d889539ef5446ed89ae6a0891..32051b198ad8adf5cb83cd1200b272d218ab34ae 100644 (file)
@@ -29,6 +29,7 @@
 #include "dbwrap/dbwrap_open.h"
 #include "../libcli/security/security.h"
 #include "util_tdb.h"
+#include "passdb/pdb_tdb.h"
 
 #if 0 /* when made a module use this */
 
diff --git a/source3/passdb/pdb_tdb.h b/source3/passdb/pdb_tdb.h
new file mode 100644 (file)
index 0000000..e2ecfb2
--- /dev/null
@@ -0,0 +1,32 @@
+/*
+ * Unix SMB/CIFS implementation.
+ * SMB parameters and setup
+ * Copyright (C) Andrew Tridgell   1992-1998
+ * Copyright (C) Simo Sorce        2000-2003
+ * Copyright (C) Gerald Carter     2000-2006
+ * Copyright (C) Jeremy Allison    2001-2009
+ * Copyright (C) Andrew Bartlett   2002
+ * Copyright (C) Jim McDonough <jmcd@us.ibm.com> 2005
+ *
+ * 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/>.
+ */
+
+/* The following definitions come from passdb/pdb_tdb.c  */
+
+#ifndef _PASSDB_PDB_TDB_H_
+#define _PASSDB_PDB_TDB_H_
+
+NTSTATUS pdb_tdbsam_init(void);
+
+#endif /* _PASSDB_PDB_TDB_H_ */
index 63208ea9c16bde25595c6d0fd82c3121f22e0f2b..fc66c2fb18248834d7cc63d0677b283884ee5577 100644 (file)
@@ -348,10 +348,6 @@ NTSTATUS pdb_smbpasswd_init(void) ;
 
 NTSTATUS pdb_wbc_sam_init(void);
 
-/* The following definitions come from passdb/pdb_tdb.c  */
-
-NTSTATUS pdb_tdbsam_init(void);
-
 /* The following definitions come from passdb/pdb_util.c  */
 
 NTSTATUS create_builtin_users(const struct dom_sid *sid);