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 | f926a3c07dd958d3280d677c65de0f7aaf803e88 (patch) | |
tree | aa64cc3ea5e386964ac937f5ef2f65adbe028b0e /ext/mysqlnd/mysqlnd_reverse_api.c | |
parent | 8eb4386c87cd1d64ae8771a29d7590ec17a60948 (diff) | |
download | php-git-f926a3c07dd958d3280d677c65de0f7aaf803e88.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; } |