From 167217bec15c9c7aa70ba2a3dc9c689b3cd91872 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Mon, 14 May 2001 14:19:32 +0000 Subject: import new version of dietlibc --- mdk-stage1/dietlibc/include/shadow.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 mdk-stage1/dietlibc/include/shadow.h (limited to 'mdk-stage1/dietlibc/include/shadow.h') diff --git a/mdk-stage1/dietlibc/include/shadow.h b/mdk-stage1/dietlibc/include/shadow.h new file mode 100644 index 000000000..4d6341af1 --- /dev/null +++ b/mdk-stage1/dietlibc/include/shadow.h @@ -0,0 +1,24 @@ +#ifndef _SHADOW_H +#define _SHADOW_H + +#include +#include + +struct spwd { + char *sp_namp; /* user login name */ + char *sp_pwdp; /* encrypted password */ + long sp_lstchg; /* last password change */ + int sp_min; /* days until change allowed. */ + int sp_max; /* days before change required */ + int sp_warn; /* days warning for expiration */ + int sp_inact; /* days before account inactive */ + int sp_expire; /* date when account expires */ + int sp_flag; /* reserved for future use */ +}; + +extern struct spwd *getspent(void) __THROW; +extern void setspent(void) __THROW; +extern void endspent(void) __THROW; +extern struct spwd *getspnam (__const char *__name) __THROW; + +#endif /* _SHADOW_H */ -- cgit v1.2.1