summaryrefslogtreecommitdiff
path: root/nest/password.h
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>1999-05-31 19:15:52 +0000
committerPavel Machek <pavel@ucw.cz>1999-05-31 19:15:52 +0000
commit2e6197d634a14533899915477032f082e675e35f (patch)
tree3c53b76032896ffae20fa39532b30863363b0c1c /nest/password.h
parent9c9e49ac392dfdbff97be579842028a4eb1d0dec (diff)
Added password_strncpy() which pads destination with zeros.
Diffstat (limited to 'nest/password.h')
-rw-r--r--nest/password.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/nest/password.h b/nest/password.h
index 16f4385a..119aa707 100644
--- a/nest/password.h
+++ b/nest/password.h
@@ -20,5 +20,7 @@ struct password_item {
extern struct password_item *last_password_item;
struct password_item *get_best_password(struct password_item *head, int flags);
+extern void password_strncpy(char *to, char *from, int len);
+
#endif