PHP 4.0 Bug #4470: patch to compile cybercash as a DL module

From: Date: Tue, 16 May 2000 19:03:55 +0000
Subject: PHP 4.0 Bug #4470: patch to compile cybercash as a DL module
Groups: php.dev 
Request: Send a blank email to php-dev+get-18842@lists.php.net to get a copy of this message
From: oyarzun@wilmington.net Operating system: RedHat Linux 6.2 PHP version: 4.0 Latest CVS (16/05/2000) PHP Bug Type: Dynamic loading related Bug description: patch to compile cybercash as a DL module here is a patch that will allow cybercash to be compiled as a dl modules diff -Nru php4.ORIG/ext/cybercash/cybercash.c php4/ext/cybercashcybercash.c --- php4.ORIG/ext/cybercash/cybercash.c Tue Mar 14 15:16:18 2000 +++ php4/ext/cybercashcybercash.c Tue May 16 14:26:52 2000 @@ -48,9 +48,22 @@ cybercash_functions, NULL,NULL, NULL,NULL, - NULL, + PHP_MINFO(cybercash), STANDARD_MODULE_PROPERTIES, }; + + +#if defined(COMPILE_DL) || defined(COMPILE_DL_CYBERCASH) +ZEND_GET_MODULE(cybercash) +#endif + +PHP_MINFO_FUNCTION(cybercash) +{ + php_info_print_table_start(); + php_info_print_table_row(2, "Cybercash Support", "enabled"); + php_info_print_table_end(); +} + PHP_FUNCTION(cybercash_encr) { diff -Nru php4.ORIG/ext/cybercash/cybercash.h php4/ext/cybercashcybercash.h --- php4.ORIG/ext/cybercash/cybercash.h Tue Mar 14 15:16:18 2000 +++ php4/ext/cybercashcybercash.h Tue May 16 14:29:20 2000 @@ -42,6 +42,7 @@ extern zend_module_entry cybercash_module_entry; #define cybercash_module_ptr &cybercash_module_entry +PHP_MINFO_FUNCTION(cybercash); PHP_FUNCTION(cybercash_encr); PHP_FUNCTION(cybercash_decr); PHP_FUNCTION(cybercash_base64_encode);

« previous php.dev (#18842) next »