From http://www.jwz.org/xscreensaver/xscreensaver-5.16.tar.gz
[xscreensaver] / driver / vms-pwd.h
1 /*      @(#)pwd.h 1.7 89/08/24 SMI; from S5R2 1.1       */
2
3 #ifndef __pwd_h
4 #define __pwd_h
5
6 #ifdef vax11c
7 #include <types.h>
8 #else
9 #include <sys/types.h>
10 #endif /* vax11c */
11
12 #ifdef PASSWDROUTINES
13 #define EXTERN
14 #else
15 #define EXTERN extern
16 #endif /* PASSWDROUTINES */
17
18 struct passwd {
19         char    *pw_name;
20         char    *pw_passwd;
21         int     pw_uid;
22         int     pw_gid;
23         short   pw_salt;
24         int     pw_encrypt;
25         char    *pw_age;
26         char    *pw_comment;
27         char    *pw_gecos;
28         char    *pw_dir;
29         char    *pw_shell;
30 };
31
32
33 #ifndef _POSIX_SOURCE
34 extern struct passwd *getpwent();
35
36 struct comment {
37         char    *c_dept;
38         char    *c_name;
39         char    *c_acct;
40         char    *c_bin;
41 };
42
43 #endif
44
45 EXTERN struct passwd *getpwuid(/* uid_t uid */);
46 EXTERN struct passwd *getpwnam(/* char *name */);
47
48 #endif  /* !__pwd_h */