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