summaryrefslogtreecommitdiff
path: root/src/providers/ldap/sdap_sudo.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-01-29 20:13:35 +0100
committerStephen Gallagher <sgallagh@redhat.com>2012-02-04 08:27:16 -0500
commit5d00ee0e07dea78806df780db69e94900e5bb8c0 (patch)
tree4dca6af0b8c1d85bc9d1835efc9e79faea70c5ac /src/providers/ldap/sdap_sudo.h
parentbe65f065fef1d387281096ef095a2acef39ecc12 (diff)
downloadsssd-5d00ee0e07dea78806df780db69e94900e5bb8c0.tar.gz
sssd-5d00ee0e07dea78806df780db69e94900e5bb8c0.tar.bz2
sssd-5d00ee0e07dea78806df780db69e94900e5bb8c0.zip
Move BUILD_SUDO outside the generic LDAP source files
Avoid #ifdefs in the general part of the code
Diffstat (limited to 'src/providers/ldap/sdap_sudo.h')
-rw-r--r--src/providers/ldap/sdap_sudo.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap_sudo.h b/src/providers/ldap/sdap_sudo.h
index b0e66089..dd42f368 100644
--- a/src/providers/ldap/sdap_sudo.h
+++ b/src/providers/ldap/sdap_sudo.h
@@ -21,6 +21,14 @@
#ifndef _SDAP_SUDO_H_
#define _SDAP_SUDO_H_
+/* Common functions from ldap_sudo.c */
+void sdap_sudo_handler(struct be_req *breq);
+int sdap_sudo_init(struct be_ctx *be_ctx,
+ struct sdap_id_ctx *id_ctx,
+ struct bet_ops **ops,
+ void **pvt_data);
+
+/* sdap async interface */
struct tevent_req *sdap_sudo_refresh_send(TALLOC_CTX *mem_ctx,
struct be_ctx *be_ctx,
struct be_sudo_req *sudo_req,