diff options
author | Pavel Březina <pbrezina@redhat.com> | 2012-12-14 13:15:53 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2012-12-18 17:15:22 +0100 |
commit | 260366c37cafab011cf48760eaf04282098ef800 (patch) | |
tree | a32eb1bd2e466445346d8ec60c36b24d114a176f /src/providers/ldap/sdap_sudo.h | |
parent | e148ba6dbb26a0eac162ac9a2ff550da2c883808 (diff) | |
download | sssd-260366c37cafab011cf48760eaf04282098ef800.tar.gz sssd-260366c37cafab011cf48760eaf04282098ef800.tar.xz sssd-260366c37cafab011cf48760eaf04282098ef800.zip |
add sdap_sudo_schedule_refresh()
Reduces amount of code duplication.
Diffstat (limited to 'src/providers/ldap/sdap_sudo.h')
-rw-r--r-- | src/providers/ldap/sdap_sudo.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap_sudo.h b/src/providers/ldap/sdap_sudo.h index f9988d611..5a12afd59 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, |