sniper Mon Dec 5 20:38:44 2005 EDT
Modified files:
/php-src/ext/mysqli mysqli_driver.c mysqli_exception.c mysqli_fe.c
mysqli_warning.c php_mysqli.h
Log:
nuke php3 legacy
http://cvs.php.net/diff.php/php-src/ext/mysqli/mysqli_driver.c?r1=1.5&r2=1.6&ty=u
Index: php-src/ext/mysqli/mysqli_driver.c
diff -u php-src/ext/mysqli/mysqli_driver.c:1.5
php-src/ext/mysqli/mysqli_driver.c:1.6
--- php-src/ext/mysqli/mysqli_driver.c:1.5 Fri Aug 12 10:08:23 2005
+++ php-src/ext/mysqli/mysqli_driver.c Mon Dec 5 20:38:43 2005
@@ -14,8 +14,10 @@
+----------------------------------------------------------------------+
| Author: Georg Richter <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
-
*/
+
+/* $Id: mysqli_driver.c,v 1.6 2005/12/06 01:38:43 sniper Exp $ */
+
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
@@ -145,7 +147,7 @@
/* {{{ mysqli_driver_methods[]
*/
-function_entry mysqli_driver_methods[] = {
+zend_function_entry mysqli_driver_methods[] = {
PHP_FALIAS(embedded_server_start, mysqli_embedded_server_start, NULL)
PHP_FALIAS(embedded_server_end, mysqli_embedded_server_end, NULL)
{NULL, NULL, NULL}
http://cvs.php.net/diff.php/php-src/ext/mysqli/mysqli_exception.c?r1=1.6&r2=1.7&ty=u
Index: php-src/ext/mysqli/mysqli_exception.c
diff -u php-src/ext/mysqli/mysqli_exception.c:1.6
php-src/ext/mysqli/mysqli_exception.c:1.7
--- php-src/ext/mysqli/mysqli_exception.c:1.6 Wed Aug 3 10:07:30 2005
+++ php-src/ext/mysqli/mysqli_exception.c Mon Dec 5 20:38:43 2005
@@ -30,7 +30,7 @@
/* {{{ mysqli_exception_methods[]
*/
-function_entry mysqli_exception_methods[] = {
+zend_function_entry mysqli_exception_methods[] = {
{NULL, NULL, NULL}
};
/* }}} */
http://cvs.php.net/diff.php/php-src/ext/mysqli/mysqli_fe.c?r1=1.50&r2=1.51&ty=u
Index: php-src/ext/mysqli/mysqli_fe.c
diff -u php-src/ext/mysqli/mysqli_fe.c:1.50 php-src/ext/mysqli/mysqli_fe.c:1.51
--- php-src/ext/mysqli/mysqli_fe.c:1.50 Tue Oct 18 06:01:08 2005
+++ php-src/ext/mysqli/mysqli_fe.c Mon Dec 5 20:38:43 2005
@@ -15,7 +15,7 @@
| Author: Georg Richter <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
- $Id: mysqli_fe.c,v 1.50 2005/10/18 10:01:08 tony2001 Exp $
+ $Id: mysqli_fe.c,v 1.51 2005/12/06 01:38:43 sniper Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -50,7 +50,7 @@
*
* Every user visible function must have an entry in mysqli_functions[].
*/
-function_entry mysqli_functions[] = {
+zend_function_entry mysqli_functions[] = {
PHP_FE(mysqli_affected_rows,
NULL)
PHP_FE(mysqli_autocommit,
NULL)
PHP_FE(mysqli_change_user,
NULL)
@@ -183,7 +183,7 @@
*
* Every user visible function must have an entry in mysqli_functions[].
*/
-function_entry mysqli_link_methods[] = {
+zend_function_entry mysqli_link_methods[] = {
PHP_FALIAS(autocommit,mysqli_autocommit,NULL)
PHP_FALIAS(change_user,mysqli_change_user,NULL)
PHP_FALIAS(character_set_name, mysqli_character_set_name,NULL)
@@ -244,7 +244,7 @@
*
* Every user visible function must have an entry in mysqli_result_functions[].
*/
-function_entry mysqli_result_methods[] = {
+zend_function_entry mysqli_result_methods[] = {
PHP_FALIAS(close,mysqli_free_result,NULL)
PHP_FALIAS(free,mysqli_free_result,NULL)
PHP_FALIAS(data_seek,mysqli_data_seek,NULL)
@@ -266,7 +266,7 @@
*
* Every user visible function must have an entry in mysqli_stmt_functions[].
*/
-function_entry mysqli_stmt_methods[] = {
+zend_function_entry mysqli_stmt_methods[] = {
PHP_FALIAS(attr_get,mysqli_stmt_attr_get,NULL)
PHP_FALIAS(attr_set,mysqli_stmt_attr_set,NULL)
PHP_FALIAS(bind_param,mysqli_stmt_bind_param,second_arg_force_by_ref_rest)
http://cvs.php.net/diff.php/php-src/ext/mysqli/mysqli_warning.c?r1=1.8&r2=1.9&ty=u
Index: php-src/ext/mysqli/mysqli_warning.c
diff -u php-src/ext/mysqli/mysqli_warning.c:1.8
php-src/ext/mysqli/mysqli_warning.c:1.9
--- php-src/ext/mysqli/mysqli_warning.c:1.8 Wed Oct 12 09:33:33 2005
+++ php-src/ext/mysqli/mysqli_warning.c Mon Dec 5 20:38:43 2005
@@ -211,7 +211,7 @@
}
/* }}} */
-function_entry mysqli_warning_methods[] = {
+zend_function_entry mysqli_warning_methods[] = {
PHP_ME(mysqli_warning, __construct, NULL,
ZEND_ACC_PROTECTED)
PHP_ME(mysqli_warning, next, NULL, ZEND_ACC_PUBLIC)
{NULL, NULL, NULL}
http://cvs.php.net/diff.php/php-src/ext/mysqli/php_mysqli.h?r1=1.56&r2=1.57&ty=u
Index: php-src/ext/mysqli/php_mysqli.h
diff -u php-src/ext/mysqli/php_mysqli.h:1.56
php-src/ext/mysqli/php_mysqli.h:1.57
--- php-src/ext/mysqli/php_mysqli.h:1.56 Tue Oct 18 09:51:20 2005
+++ php-src/ext/mysqli/php_mysqli.h Mon Dec 5 20:38:43 2005
@@ -15,7 +15,7 @@
| Author: Georg Richter <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
- $Id: php_mysqli.h,v 1.56 2005/10/18 13:51:20 tony2001 Exp $
+ $Id: php_mysqli.h,v 1.57 2005/12/06 01:38:43 sniper Exp $
*/
/* A little hack to prevent build break, when mysql is used together with
@@ -121,13 +121,13 @@
#define PHP_MYSQLI_EXPORT(__type) PHP_MYSQLI_API __type
extern zend_module_entry mysqli_module_entry;
-extern function_entry mysqli_functions[];
-extern function_entry mysqli_link_methods[];
-extern function_entry mysqli_stmt_methods[];
-extern function_entry mysqli_result_methods[];
-extern function_entry mysqli_driver_methods[];
-extern function_entry mysqli_warning_methods[];
-extern function_entry mysqli_exception_methods[];
+extern zend_function_entry mysqli_functions[];
+extern zend_function_entry mysqli_link_methods[];
+extern zend_function_entry mysqli_stmt_methods[];
+extern zend_function_entry mysqli_result_methods[];
+extern zend_function_entry mysqli_driver_methods[];
+extern zend_function_entry mysqli_warning_methods[];
+extern zend_function_entry mysqli_exception_methods[];
extern mysqli_property_entry mysqli_link_property_entries[];
extern mysqli_property_entry mysqli_result_property_entries[];
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php