summaryrefslogtreecommitdiffstats
path: root/src/providers/ipa/ipa_access.h
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-01-09 21:34:30 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-01-21 22:17:34 +0100
commitffbd3f324558fe7e04d6007761391889800baa95 (patch)
treeca6a917466b9c5a7d037a50691560f288a8e977b /src/providers/ipa/ipa_access.h
parent1f5965110f3f4e1a8d35cf1e308b156e912c8639 (diff)
downloadsssd-ffbd3f324558fe7e04d6007761391889800baa95.tar.gz
sssd-ffbd3f324558fe7e04d6007761391889800baa95.tar.xz
sssd-ffbd3f324558fe7e04d6007761391889800baa95.zip
Move hbac_ctx_is_offline()
Diffstat (limited to 'src/providers/ipa/ipa_access.h')
-rw-r--r--src/providers/ipa/ipa_access.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/providers/ipa/ipa_access.h b/src/providers/ipa/ipa_access.h
index fc817e475..d3b78b0f8 100644
--- a/src/providers/ipa/ipa_access.h
+++ b/src/providers/ipa/ipa_access.h
@@ -75,13 +75,6 @@ struct hbac_ctx {
struct sysdb_attrs **servicegroups;
};
-/* Check whether the current HBAC request is processed in off-line mode */
-static inline bool hbac_ctx_is_offline(struct hbac_ctx *ctx)
-{
- return ctx == NULL || ctx->sdap_op == NULL;
-}
-
-
void ipa_access_handler(struct be_req *be_req);
errno_t hbac_get_cached_rules(TALLOC_CTX *mem_ctx,