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 19:55:32 +0100 |
commit | ec9e503f7b52d30783f394ea9bc5ae85e661a7ed (patch) | |
tree | ef8cb7b0725fff9694b70f7b266d0b6b57a79c52 /src/providers/ldap/sdap_sudo.h | |
parent | 024e7bb71b9bd08ca2ff00f7fde05488b08f9220 (diff) | |
download | sssd-ec9e503f7b52d30783f394ea9bc5ae85e661a7ed.tar.gz sssd-ec9e503f7b52d30783f394ea9bc5ae85e661a7ed.tar.xz sssd-ec9e503f7b52d30783f394ea9bc5ae85e661a7ed.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, |