diff options
author | Günther Deschner <gd@samba.org> | 2011-10-04 17:31:59 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-10-10 18:40:33 +0200 |
commit | efab0086ba154ef50256a66325661d7b3d636df5 (patch) | |
tree | 9b6772855a75d31aeed460cb00c5a4e4ef8301df /source3/passdb | |
parent | 7119c8ba1461beafae64ebfe1f26c0e2b893b293 (diff) | |
download | samba-efab0086ba154ef50256a66325661d7b3d636df5.tar.gz samba-efab0086ba154ef50256a66325661d7b3d636df5.tar.bz2 samba-efab0086ba154ef50256a66325661d7b3d636df5.zip |
s3-passdb: split out passdb/pdb_tdb.h.
Guenther
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/pdb_tdb.c | 1 | ||||
-rw-r--r-- | source3/passdb/pdb_tdb.h | 32 | ||||
-rw-r--r-- | source3/passdb/proto.h | 4 |
3 files changed, 33 insertions, 4 deletions
diff --git a/source3/passdb/pdb_tdb.c b/source3/passdb/pdb_tdb.c index 93ee12d817..32051b198a 100644 --- a/source3/passdb/pdb_tdb.c +++ b/source3/passdb/pdb_tdb.c @@ -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 index 0000000000..e2ecfb20f7 --- /dev/null +++ b/source3/passdb/pdb_tdb.h @@ -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_ */ diff --git a/source3/passdb/proto.h b/source3/passdb/proto.h index 63208ea9c1..fc66c2fb18 100644 --- a/source3/passdb/proto.h +++ b/source3/passdb/proto.h @@ -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); |