44 lines
843 B
C
44 lines
843 B
C
#ifndef __EVIL_PWD_H__
|
|
#define __EVIL_PWD_H__
|
|
|
|
|
|
#include <time.h>
|
|
|
|
#include <Evil.h>
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
|
|
#ifndef __CEGCC__
|
|
|
|
|
|
struct passwd {
|
|
char *pw_name; /* user name */
|
|
char *pw_passwd; /* encrypted password */
|
|
uid_t pw_uid; /* user uid */
|
|
gid_t pw_gid; /* user gid */
|
|
time_t pw_change; /* password change time */
|
|
char *pw_class; /* user access class */
|
|
char *pw_gecos; /* Honeywell login info */
|
|
char *pw_dir; /* home directory */
|
|
char *pw_shell; /* default shell */
|
|
time_t pw_expire; /* account expiration */
|
|
int pw_fields; /* internal: fields filled in */
|
|
};
|
|
|
|
EAPI struct passwd * getpwuid (uid_t uid);
|
|
|
|
|
|
#endif /* ! __CEGCC__ */
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
|
|
#endif /* __EVIL_PWD_H__ */
|