[PHP4BETA] CVS update: php4/ext/gettext
| From: | zeev | Date: | Sun, 09 May 1999 08:47:52 +0000 |
| Subject: | [PHP4BETA] CVS update: php4/ext/gettext | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-708@lists.php.net to get a copy of this message | ||
Date: Sunday May 9, 1999 @ 4:47
Author: zeev
Update of /repository/php4/ext/gettext
In directory php:/tmp/cvs-serv25538/ext/gettext
Modified Files:
gettext.c php3_gettext.h
Log Message:
* Finalizing the PHP version of SAPI. Support POST and cookies among other things.
* Fully implement ISAPI support - POST and cookies among other things.
* Almost completely rewrote phpinfo(). Allow modules to easily display their
information in phpinfo() without modifying phpinfo() itself (prototype for
the module info function was changed, thus the large amount of updated module
files).
* Initial extended SAPI support for Apache, completely untested.
* CGI now uses SAPI fully as well.
Index: php4/ext/gettext/gettext.c
diff -u php4/ext/gettext/gettext.c:1.1 php4/ext/gettext/gettext.c:1.2
--- php4/ext/gettext/gettext.c:1.1 Wed Apr 21 13:26:16 1999
+++ php4/ext/gettext/gettext.c Sun May 9 04:47:52 1999
@@ -27,7 +27,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: gettext.c,v 1.1 1999/04/21 17:26:16 sas Exp $ */
+/* $Id: gettext.c,v 1.2 1999/05/09 08:47:52 zeev Exp $ */
#include <stdio.h>
#include "php.h"
@@ -52,7 +52,7 @@
"gettext", php3_gettext_functions, NULL, NULL, NULL, NULL, php3_info_gettext,
STANDARD_MODULE_PROPERTIES
};
-void php3_info_gettext(void)
+void php3_info_gettext(ZEND_MODULE_INFO_FUNC_ARGS)
{
php3_printf("GNU gettext support active.");
}
Index: php4/ext/gettext/php3_gettext.h
diff -u php4/ext/gettext/php3_gettext.h:1.1 php4/ext/gettext/php3_gettext.h:1.2
--- php4/ext/gettext/php3_gettext.h:1.1 Wed Apr 21 14:10:39 1999
+++ php4/ext/gettext/php3_gettext.h Sun May 9 04:47:52 1999
@@ -27,7 +27,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php3_gettext.h,v 1.1 1999/04/21 18:10:39 sas Exp $ */
+/* $Id: php3_gettext.h,v 1.2 1999/05/09 08:47:52 zeev Exp $ */
#ifndef _GETTEXT_H
#define _GETTEXT_H
@@ -40,7 +40,7 @@
extern php3_module_entry php3_gettext_module_entry;
#define php3_gettext_module_ptr &php3_gettext_module_entry
-extern void php3_info_gettext(void);
+extern void php3_info_gettext(ZEND_MODULE_INFO_FUNC_ARGS);
extern void php3_textdomain(INTERNAL_FUNCTION_PARAMETERS);
extern void php3_gettext(INTERNAL_FUNCTION_PARAMETERS);
extern void php3_dgettext(INTERNAL_FUNCTION_PARAMETERS);
--
PHP 4 Beta