Subversion Repositories Kolibri OS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4680 right-hear 1
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
2
#ifndef __dj_include_pwd_h_
3
#define __dj_include_pwd_h_
4
 
5
#ifdef __cplusplus
6
extern "C" {
7
#endif
8
 
9
#ifndef __dj_ENFORCE_ANSI_FREESTANDING
10
 
11
#ifndef __STRICT_ANSI__
12
 
13
#include 
14
 
15
__DJ_gid_t
16
#undef __DJ_gid_t
17
#define __DJ_gid_t
18
__DJ_uid_t
19
#undef __DJ_uid_t
20
#define __DJ_uid_t
21
 
22
struct passwd {
23
  char *	pw_name;
24
  uid_t		pw_uid;
25
  gid_t		pw_gid;
26
  char *	pw_dir;
27
  char *	pw_shell;
28
};
29
 
30
struct passwd *	getpwuid(uid_t _uid);
31
struct passwd *	getpwnam(const char *_name);
32
 
33
#ifndef _POSIX_SOURCE
34
 
35
struct passwd	*getpwent(void);
36
void		setpwent(void);
37
void		endpwent(void);
38
 
39
#endif /* !_POSIX_SOURCE */
40
#endif /* !__STRICT_ANSI__ */
41
#endif /* !__dj_ENFORCE_ANSI_FREESTANDING */
42
 
43
#ifndef __dj_ENFORCE_FUNCTION_CALLS
44
#endif /* !__dj_ENFORCE_FUNCTION_CALLS */
45
 
46
#ifdef __cplusplus
47
}
48
#endif
49
 
50
#endif /* !__dj_include_pwd_h_ */