adjust to match the expanded name.
[AROS-Contrib.git] / scout / source / netinclude / pwd.h
blobcf4a56b7eb5b93742a2dd12cf6f05a2e1b22ed5c
1 /*
2 * $Id$
4 * :ts=8
6 * 'Roadshow' -- Amiga TCP/IP stack; "usergroup.library" API
7 * Copyright © 2001-2005 by Olaf Barthel.
8 * All Rights Reserved.
10 * Amiga specific TCP/IP 'C' header files;
11 * Freely Distributable
13 * WARNING: The "usergroup.library" API must be considered obsolete and
14 * should not be used in new software. It is provided solely
15 * for backwards compatibility and legacy application software.
18 /*-
19 * Copyright (c) 1989, 1993
20 * The Regents of the University of California. All rights reserved.
21 * (c) UNIX System Laboratories, Inc.
22 * All or some portions of this file are derived from material licensed
23 * to the University of California by American Telephone and Telegraph
24 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
25 * the permission of UNIX System Laboratories, Inc.
27 * Redistribution and use in source and binary forms, with or without
28 * modification, are permitted provided that the following conditions
29 * are met:
30 * 1. Redistributions of source code must retain the above copyright
31 * notice, this list of conditions and the following disclaimer.
32 * 2. Redistributions in binary form must reproduce the above copyright
33 * notice, this list of conditions and the following disclaimer in the
34 * documentation and/or other materials provided with the distribution.
35 * 3. All advertising materials mentioning features or use of this software
36 * must display the following acknowledgement:
37 * This product includes software developed by the University of
38 * California, Berkeley and its contributors.
39 * 4. Neither the name of the University nor the names of its contributors
40 * may be used to endorse or promote products derived from this software
41 * without specific prior written permission.
43 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
44 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
45 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
46 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
47 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
48 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
49 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
50 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
51 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
52 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
53 * SUCH DAMAGE.
55 * @(#)pwd.h 8.2 (Berkeley) 1/21/94
58 #ifndef _PWD_H
59 #define _PWD_H
61 /****************************************************************************/
63 #ifndef _SYS_NETINCLUDE_TYPES_H
64 #include <sys/netinclude_types.h>
65 #endif /* _SYS_NETINCLUDE_TYPES_H */
67 /****************************************************************************/
69 #ifdef __cplusplus
70 extern "C" {
71 #endif /* __cplusplus */
73 /****************************************************************************/
75 #ifdef __GNUC__
76 #ifdef __PPC__
77 #pragma pack(2)
78 #endif
79 #elif defined(__VBCC__)
80 #pragma amiga-align
81 #endif
83 /****************************************************************************/
85 struct passwd
87 __STRPTR pw_name; /* user name */
88 __STRPTR pw_passwd; /* encrypted password */
89 __LONG pw_uid; /* user uid */
90 __LONG pw_gid; /* user gid */
91 __STRPTR pw_gecos; /* Honeywell login info */
92 __STRPTR pw_dir; /* home directory */
93 __STRPTR pw_shell; /* default shell */
96 /****************************************************************************/
98 #ifdef __GNUC__
99 #ifdef __PPC__
100 #pragma pack()
101 #endif
102 #elif defined(__VBCC__)
103 #pragma default-align
104 #endif
106 /****************************************************************************/
108 #ifdef __cplusplus
110 #endif /* __cplusplus */
112 /****************************************************************************/
114 #endif /* !_PWD_H */