Release bumped to "gts4".
[tac_plus.git] / expire.h
1 #ifndef EXPIRE_H
2 #define EXPIRE_H 1
3
4 #include "tac_plus.h"
5
6 /*
7    Copyright (c) 1995-1998 by Cisco systems, Inc.
8
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.
17
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.
23 */
24
25
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 */
29
30 #define MAX_PASSWD_LEN 256
31
32
33 extern int check_expiration TAC_ARGS((const char *date));
34
35
36 #endif /* EXPIRE_H */