diff options
author | Andrey Hristov <andrey@php.net> | 2011-10-25 23:01:49 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2011-10-25 23:01:49 +0000 |
commit | 845d8fa10c30f68acf425e20a69d3f33fc565e41 (patch) | |
tree | de8a39dbc4aad0c5cd72cf687de48929132dac80 /ext/mysqlnd/mysqlnd_reverse_api.c | |
parent | 5e8bcbb08ac9b63ec33a69638ea6517a05a66bb6 (diff) | |
download | php-git-845d8fa10c30f68acf425e20a69d3f33fc565e41.tar.gz |
Move from directly referencing an aggregated structure to using a
pointer to a structure. The structure is still aggregated but we add
a level of indirection for possible plugins to overwrite the storage
Diffstat (limited to 'ext/mysqlnd/mysqlnd_reverse_api.c')
-rw-r--r-- | ext/mysqlnd/mysqlnd_reverse_api.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/ext/mysqlnd/mysqlnd_reverse_api.c b/ext/mysqlnd/mysqlnd_reverse_api.c index 8d0c5519ed..76c7db645a 100644 --- a/ext/mysqlnd/mysqlnd_reverse_api.c +++ b/ext/mysqlnd/mysqlnd_reverse_api.c @@ -13,20 +13,17 @@ | license@php.net so we can mail you a copy immediately. | +----------------------------------------------------------------------+ | Authors: Andrey Hristov <andrey@mysql.com> | - | Georg Richter <georg@mysql.com> | | Ulf Wendel <uwendel@mysql.com> | + | Georg Richter <georg@mysql.com> | +----------------------------------------------------------------------+ */ /* $Id: mysqlnd.c 317989 2011-10-10 20:49:28Z andrey $ */ #include "php.h" #include "mysqlnd.h" -#include "mysqlnd_wireprotocol.h" #include "mysqlnd_priv.h" -#include "mysqlnd_result.h" -#include "mysqlnd_statistics.h" -#include "mysqlnd_charset.h" #include "mysqlnd_debug.h" +#include "mysqlnd_reverse_api.h" static HashTable mysqlnd_api_ext_ht; @@ -52,7 +49,7 @@ mysqlnd_reverse_api_end(TSRMLS_D) /* {{{ myslqnd_get_api_extensions */ PHPAPI HashTable * -mysqlnd_reverse_api_get_api_list(TSRLMLS_D) +mysqlnd_reverse_api_get_api_list(TSRMLS_D) { return &mysqlnd_api_ext_ht; } |