Refactor crypt to use an external working function

This commit is contained in:
Anthony Ferrara 2012-06-28 14:44:04 -04:00
parent 0dd2f16b14
commit 6bb3865a23
2 changed files with 137 additions and 120 deletions

View file

@ -23,6 +23,7 @@
#ifndef PHP_CRYPT_H
#define PHP_CRYPT_H
PHPAPI int crypt_execute(const char *password, const int pass_len, const char *salt, int salt_len, char **result);
PHP_FUNCTION(crypt);
#if HAVE_CRYPT
PHP_MINIT_FUNCTION(crypt);