diff options
author | brian@zim.(none) <> | 2006-08-29 11:58:12 -0700 |
---|---|---|
committer | brian@zim.(none) <> | 2006-08-29 11:58:12 -0700 |
commit | 5c3ac45ca49bb9d8df3ef1be928c5d20b9bb2f0d (patch) | |
tree | d63e0e01901f429ba81e23e5fe6be125fb73d54c /sql/sql_plugin.h | |
parent | 7216b5bc7a64533634b234f521ee8ce9bf7c9417 (diff) | |
download | mariadb-git-5c3ac45ca49bb9d8df3ef1be928c5d20b9bb2f0d.tar.gz |
Re'ordering of startup. Fixed Execution path issues. Added function for de'initing everything. This includes Antony's suggestions (bk collapse uber alles!)
Diffstat (limited to 'sql/sql_plugin.h')
-rw-r--r-- | sql/sql_plugin.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sql/sql_plugin.h b/sql/sql_plugin.h index df7c9a39495..ed7ba36ac84 100644 --- a/sql/sql_plugin.h +++ b/sql/sql_plugin.h @@ -67,17 +67,14 @@ typedef int (*plugin_type_init)(struct st_plugin_int *); extern char *opt_plugin_dir_ptr; extern char opt_plugin_dir[FN_REFLEN]; extern const LEX_STRING plugin_type_names[]; -extern int plugin_init(void); -extern void plugin_load(void); -extern void plugin_free(void); +extern int plugin_init(int); +extern void plugin_shutdown(void); extern my_bool plugin_is_ready(const LEX_STRING *name, int type); extern st_plugin_int *plugin_lock(const LEX_STRING *name, int type); extern void plugin_unlock(struct st_plugin_int *plugin); extern my_bool mysql_install_plugin(THD *thd, const LEX_STRING *name, const LEX_STRING *dl); extern my_bool mysql_uninstall_plugin(THD *thd, const LEX_STRING *name); -extern my_bool plugin_register_builtin(struct st_mysql_plugin *plugin); - typedef my_bool (plugin_foreach_func)(THD *thd, st_plugin_int *plugin, void *arg); |