summaryrefslogtreecommitdiff
path: root/include/sql_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sql_common.h')
-rw-r--r--include/sql_common.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/sql_common.h b/include/sql_common.h
index 875d5d5361f..cd32a77f86e 100644
--- a/include/sql_common.h
+++ b/include/sql_common.h
@@ -26,6 +26,9 @@ extern const char *unknown_sqlstate;
extern const char *cant_connect_sqlstate;
extern const char *not_error_sqlstate;
+
+struct mysql_async_context;
+
struct st_mysql_options_extention {
char *plugin_dir;
char *default_auth;
@@ -35,6 +38,7 @@ struct st_mysql_options_extention {
double progress,
const char *proc_info,
uint proc_info_length);
+ struct mysql_async_context *async_context;
};
typedef struct st_mysql_methods
@@ -108,6 +112,10 @@ void mysql_client_plugin_deinit();
struct st_mysql_client_plugin;
extern struct st_mysql_client_plugin *mysql_client_builtins[];
+/* Non-blocking client API. */
+void my_context_install_suspend_resume_hook(struct mysql_async_context *b,
+ void (*)(my_bool, void *), void *);
+
#ifdef __cplusplus
}
#endif