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:19:36 +0100 |
commit | 6a86d676a53614c88296df222e7fa814ffb799da (patch) | |
tree | 04b0a8ec8866ac66860096cc3d0806ef2a0db2e6 /src/providers/ldap/sdap_sudo.h | |
parent | cdfc4ba0b8135aa176f555f9244cfeaa2439a027 (diff) | |
download | sssd-6a86d676a53614c88296df222e7fa814ffb799da.tar.gz sssd-6a86d676a53614c88296df222e7fa814ffb799da.tar.xz sssd-6a86d676a53614c88296df222e7fa814ffb799da.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, |