1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- #ifndef _CRYPT_WIHN32_H_
- #define _CRYPT_WIHN32_H_
- #ifdef __cplusplus
- extern "C"
- {
- #endif
- #include "crypt_freesec.h"
- #ifndef __const
- #ifdef __GNUC__
- #define __CONST __const
- #else
- #define __CONST
- #endif
- #else
- #define __CONST __const
- #endif
- void php_init_crypt_r();
- void php_shutdown_crypt_r();
- extern void _crypt_extended_init_r(void);
- PHPAPI char *php_crypt_r (const char *__key, const char *__salt, struct php_crypt_extended_data * __data);
- #define MD5_HASH_MAX_LEN 120
- #include "crypt_blowfish.h"
- extern char * php_md5_crypt_r(const char *pw, const char *salt, char *out);
- extern char * php_sha512_crypt_r (const char *key, const char *salt, char *buffer, int buflen);
- extern char * php_sha256_crypt_r (const char *key, const char *salt, char *buffer, int buflen);
- #ifdef __cplusplus
- }
- #endif
- #endif
|