From 795aefec0c77da0ab49d89ef9c31862e822b68e5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Tue, 4 Oct 2011 17:35:31 +0200 Subject: [PATCH] s3-passdb: split out passdb/pdb_smbpasswd.h. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Guenther Autobuild-User: Günther Deschner Autobuild-Date: Mon Oct 10 20:14:46 CEST 2011 on sn-devel-104 --- source3/passdb/pdb_smbpasswd.c | 1 + source3/passdb/pdb_smbpasswd.h | 30 ++++++++++++++++++++++++++++++ source3/passdb/proto.h | 4 ---- 3 files changed, 31 insertions(+), 4 deletions(-) create mode 100644 source3/passdb/pdb_smbpasswd.h diff --git a/source3/passdb/pdb_smbpasswd.c b/source3/passdb/pdb_smbpasswd.c index 2cfacd3a136..6dbb72a577d 100644 --- a/source3/passdb/pdb_smbpasswd.c +++ b/source3/passdb/pdb_smbpasswd.c @@ -26,6 +26,7 @@ #include "system/filesys.h" #include "../librpc/gen_ndr/samr.h" #include "../libcli/security/security.h" +#include "passdb/pdb_smbpasswd.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_PASSDB diff --git a/source3/passdb/pdb_smbpasswd.h b/source3/passdb/pdb_smbpasswd.h new file mode 100644 index 00000000000..ccabd38eda7 --- /dev/null +++ b/source3/passdb/pdb_smbpasswd.h @@ -0,0 +1,30 @@ +/* + * Unix SMB/CIFS implementation. + * SMB parameters and setup + * Copyright (C) Andrew Tridgell 1992-1998 + * Modified by Jeremy Allison 1995. + * Modified by Gerald (Jerry) Carter 2000-2001,2003 + * Modified by Andrew Bartlett 2002. + * + * 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 . + */ + +#ifndef _PASSDB_PDB_SMBPASSWD_H_ +#define _PASSDB_PDB_SMBPASSWD_H_ + +/* The following definitions come from passdb/pdb_smbpasswd.c */ + +NTSTATUS pdb_smbpasswd_init(void) ; + +#endif /* _PASSDB_PDB_SMBPASSWD_H_ */ diff --git a/source3/passdb/proto.h b/source3/passdb/proto.h index 486dc3709c8..6a95454a0b6 100644 --- a/source3/passdb/proto.h +++ b/source3/passdb/proto.h @@ -340,10 +340,6 @@ NTSTATUS pdb_nds_init(void); NTSTATUS pdb_ipa_init(void); -/* The following definitions come from passdb/pdb_smbpasswd.c */ - -NTSTATUS pdb_smbpasswd_init(void) ; - /* The following definitions come from passdb/pdb_util.c */ NTSTATUS create_builtin_users(const struct dom_sid *sid); -- 2.34.1