Viet-Trung Luu | 96b05c1 | 2016-01-11 11:26:36 -0800 | [diff] [blame] | 1 | #ifndef _CRYPT_H |
| 2 | #define _CRYPT_H |
| 3 | |
| 4 | #ifdef __cplusplus |
| 5 | extern "C" { |
| 6 | #endif |
| 7 | |
| 8 | struct crypt_data { |
George Kulakowski | 17e3b04 | 2016-02-18 15:59:50 -0800 | [diff] [blame] | 9 | int initialized; |
| 10 | char __buf[256]; |
Viet-Trung Luu | 96b05c1 | 2016-01-11 11:26:36 -0800 | [diff] [blame] | 11 | }; |
| 12 | |
George Kulakowski | 17e3b04 | 2016-02-18 15:59:50 -0800 | [diff] [blame] | 13 | char* crypt(const char*, const char*); |
| 14 | char* crypt_r(const char*, const char*, struct crypt_data*); |
Viet-Trung Luu | 96b05c1 | 2016-01-11 11:26:36 -0800 | [diff] [blame] | 15 | |
| 16 | #ifdef __cplusplus |
| 17 | } |
| 18 | #endif |
| 19 | |
| 20 | #endif |