diff options
Diffstat (limited to 'src/responder/sudo/sudosrv_private.h')
-rw-r--r-- | src/responder/sudo/sudosrv_private.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/responder/sudo/sudosrv_private.h b/src/responder/sudo/sudosrv_private.h index b806c96e..47850ad6 100644 --- a/src/responder/sudo/sudosrv_private.h +++ b/src/responder/sudo/sudosrv_private.h @@ -43,15 +43,7 @@ struct sudo_ctx { /* * options */ - int cache_timeout; bool timed; - - /* - * Key: domain for SSS_DP_SUDO_DEFAULTS - * domain:username for SSS_DP_SUDO_USER - * Val: struct sudo_cache_entry * - */ - hash_table_t *cache; }; struct sudo_cmd_ctx { @@ -122,24 +114,4 @@ sss_dp_get_sudoers_recv(TALLOC_CTX *mem_ctx, dbus_uint32_t *err_min, char **err_msg); -errno_t sudosrv_cache_init(TALLOC_CTX *mem_ctx, - unsigned long count, - hash_table_t **table); - -errno_t sudosrv_cache_lookup(hash_table_t *table, - struct sudo_dom_ctx *dctx, - bool check_next, - const char *username, - size_t *res_count, - struct sysdb_attrs ***res); - -errno_t sudosrv_cache_set_entry(struct tevent_context *ev, - struct sudo_ctx *sudo_ctx, - hash_table_t *table, - struct sss_domain_info *domain, - const char *username, - size_t res_count, - struct sysdb_attrs **res, - time_t timeout); - #endif /* _SUDOSRV_PRIVATE_H_ */ |