[PHP4BETA] CVS update: php4/ext/mcrypt

From: Date: Sun, 25 Apr 1999 22:22:13 +0000
Subject: [PHP4BETA] CVS update: php4/ext/mcrypt
Groups: php.version4 
Request: Send a blank email to php-version4+get-534@lists.php.net to get a copy of this message
Date: Sunday April 25, 1999 @ 18:22 Author: sas Update of /repository/php4/ext/mcrypt In directory php:/tmp/cvs-serv18897/ext/mcrypt Modified Files: mcrypt.c Log Message: PHP3 compat stuff Index: php4/ext/mcrypt/mcrypt.c diff -u php4/ext/mcrypt/mcrypt.c:1.11 php4/ext/mcrypt/mcrypt.c:1.12 --- php4/ext/mcrypt/mcrypt.c:1.11 Sun Apr 25 17:50:24 1999 +++ php4/ext/mcrypt/mcrypt.c Sun Apr 25 18:22:13 1999 @@ -31,6 +31,12 @@ #if HAVE_LIBMCRYPT +#if PHP_API_VERSION < 19990421 +#define zend_module_entry php3_module_entry +#include "modules.h" +#include "internal_functions.h" +#endif + #include "fcntl.h" #include "php_mcrypt.h" @@ -49,12 +55,12 @@ {0}, }; -static int php3_minit_mcrypt(INIT_FUNC_ARGS); +static int php_minit_mcrypt(INIT_FUNC_ARGS); zend_module_entry mcrypt_module_entry = { "mcrypt", mcrypt_functions, - php3_minit_mcrypt, NULL, + php_minit_mcrypt, NULL, NULL, NULL, NULL, STANDARD_MODULE_PROPERTIES, @@ -120,7 +126,7 @@ #define MCRYPT_ENTRY(a) REGISTER_LONG_CONSTANT("MCRYPT_" #a, a, 0) -static int php3_minit_mcrypt(INIT_FUNC_ARGS) +static int php_minit_mcrypt(INIT_FUNC_ARGS) { /* modes for mcrypt_??? routines */ REGISTER_LONG_CONSTANT("MCRYPT_ENCRYPT", 0, 0); -- PHP 4 Beta

« previous php.version4 (#534) next »