2
Copyright (C) 2003-2004 Douglas Thain and the University of Wisconsin
3
Copyright (C) 2005- The University of Notre Dame
4
This software is distributed under the GNU General Public License.
5
See the password COPYING for details.
8
#ifndef PASSWORD_CACHE_H
9
#define PASSWORD_CACHE_H
11
#include <sys/types.h>
13
#include "int_sizes.h"
15
struct password_cache {
20
struct password_cache * password_cache_init( const char *uname, const char *pwd );
21
void password_cache_delete( struct password_cache *c );
22
void password_cache_cleanup( struct password_cache *c );
23
int password_cache_register( struct password_cache *p, const char *uname, const char *pwd );
24
int password_cache_full( struct password_cache *c);