--- crypt.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/crypt.h b/crypt.h index 07de216..921e45a 100644 --- a/crypt.h +++ b/crypt.h @@ -5,14 +5,21 @@ extern "C" { #endif +void encrypt(char *, int); +void setkey(char *); +char *crypt(const char *, const char *); + +#ifdef _GNU_SOURCE + struct crypt_data { int initialized; char __buf[256]; }; -char *crypt(const char *, const char *); char *crypt_r(const char *, const char *, struct crypt_data *); +#endif /* _GNU_SOURCE */ + #ifdef __cplusplus } #endif -- 2.13.2
- [PATCH crypt 0/8] Use musl implementation Yaakov Selkowitz
- [PATCH crypt 2/8] Port sources to Cygwin Yaakov Selkowitz
- [PATCH crypt 1/8] Import musl sources Yaakov Selkowitz
- [PATCH crypt 3/8] Export crypt_r Yaakov Selkowitz
- [PATCH crypt 7/8] Update README Yaakov Selkowitz
- [PATCH crypt 8/8] Add .gitignore Yaakov Selkowitz
- [PATCH crypt 4/8] Guard GNU extensions in header, de... Yaakov Selkowitz
- [PATCH crypt 5/8] Disable blowfish cipher Yaakov Selkowitz
- Re: [PATCH crypt 5/8] Disable blowfish cipher Corinna Vinschen
- Re: [PATCH crypt 5/8] Disable blowfish ciphe... Yaakov Selkowitz
- Re: [PATCH crypt 5/8] Disable blowfish c... Yaakov Selkowitz
- [PATCH crypt 6/8] Update Makefile Yaakov Selkowitz
- [PATCH v2 6/8] Update Makefile Yaakov Selkowitz
- Re: [PATCH v2 6/8] Update Makefile Corinna Vinschen