From 523471f7e838cd2c19ae758dfbb99930f820b529 Mon Sep 17 00:00:00 2001 From: Andrey Hristov Date: Tue, 15 Dec 2009 14:26:24 +0000 Subject: export this function --- ext/mysqlnd/mysqlnd.c | 2 +- ext/mysqlnd/mysqlnd.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/mysqlnd') 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) -- cgit v1.2.1