From efab0086ba154ef50256a66325661d7b3d636df5 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 4 Oct 2011 17:31:59 +0200 Subject: s3-passdb: split out passdb/pdb_tdb.h. Guenther --- source3/passdb/pdb_tdb.c | 1 + source3/passdb/pdb_tdb.h | 32 ++++++++++++++++++++++++++++++++ source3/passdb/proto.h | 4 ---- 3 files changed, 33 insertions(+), 4 deletions(-) create mode 100644 source3/passdb/pdb_tdb.h 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 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 . + */ + +/* 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); -- cgit