cctools
password_cache.h
1/*
2Copyright (C) 2003-2004 Douglas Thain and the University of Wisconsin
3Copyright (C) 2022 The University of Notre Dame
4This software is distributed under the GNU General Public License.
5See the password COPYING for details.
6*/
7
8#ifndef PASSWORD_CACHE_H
9#define PASSWORD_CACHE_H
10
11#include <sys/types.h>
12
13#include "int_sizes.h"
14
16 char *username;
17 char *password;
18};
19
20struct password_cache *password_cache_init(const char *uname, const char *pwd);
21void password_cache_delete(struct password_cache *c);
22void password_cache_cleanup(struct password_cache *c);
23int password_cache_register(struct password_cache *p, const char *uname, const char *pwd);
24int password_cache_full(struct password_cache *c);
25
26#endif
Definition password_cache.h:15