Lines Matching refs:plugin
71 struct st_mysqlnd_typeii_plugin_example * plugin = (struct st_mysqlnd_typeii_plugin_example *) p; in mysqlnd_example_plugin_end() local
73 mysqlnd_stats_end(plugin->plugin_header.plugin_stats.values, 1); in mysqlnd_example_plugin_end()
74 plugin->plugin_header.plugin_stats.values = NULL; in mysqlnd_example_plugin_end()
138 PHPAPI unsigned int mysqlnd_plugin_register_ex(struct st_mysqlnd_plugin_header * plugin) in mysqlnd_plugin_register_ex() argument
140 if (plugin) { in mysqlnd_plugin_register_ex()
141 if (plugin->plugin_api_version == MYSQLND_PLUGIN_API_VERSION) { in mysqlnd_plugin_register_ex()
142 …ash_str_update_ptr(&mysqlnd_registered_plugins, plugin->plugin_name, strlen(plugin->plugin_name), … in mysqlnd_plugin_register_ex()
145 plugin->plugin_name, MYSQLND_PLUGIN_API_VERSION, plugin->plugin_api_version); in mysqlnd_plugin_register_ex()
157 void * plugin; in mysqlnd_plugin_find() local
158 if ((plugin = zend_hash_str_find_ptr(&mysqlnd_registered_plugins, name, strlen(name))) != NULL) { in mysqlnd_plugin_find()
159 return plugin; in mysqlnd_plugin_find()