MXS-2205 Convert modules/include/cdc.h to .hh
This commit is contained in:
@ -30,7 +30,7 @@
|
|||||||
#include <maxscale/authenticator.h>
|
#include <maxscale/authenticator.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <cdc.h>
|
#include <cdc.hh>
|
||||||
#include <maxscale/alloc.h>
|
#include <maxscale/alloc.h>
|
||||||
#include <maxscale/event.hh>
|
#include <maxscale/event.hh>
|
||||||
#include <maxscale/modulecmd.hh>
|
#include <maxscale/modulecmd.hh>
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#ifndef _CDC_H
|
|
||||||
#define _CDC_H
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2016 MariaDB Corporation Ab
|
* Copyright (c) 2016 MariaDB Corporation Ab
|
||||||
*
|
*
|
||||||
@ -14,27 +13,20 @@
|
|||||||
* Public License.
|
* Public License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
#include <maxscale/ccdefs.hh>
|
||||||
* Revision History
|
#include <errno.h>
|
||||||
*
|
|
||||||
* Date Who Description
|
|
||||||
* 11-01-2016 Massimiliano Pinto First Implementation
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <maxscale/cdefs.h>
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <maxscale/dcb.h>
|
|
||||||
#include <maxscale/buffer.h>
|
|
||||||
#include <maxscale/service.hh>
|
|
||||||
#include <maxscale/session.h>
|
|
||||||
#include <sys/ioctl.h>
|
|
||||||
#include <errno.h>
|
|
||||||
#include <sys/socket.h>
|
|
||||||
#include <netinet/in.h>
|
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
#include <maxscale/router.h>
|
#include <netinet/in.h>
|
||||||
|
#include <sys/ioctl.h>
|
||||||
|
#include <sys/socket.h>
|
||||||
|
#include <maxscale/dcb.h>
|
||||||
|
#include <maxscale/buffer.hh>
|
||||||
|
#include <maxscale/service.hh>
|
||||||
|
#include <maxscale/session.hh>
|
||||||
|
#include <maxscale/router.hh>
|
||||||
#include <maxscale/poll.h>
|
#include <maxscale/poll.h>
|
||||||
#include <maxbase/atomic.h>
|
#include <maxbase/atomic.h>
|
||||||
|
|
||||||
@ -88,5 +80,3 @@ typedef struct cdc_protocol
|
|||||||
extern int gw_hex2bin(uint8_t* out, const char* in, unsigned int len);
|
extern int gw_hex2bin(uint8_t* out, const char* in, unsigned int len);
|
||||||
|
|
||||||
MXS_END_DECLS
|
MXS_END_DECLS
|
||||||
|
|
||||||
#endif
|
|
@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
#define MXS_MODULE_NAME "CDC"
|
#define MXS_MODULE_NAME "CDC"
|
||||||
|
|
||||||
#include <cdc.h>
|
#include <cdc.hh>
|
||||||
#include <maxscale/alloc.h>
|
#include <maxscale/alloc.h>
|
||||||
#include <maxscale/modinfo.h>
|
#include <maxscale/modinfo.h>
|
||||||
#include <maxscale/log.h>
|
#include <maxscale/log.h>
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
#include <maxscale/service.hh>
|
#include <maxscale/service.hh>
|
||||||
#include <maxscale/mysql_binlog.h>
|
#include <maxscale/mysql_binlog.h>
|
||||||
#include <maxscale/users.h>
|
#include <maxscale/users.h>
|
||||||
#include <cdc.h>
|
#include <cdc.hh>
|
||||||
#include <maxavro.h>
|
#include <maxavro.h>
|
||||||
#include <binlog_common.h>
|
#include <binlog_common.h>
|
||||||
#include <maxscale/protocol/mysql.h>
|
#include <maxscale/protocol/mysql.h>
|
||||||
|
Reference in New Issue
Block a user