1995-05-09 02:25:50 +00:00
|
|
|
#ifndef _PWD_H_
|
|
|
|
#define _PWD_H_
|
|
|
|
/*
|
|
|
|
* pwd.h doesn't exist on NT, so we put together our own.
|
|
|
|
*/
|
|
|
|
|
|
|
|
struct passwd {
|
|
|
|
char *pw_name;
|
|
|
|
char *pw_passwd;
|
|
|
|
int pw_uid;
|
|
|
|
int pw_gid;
|
|
|
|
int pw_quota;
|
|
|
|
char *pw_gecos;
|
|
|
|
char *pw_dir;
|
|
|
|
char *pw_shell;
|
|
|
|
};
|
|
|
|
|
2001-10-12 13:08:48 +00:00
|
|
|
typedef int uid_t;
|
|
|
|
typedef uid_t gid_t;
|
|
|
|
|
2005-06-04 20:25:50 +00:00
|
|
|
struct passwd * getpwnam (char *);
|
|
|
|
struct passwd * getpwuid (int);
|
|
|
|
|
|
|
|
|
1995-05-09 02:25:50 +00:00
|
|
|
#endif /* _PWD_H_ */
|
2003-09-01 15:45:59 +00:00
|
|
|
|
|
|
|
/* arch-tag: 68308424-cb2b-49ed-bb52-b347fee416bf
|
|
|
|
(do not change this comment) */
|