xref: /titanic_52/usr/src/lib/libbc/inc/include/pwdadj.h (revision ea8dc4b6d2251b437950c0056bc626b311c73c27)
1 /*
2  * CDDL HEADER START
3  *
4  * The contents of this file are subject to the terms of the
5  * Common Development and Distribution License, Version 1.0 only
6  * (the "License").  You may not use this file except in compliance
7  * with the License.
8  *
9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10  * or http://www.opensolaris.org/os/licensing.
11  * See the License for the specific language governing permissions
12  * and limitations under the License.
13  *
14  * When distributing Covered Code, include this CDDL HEADER in each
15  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16  * If applicable, add the following below this CDDL HEADER, with the
17  * fields enclosed by brackets "[]" replaced with your own identifying
18  * information: Portions Copyright [yyyy] [name of copyright owner]
19  *
20  * CDDL HEADER END
21  */
22 /*
23  * Copyright 1988 Sun Microsystems, Inc.  All rights reserved.
24  * Use is subject to license terms.
25  */
26 
27 #pragma ident	"%Z%%M%	%I%	%E% SMI"
28 
29 #ifndef _pwdadj_h
30 #define _pwdadj_h
31 
32 struct	passwd_adjunct { /* see getpwaent(3) */
33 	char		*pwa_name;
34 	char		*pwa_passwd;
35 	blabel_t	pwa_minimum;
36 	blabel_t	pwa_maximum;
37 	blabel_t	pwa_def;
38 	audit_state_t	pwa_au_always;
39 	audit_state_t	pwa_au_never;
40 	int		pwa_version;
41 	char		*pwa_age;
42 };
43 
44 struct passwd_adjunct *getpwaent(), *getpwauid(), *getpwanam();
45 
46 #define PWA_VALID 0
47 #define PWA_INVALID -1
48 #define PWA_UNKNOWN -2
49 
50 #endif /*!_pwdadj_h*/
51