blob: 1b852be3c8c45c0b7210b7fb715281bc62fff22f [file] [log] [blame]
Viet-Trung Luu96b05c12016-01-11 11:26:36 -08001#ifndef _CRYPT_H
2#define _CRYPT_H
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8struct crypt_data {
George Kulakowski17e3b042016-02-18 15:59:50 -08009 int initialized;
10 char __buf[256];
Viet-Trung Luu96b05c12016-01-11 11:26:36 -080011};
12
George Kulakowski17e3b042016-02-18 15:59:50 -080013char* crypt(const char*, const char*);
14char* crypt_r(const char*, const char*, struct crypt_data*);
Viet-Trung Luu96b05c12016-01-11 11:26:36 -080015
16#ifdef __cplusplus
17}
18#endif
19
20#endif