From 260366c37cafab011cf48760eaf04282098ef800 Mon Sep 17 00:00:00 2001 From: Pavel Březina Date: Fri, 14 Dec 2012 13:15:53 +0100 Subject: add sdap_sudo_schedule_refresh() Reduces amount of code duplication. --- src/providers/ldap/sdap_sudo.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/providers/ldap/sdap_sudo.h') diff --git a/src/providers/ldap/sdap_sudo.h b/src/providers/ldap/sdap_sudo.h index f9988d61..5a12afd5 100644 --- a/src/providers/ldap/sdap_sudo.h +++ b/src/providers/ldap/sdap_sudo.h @@ -33,6 +33,12 @@ struct sdap_sudo_ctx { bool full_refresh_done; }; +enum sdap_sudo_refresh_type { + SDAP_SUDO_REFRESH_FULL, + SDAP_SUDO_REFRESH_SMART, + SDAP_SUDO_REFRESH_RULES +}; + /* Common functions from ldap_sudo.c */ void sdap_sudo_handler(struct be_req *breq); int sdap_sudo_init(struct be_ctx *be_ctx, -- cgit