Rename GWPROTOCOL to MXS_PROTOCOL

This commit is contained in:
Johan Wikman
2017-01-05 10:28:24 +02:00
parent 19ce28a43a
commit 2abe956056
12 changed files with 30 additions and 39 deletions

View File

@ -87,7 +87,7 @@ static int gw_send_change_user_to_backend(char *dbname,
*/
MXS_MODULE* MXS_CREATE_MODULE()
{
static GWPROTOCOL MyObject =
static MXS_PROTOCOL MyObject =
{
gw_read_backend_event, /* Read - EPOLLIN handler */
gw_MySQLWrite_backend, /* Write - data from gateway */
@ -108,7 +108,7 @@ MXS_MODULE* MXS_CREATE_MODULE()
{
MXS_MODULE_API_PROTOCOL,
MXS_MODULE_GA,
GWPROTOCOL_VERSION,
MXS_PROTOCOL_VERSION,
"The MySQL to backend server protocol",
"V2.0.0",
&MyObject

View File

@ -95,7 +95,7 @@ static void gw_process_one_new_client(DCB *client_dcb);
*/
MXS_MODULE* MXS_CREATE_MODULE()
{
static GWPROTOCOL MyObject =
static MXS_PROTOCOL MyObject =
{
gw_read_client_event, /* Read - EPOLLIN handler */
gw_MySQLWrite_client, /* Write - data from gateway */
@ -116,7 +116,7 @@ MXS_MODULE* MXS_CREATE_MODULE()
{
MXS_MODULE_API_PROTOCOL,
MXS_MODULE_GA,
GWPROTOCOL_VERSION,
MXS_PROTOCOL_VERSION,
"The client to MaxScale MySQL protocol implementation",
"V1.1.0",
&MyObject