7 Copyright (c) 1995-1998 by Cisco systems, Inc.
9 Permission to use, copy, modify, and distribute this software for
10 any purpose and without fee is hereby granted, provided that this
11 copyright and permission notice appear on all copies of the
12 software and supporting documentation, the name of Cisco Systems,
13 Inc. not be used in advertising or publicity pertaining to
14 distribution of the program without specific prior permission, and
15 notice be given in supporting documentation that modification,
16 copying and distribution is by permission of Cisco Systems, Inc.
18 Cisco Systems, Inc. makes no representations about the suitability
19 of this software for any purpose. THIS SOFTWARE IS PROVIDED ``AS
20 IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
21 WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
22 FITNESS FOR A PARTICULAR PURPOSE.
26 #define PW_OK 0 /* pw not expired and not due to expire soon */
27 #define PW_EXPIRED 1 /* pw has expired */
28 #define PW_EXPIRING 2 /* pw will expire soon */
30 #define MAX_PASSWD_LEN 256
33 extern int check_expiration TAC_ARGS((const char *date));