diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-07-03 23:19:26 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-07-03 23:19:26 +0000 |
commit | 887ca79f04cdf45874ed783c1fb9b950bf25a246 (patch) | |
tree | 25f08b2b2ea8b333aac91b6b75876f82a4cfef6f /include/pwd.h | |
parent | 360e2549544b813dd805361d04744c5a4a630bb8 (diff) | |
download | busybox-w32-887ca79f04cdf45874ed783c1fb9b950bf25a246.tar.gz busybox-w32-887ca79f04cdf45874ed783c1fb9b950bf25a246.tar.bz2 busybox-w32-887ca79f04cdf45874ed783c1fb9b950bf25a246.zip |
Scrub pwd.h and grp.h handling so we don't have to play any
silly games.
-Erik
Diffstat (limited to 'include/pwd.h')
-rw-r--r-- | include/pwd.h | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/include/pwd.h b/include/pwd.h deleted file mode 100644 index 178e9e97a..000000000 --- a/include/pwd.h +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | #ifndef __CONFIG_PWD_H | ||
2 | #define __CONFIG_PWD_H | ||
3 | |||
4 | #if !defined CONFIG_USE_BB_PWD_GRP | ||
5 | #include_next <pwd.h> | ||
6 | |||
7 | #else | ||
8 | |||
9 | #include <sys/types.h> | ||
10 | #include <features.h> | ||
11 | #include <stdio.h> | ||
12 | |||
13 | /* The passwd structure. */ | ||
14 | struct passwd | ||
15 | { | ||
16 | char *pw_name; /* Username. */ | ||
17 | char *pw_passwd; /* Password. */ | ||
18 | uid_t pw_uid; /* User ID. */ | ||
19 | gid_t pw_gid; /* Group ID. */ | ||
20 | char *pw_gecos; /* Real name. */ | ||
21 | char *pw_dir; /* Home directory. */ | ||
22 | char *pw_shell; /* Shell program. */ | ||
23 | }; | ||
24 | |||
25 | extern void setpwent __P ((void)); | ||
26 | extern void endpwent __P ((void)); | ||
27 | extern struct passwd * getpwent __P ((void)); | ||
28 | |||
29 | extern int putpwent __P ((__const struct passwd * __p, FILE * __f)); | ||
30 | extern int getpw __P ((uid_t uid, char *buf)); | ||
31 | |||
32 | extern struct passwd * fgetpwent __P ((FILE * file)); | ||
33 | |||
34 | extern struct passwd * getpwuid __P ((__const uid_t)); | ||
35 | extern struct passwd * getpwnam __P ((__const char *)); | ||
36 | |||
37 | extern struct passwd * __getpwent __P ((__const int passwd_fd)); | ||
38 | |||
39 | #endif /* USE_SYSTEM_PWD_GRP */ | ||
40 | #endif /* __CONFIG_PWD_H */ | ||
41 | |||