MySQL 5.6.14 Source Code Document
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
MySQL 5.6.14 Source Code Document
replication of field metadata works.
ndbapi_simple.cpp
ndbapi_async.cpp
ndbapi_async1.cpp
ndbapi_retries.cpp
ndbapi_simple_index.cpp
ndbapi_scan.cpp
ndbapi_event.cpp
Adaptive Send Algorithm
MySQL Cluster Concepts
basic.cpp
common.hpp
br_test.cpp
ptr_binding_test.cpp
The Performance Schema main page
Performance schema: instrumentation interface page.
Performance schema: the aggregates page.
Todo List
Deprecated List
Modules
Namespaces
Classes
Files
File List
client
cmake
cmd-line-utils
dbug
extra
include
libevent
libmysql
libmysqld
libservices
mysql-test
mysys
mysys_ssl
packaging
plugin
audit_null
auth
daemon_example
fulltext
innodb_memcached
daemon_memcached
daemon
engines
extensions
include
memcached
callback.h
config_parser.h
engine.h
engine_common.h
engine_testapp.h
extension.h
extension_loggers.h
genhash.h
protocol_binary.h
protocol_plugin.h
server_api.h
types.h
util.h
vbucket.h
visibility.h
programs
testsuite
utilities
win32
config.h
config_static.h
trace.h
innodb_memcache
password_validation
semisync
regex
scripts
sql
sql-common
storage
strings
support-files
tests
unittest
vio
zlib
File Members
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
protocol_plugin.h
1
/*
2
* Protocol plugin defintions.
3
*/
4
5
#ifndef PROTOCOL_PLUGIN_H
6
#define PROTOCOL_PLUGIN_H 1
7
21
typedef
void (*
cb_responder
)(responder_ctx *responder_data,
22
protocol_binary_response_header
*hdr,
23
char
*data,
24
size_t
data_len);
25
29
typedef
int
connection_id
;
30
34
enum
plugin_cb_result
{
35
cb_done
,
36
cb_defer
,
37
cb_hangup
,
38
};
39
53
typedef
enum
plugin_cb_result
(*
plugin_cb
)(
void
*userdata,
54
connection_id
conn_id,
55
cb_responder
responder,
56
responder_ctx *responder_data,
57
protocol_binary_response_header
*hdr,
58
char
*data,
59
size_t
data_len);
60
64
enum
plugin_cb_state
{
65
cb_connected
,
66
cb_disconnected
67
};
68
76
typedef
void (*
plugin_conn_observer
)(
void
*userdata,
77
enum
plugin_cb_state
state,
78
connection_id
conn_id);
79
87
void
plugin_register_callback
(uint8_t cmd_id,
88
plugin_cb
callback,
89
void
*userdata);
90
98
void
plugin_get_callback
(int8_t cmd_id,
99
plugin_cb
*current_callback,
100
void
**current_userdata);
101
108
void
plugin_register_conn_observer
(
void
*userdata,
109
plugin_conn_observer
obs);
110
116
void
plugin_unregister_conn_observer
(
plugin_conn_observer
obs);
117
122
#endif PROTOCOL_PLUGIN_H
plugin
innodb_memcached
daemon_memcached
include
memcached
protocol_plugin.h
Generated on Sat Nov 9 2013 01:25:12 for MySQL 5.6.14 Source Code Document by
1.8.1.2