summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_priv.h
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2011-01-12 21:40:05 +0000
committerAndrey Hristov <andrey@php.net>2011-01-12 21:40:05 +0000
commit429e07bba242e99799300fa61b517af7cac24267 (patch)
tree36fd89941a21f712a200d589aaeef2632c440c74 /ext/mysqlnd/mysqlnd_priv.h
parent8e73b7080614b4e82177aa6faedb16b028f71937 (diff)
downloadphp-git-429e07bba242e99799300fa61b517af7cac24267.tar.gz
grok the MySQL 5.5 extended handshake.
Move the authentication routines, the native ones, to separate file and encapsulate them in a plugin. Depending on the server version and what the server requests (or doesn't in old versions) load the authentication plugin to handle it. Currently only the 4.1+ authentication is supported. More to come
Diffstat (limited to 'ext/mysqlnd/mysqlnd_priv.h')
-rw-r--r--ext/mysqlnd/mysqlnd_priv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqlnd/mysqlnd_priv.h b/ext/mysqlnd/mysqlnd_priv.h
index 968e0b11c8..f35862087d 100644
--- a/ext/mysqlnd/mysqlnd_priv.h
+++ b/ext/mysqlnd/mysqlnd_priv.h
@@ -192,7 +192,7 @@ void ps_fetch_from_1_to_8_bytes(zval *zv, const MYSQLND_FIELD * const field,
void mysqlnd_plugin_subsystem_init(TSRMLS_D);
void mysqlnd_plugin_subsystem_end(TSRMLS_D);
-
+void mysqlnd_native_authentication_plugin_register(TSRMLS_D);
void mysqlnd_example_plugin_register(TSRMLS_D);