summaryrefslogtreecommitdiffstats
path: root/server/providers/ldap/ldap_common.h
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2009-10-07 17:04:36 -0400
committerSimo Sorce <ssorce@redhat.com>2009-10-14 17:33:20 -0400
commit2ba5c5051d6c96d4360d02db30b6928665dc8319 (patch)
tree947315bcf14e268bdb556f638540725815f7abf2 /server/providers/ldap/ldap_common.h
parent8b02aa0d0ce4f70cabc3ee4b332f65b51ed03fc5 (diff)
downloadsssd-2ba5c5051d6c96d4360d02db30b6928665dc8319.tar.gz
sssd-2ba5c5051d6c96d4360d02db30b6928665dc8319.tar.xz
sssd-2ba5c5051d6c96d4360d02db30b6928665dc8319.zip
Move ldap provider configuration into its own file
Diffstat (limited to 'server/providers/ldap/ldap_common.h')
-rw-r--r--server/providers/ldap/ldap_common.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/server/providers/ldap/ldap_common.h b/server/providers/ldap/ldap_common.h
new file mode 100644
index 000000000..9cf4ddeb8
--- /dev/null
+++ b/server/providers/ldap/ldap_common.h
@@ -0,0 +1,32 @@
+/*
+ SSSD
+
+ LDAP Common utility code
+
+ Copyright (C) Simo Sorce <ssorce@redhat.com> 2009
+
+ 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 _LDAP_COMMON_H_
+#define _LDAP_COMMON_H_
+
+#include "providers/ldap/sdap.h"
+
+int ldap_get_options(TALLOC_CTX *memctx,
+ struct confdb_ctx *cdb,
+ const char *conf_path,
+ struct sdap_options **_opts);
+
+#endif /* _LDAP_COMMON_H_ */