summaryrefslogtreecommitdiff
path: root/source3/passdb/pdb_secrets.h
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-10-17 22:00:45 +0200
committerGünther Deschner <gd@samba.org>2012-01-18 14:46:18 +0100
commite75c436fe6a9ee44f6adc744b6269e99f4920431 (patch)
tree24c76f5195d9c7b2b615534cbe47d898924ddc2f /source3/passdb/pdb_secrets.h
parenta325e7b560502ce43c78a7c6c8d692e872f262ae (diff)
downloadsamba-e75c436fe6a9ee44f6adc744b6269e99f4920431.tar.gz
samba-e75c436fe6a9ee44f6adc744b6269e99f4920431.tar.bz2
samba-e75c436fe6a9ee44f6adc744b6269e99f4920431.zip
s3-passdb: trying to decouple passdb and secrets a little.
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Jan 18 14:46:18 CET 2012 on sn-devel-104
Diffstat (limited to 'source3/passdb/pdb_secrets.h')
-rw-r--r--source3/passdb/pdb_secrets.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/source3/passdb/pdb_secrets.h b/source3/passdb/pdb_secrets.h
new file mode 100644
index 0000000000..2498b20d71
--- /dev/null
+++ b/source3/passdb/pdb_secrets.h
@@ -0,0 +1,30 @@
+/*
+ Unix SMB/CIFS implementation.
+ Copyright (C) Andrew Tridgell 1992-2001
+ Copyright (C) Andrew Bartlett 2002
+ Copyright (C) Rafal Szczesniak 2002
+ Copyright (C) Tim Potter 2001
+
+ 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 _PASSDB_PDB_SECRETS_H_
+#define _PASSDB_PDB_SECRETS_H_
+
+/* The following definitions come from passdb/pdb_secrets.c */
+
+NTSTATUS secrets_trusted_domains(TALLOC_CTX *mem_ctx, uint32 *num_domains,
+ struct trustdom_info ***domains);
+
+#endif /* _PASSDB_PDB_SECRETS_H_ */