-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathexpire.h
28 lines (25 loc) · 1.16 KB
/
expire.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
* $Id: expire.h,v 1.4 2006-12-13 00:49:14 heas Exp $
*
* Copyright (c) 1995-1998 by Cisco systems, Inc.
*
* Permission to use, copy, modify, and distribute this software for
* any purpose and without fee is hereby granted, provided that this
* copyright and permission notice appear on all copies of the
* software and supporting documentation, the name of Cisco Systems,
* Inc. not be used in advertising or publicity pertaining to
* distribution of the program without specific prior permission, and
* notice be given in supporting documentation that modification,
* copying and distribution is by permission of Cisco Systems, Inc.
*
* Cisco Systems, Inc. makes no representations about the suitability
* of this software for any purpose. THIS SOFTWARE IS PROVIDED ``AS
* IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
* WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
* FITNESS FOR A PARTICULAR PURPOSE.
*/
#define PW_OK 0 /* pw not expired and not due to expire soon */
#define PW_EXPIRED 1 /* pw has expired */
#define PW_EXPIRING 2 /* pw will expire soon */
#define MAX_PASSWD_LEN 256
int check_expiration(char *);