diff options
author | Edin Kadribasic <edink@php.net> | 2002-05-10 04:58:05 +0000 |
---|---|---|
committer | Edin Kadribasic <edink@php.net> | 2002-05-10 04:58:05 +0000 |
commit | ffce791942609b37caae439a723f07bc0f0ef58f (patch) | |
tree | 7eca68d8e6f8e52c28ce827def05e30b8e69d861 /win32/md5crypt.h | |
parent | 0685de942b4a904c1cfc4cb37cda8f377389114d (diff) | |
download | php-git-ffce791942609b37caae439a723f07bc0f0ef58f.tar.gz |
Added MD5 support for crypt() on Windows.
Diffstat (limited to 'win32/md5crypt.h')
-rw-r--r-- | win32/md5crypt.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/win32/md5crypt.h b/win32/md5crypt.h new file mode 100644 index 0000000000..62b9cf4ed0 --- /dev/null +++ b/win32/md5crypt.h @@ -0,0 +1,37 @@ +/* + +----------------------------------------------------------------------+ + | PHP Version 4 | + +----------------------------------------------------------------------+ + | Copyright (c) 1997-2002 The PHP Group | + +----------------------------------------------------------------------+ + | This source file is subject to version 2.02 of the PHP license, | + | that is bundled with this package in the file LICENSE, and is | + | available at through the world-wide-web at | + | http://www.php.net/license/2_02.txt. | + | If you did not receive a copy of the PHP license and are unable to | + | obtain it through the world-wide-web, please send a note to | + | license@php.net so we can mail you a copy immediately. | + +----------------------------------------------------------------------+ + | Author: Edin Kadribasic | + +----------------------------------------------------------------------+ + */ + +/* $Id$ */ +#ifndef _MD5CRYPT_H_ +#define _MD5CRYPT_H_ + +#ifdef __cplusplus +extern "C" +{ +#endif + +#define MD5_MAGIC "$1$" +#define MD5_MAGIC_LEN 3 + +char *md5_crypt(const char *pw, const char *salt); + +#ifdef __cplusplus +} +#endif + +#endif /* _MD5CRYPT_H_ */
\ No newline at end of file |