d844aab866ae237844360cea70e2dccdc90c783dStephen Gallagher Stephen Gallagher <sgallagh@redhat.com>
d844aab866ae237844360cea70e2dccdc90c783dStephen Gallagher Copyright (C) 2011 Red Hat
d844aab866ae237844360cea70e2dccdc90c783dStephen Gallagher This program is free software; you can redistribute it and/or modify
d844aab866ae237844360cea70e2dccdc90c783dStephen Gallagher it under the terms of the GNU General Public License as published by
d844aab866ae237844360cea70e2dccdc90c783dStephen Gallagher the Free Software Foundation; either version 3 of the License, or
d844aab866ae237844360cea70e2dccdc90c783dStephen Gallagher (at your option) any later version.
d844aab866ae237844360cea70e2dccdc90c783dStephen Gallagher This program is distributed in the hope that it will be useful,
d844aab866ae237844360cea70e2dccdc90c783dStephen Gallagher but WITHOUT ANY WARRANTY; without even the implied warranty of
d844aab866ae237844360cea70e2dccdc90c783dStephen Gallagher MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
d844aab866ae237844360cea70e2dccdc90c783dStephen Gallagher GNU General Public License for more details.
d844aab866ae237844360cea70e2dccdc90c783dStephen Gallagher You should have received a copy of the GNU General Public License
d844aab866ae237844360cea70e2dccdc90c783dStephen Gallagher along with this program. If not, see <http://www.gnu.org/licenses/>.
d844aab866ae237844360cea70e2dccdc90c783dStephen Gallaghererrno_t pam_initgr_cache_set(struct tevent_context *ev,
d844aab866ae237844360cea70e2dccdc90c783dStephen Gallagher/* Returns EOK if the cache is still valid
d844aab866ae237844360cea70e2dccdc90c783dStephen Gallagher * Returns ENOENT if the user is not found or is expired
d844aab866ae237844360cea70e2dccdc90c783dStephen Gallagher * May report other errors if the hash lookup fails.
d844aab866ae237844360cea70e2dccdc90c783dStephen Gallaghererrno_t pam_initgr_check_timeout(hash_table_t *id_table,
d844aab866ae237844360cea70e2dccdc90c783dStephen Gallagher#endif /* PAM_HELPERS_H_ */