diff options
author | Andrey Hristov <andrey@php.net> | 2009-12-15 14:26:24 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2009-12-15 14:26:24 +0000 |
commit | 523471f7e838cd2c19ae758dfbb99930f820b529 (patch) | |
tree | 255336d9b17303c9e29c5bc9c2f3b13665660bfe /ext/mysqlnd | |
parent | 0371ef1070e32c8dda6c42e0d083ce81c975724d (diff) | |
download | php-git-523471f7e838cd2c19ae758dfbb99930f820b529.tar.gz |
export this function
Diffstat (limited to 'ext/mysqlnd')
-rw-r--r-- | ext/mysqlnd/mysqlnd.c | 2 | ||||
-rw-r--r-- | ext/mysqlnd/mysqlnd.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/mysqlnd/mysqlnd.c b/ext/mysqlnd/mysqlnd.c index 589b9a0ffa..b63209dfec 100644 --- a/ext/mysqlnd/mysqlnd.c +++ b/ext/mysqlnd/mysqlnd.c @@ -2224,7 +2224,7 @@ PHPAPI unsigned int mysqlnd_plugin_register() /* {{{ mysqlnd_plugin_count */ -unsigned int mysqlnd_plugin_count() +PHPAPI unsigned int mysqlnd_plugin_count() { return mysqlnd_plugins_counter; } diff --git a/ext/mysqlnd/mysqlnd.h b/ext/mysqlnd/mysqlnd.h index 3360637662..8b0e01f40c 100644 --- a/ext/mysqlnd/mysqlnd.h +++ b/ext/mysqlnd/mysqlnd.h @@ -64,7 +64,7 @@ void mysqlnd_library_init(TSRMLS_D); void mysqlnd_library_end(TSRMLS_D); PHPAPI unsigned int mysqlnd_plugin_register(); -unsigned int mysqlnd_plugin_count(); +PHPAPI unsigned int mysqlnd_plugin_count(); PHPAPI void ** _mysqlnd_plugin_get_plugin_connection_data(const MYSQLND * conn, unsigned int plugin_id TSRMLS_DC); #define mysqlnd_plugin_get_plugin_connection_data(c, p_id) _mysqlnd_plugin_get_plugin_connection_data((c), (p_id) TSRMLS_CC) |