summaryrefslogtreecommitdiff
path: root/include/pwd.h
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2004-04-06 10:59:19 +0000
committerDamien Miller <djm@cvs.openbsd.org>2004-04-06 10:59:19 +0000
commit477a2da10698da82d0cb9c63a72054dcc055bbf4 (patch)
tree6c3189abb6a0025b25d10fc982afd598e03698bf /include/pwd.h
parent099b7a05f2a3d685b23f53565c930a72ca60fffc (diff)
prototypes for bcrypt and md5crypt, as described in manpage; ok deraadt@
Diffstat (limited to 'include/pwd.h')
-rw-r--r--include/pwd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/pwd.h b/include/pwd.h
index fc3b5b3ea4e..3ff80b8b601 100644
--- a/include/pwd.h
+++ b/include/pwd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pwd.h,v 1.15 2003/06/02 19:34:12 millert Exp $ */
+/* $OpenBSD: pwd.h,v 1.16 2004/04/06 10:59:18 djm Exp $ */
/* $NetBSD: pwd.h,v 1.9 1996/05/15 21:36:45 jtc Exp $ */
/*-
@@ -101,6 +101,8 @@ struct passwd *getpwent(void);
int setpassent(int);
char *user_from_uid(uid_t, int);
char *bcrypt_gensalt(u_int8_t);
+char *bcrypt(const char *, const char *);
+char *md5crypt(const char *, const char *);
struct passwd *pw_dup(const struct passwd *);
#endif
void setpwent(void);