summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb_sudo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/db/sysdb_sudo.h')
-rw-r--r--src/db/sysdb_sudo.h17
1 files changed, 6 insertions, 11 deletions
diff --git a/src/db/sysdb_sudo.h b/src/db/sysdb_sudo.h
index 7a34591cd..f8e214f9f 100644
--- a/src/db/sysdb_sudo.h
+++ b/src/db/sysdb_sudo.h
@@ -72,30 +72,25 @@ sysdb_get_sudo_filter(TALLOC_CTX *mem_ctx, const char *username,
char **_filter);
errno_t
-sysdb_get_sudo_user_info(TALLOC_CTX *mem_ctx, struct sysdb_ctx *sysdb,
+sysdb_get_sudo_user_info(TALLOC_CTX *mem_ctx,
struct sss_domain_info *domain,
const char *username, uid_t *_uid,
char ***groupnames);
errno_t
-sysdb_save_sudorule(struct sysdb_ctx *sysdb,
- struct sss_domain_info *domain,
+sysdb_save_sudorule(struct sss_domain_info *domain,
const char *rule_name,
struct sysdb_attrs *attrs);
-errno_t sysdb_sudo_set_last_full_refresh(struct sysdb_ctx *sysdb,
- struct sss_domain_info *domain,
+errno_t sysdb_sudo_set_last_full_refresh(struct sss_domain_info *domain,
time_t value);
-errno_t sysdb_sudo_get_last_full_refresh(struct sysdb_ctx *sysdb,
- struct sss_domain_info *domain,
+errno_t sysdb_sudo_get_last_full_refresh(struct sss_domain_info *domain,
time_t *value);
-errno_t sysdb_sudo_purge_byname(struct sysdb_ctx *sysdb,
- struct sss_domain_info *domain,
+errno_t sysdb_sudo_purge_byname(struct sss_domain_info *domain,
const char *name);
-errno_t sysdb_sudo_purge_byfilter(struct sysdb_ctx *sysdb,
- struct sss_domain_info *domain,
+errno_t sysdb_sudo_purge_byfilter(struct sss_domain_info *domain,
const char *filter);
#endif /* _SYSDB_SUDO_H_ */