summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dietlibc/include/shadow.h
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-05-14 14:19:32 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-05-14 14:19:32 +0000
commit167217bec15c9c7aa70ba2a3dc9c689b3cd91872 (patch)
tree7c0c62debf8f9f145643102fb52b81afce743594 /mdk-stage1/dietlibc/include/shadow.h
parent9097327dc1c667fc51b8e05cc7c0626fac96665d (diff)
downloaddrakx-backup-do-not-use-167217bec15c9c7aa70ba2a3dc9c689b3cd91872.tar
drakx-backup-do-not-use-167217bec15c9c7aa70ba2a3dc9c689b3cd91872.tar.gz
drakx-backup-do-not-use-167217bec15c9c7aa70ba2a3dc9c689b3cd91872.tar.bz2
drakx-backup-do-not-use-167217bec15c9c7aa70ba2a3dc9c689b3cd91872.tar.xz
drakx-backup-do-not-use-167217bec15c9c7aa70ba2a3dc9c689b3cd91872.zip
import new version of dietlibc
Diffstat (limited to 'mdk-stage1/dietlibc/include/shadow.h')
-rw-r--r--mdk-stage1/dietlibc/include/shadow.h24
1 files changed, 24 insertions, 0 deletions
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 <sys/cdefs.h>
+#include <sys/types.h>
+
+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 */