diff options
author | Sascha Schumann <sas@php.net> | 2000-08-21 10:10:31 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2000-08-21 10:10:31 +0000 |
commit | 6ce467dc134478dd876013c76a36d60a068f55ad (patch) | |
tree | 80eede3a93e7b97b073fcb9a519b5951b9bd0ad0 /ext/standard/md5.h | |
parent | 19741cc37ad1773a6d4b59392991ff7b90899775 (diff) | |
download | php-git-6ce467dc134478dd876013c76a36d60a068f55ad.tar.gz |
Get rid of php_global.h and the associated data types UINT4/_POINTER.
We use php_uint32 now globally.
Also removed K&R support from md5.[ch].
Diffstat (limited to 'ext/standard/md5.h')
-rw-r--r-- | ext/standard/md5.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/standard/md5.h b/ext/standard/md5.h index 5edd374302..42a812be21 100644 --- a/ext/standard/md5.h +++ b/ext/standard/md5.h @@ -45,18 +45,18 @@ documentation and/or software. */ -#include "php_global.h" +#include "ext/standard/basic_functions.h" /* MD5 context. */ typedef struct { - UINT4 state[4]; /* state (ABCD) */ - UINT4 count[2]; /* number of bits, modulo 2^64 (lsb first) */ + php_uint32 state[4]; /* state (ABCD) */ + php_uint32 count[2]; /* number of bits, modulo 2^64 (lsb first) */ unsigned char buffer[64]; /* input buffer */ } PHP_MD5_CTX; -void PHP_MD5Init PROTO_LIST((PHP_MD5_CTX *)); -void PHP_MD5Update PROTO_LIST((PHP_MD5_CTX *, const unsigned char *, unsigned int)); -void PHP_MD5Final PROTO_LIST((unsigned char[16], PHP_MD5_CTX *)); +void PHP_MD5Init(PHP_MD5_CTX *); +void PHP_MD5Update(PHP_MD5_CTX *, const unsigned char *, unsigned int); +void PHP_MD5Final(unsigned char[16], PHP_MD5_CTX *); PHP_NAMED_FUNCTION(php_if_md5); |