MXS-2197 Rename all module include files from .h to .hh
This commit is contained in:
parent
c0c9a9858d
commit
dc8c2f27f7
@ -25,7 +25,7 @@
|
||||
#include <maxscale/sqlite3.h>
|
||||
#include <maxscale/users.h>
|
||||
|
||||
#include "../gssapi_auth.h"
|
||||
#include "../gssapi_auth.hh"
|
||||
|
||||
/**
|
||||
* MySQL queries for retrieving the list of users
|
||||
|
@ -20,7 +20,7 @@
|
||||
#include <maxscale/protocol/mysql.hh>
|
||||
#include <maxscale/server.hh>
|
||||
|
||||
#include "../gssapi_auth.h"
|
||||
#include "../gssapi_auth.hh"
|
||||
|
||||
/**
|
||||
* @file gssapi_backend_auth.c - GSSAPI backend authenticator
|
||||
|
@ -1,6 +1,4 @@
|
||||
#pragma once
|
||||
#ifndef _GSSAPI_AUTH_H
|
||||
#define _GSSAPI_AUTH_H
|
||||
/*
|
||||
* Copyright (c) 2016 MariaDB Corporation Ab
|
||||
*
|
||||
@ -51,5 +49,3 @@ typedef struct gssapi_auth
|
||||
void report_error(OM_uint32 major, OM_uint32 minor);
|
||||
|
||||
MXS_END_DECLS
|
||||
|
||||
#endif
|
@ -11,7 +11,7 @@
|
||||
* Public License.
|
||||
*/
|
||||
|
||||
#include "gssapi_auth.h"
|
||||
#include "gssapi_auth.hh"
|
||||
#include <maxscale/alloc.h>
|
||||
|
||||
/**
|
||||
|
@ -18,7 +18,7 @@
|
||||
#include <maxscale/alloc.h>
|
||||
#include <maxscale/modinfo.h>
|
||||
#include <maxscale/modutil.hh>
|
||||
#include "mysqlhint.h"
|
||||
#include "mysqlhint.hh"
|
||||
|
||||
/**
|
||||
* hintfilter.c - a filter to parse the MaxScale hint syntax and attach those
|
||||
|
@ -19,7 +19,7 @@
|
||||
#include <maxscale/filter.hh>
|
||||
#include <maxscale/modinfo.h>
|
||||
#include <maxscale/modutil.hh>
|
||||
#include "mysqlhint.h"
|
||||
#include "mysqlhint.hh"
|
||||
#include <maxscale/alloc.h>
|
||||
|
||||
/**
|
||||
|
@ -1,6 +1,4 @@
|
||||
#pragma once
|
||||
#ifndef _MYSQLHINT_H
|
||||
#define _MYSQLHINT_H
|
||||
/*
|
||||
* Copyright (c) 2016 MariaDB Corporation Ab
|
||||
*
|
||||
@ -14,14 +12,7 @@
|
||||
* Public License.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Revision History
|
||||
*
|
||||
* Date Who Description
|
||||
* 17-07-2014 Mark Riddoch Initial implementation
|
||||
*/
|
||||
|
||||
#include <maxscale/cdefs.h>
|
||||
#include <maxscale/ccdefs.hh>
|
||||
#include <maxscale/hint.h>
|
||||
|
||||
MXS_BEGIN_DECLS
|
||||
@ -118,5 +109,3 @@ NAMEDHINTS* free_named_hint(NAMEDHINTS* named_hint);
|
||||
HINTSTACK* free_hint_stack(HINTSTACK* hint_stack);
|
||||
|
||||
MXS_END_DECLS
|
||||
|
||||
#endif
|
@ -15,9 +15,7 @@
|
||||
* @file maxrows.c - Result set limit Filter
|
||||
*/
|
||||
|
||||
#define MXS_MODULE_NAME "maxrows"
|
||||
|
||||
#include <maxscale/ccdefs.hh>
|
||||
#include "maxrows.hh"
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
@ -34,8 +32,6 @@
|
||||
#include <maxscale/protocol/mysql.hh>
|
||||
#include <maxscale/query_classifier.h>
|
||||
|
||||
#include "maxrows.h"
|
||||
|
||||
static MXS_FILTER* createInstance(const char* name, MXS_CONFIG_PARAMETER*);
|
||||
static MXS_FILTER_SESSION* newSession(MXS_FILTER* instance,
|
||||
MXS_SESSION* session);
|
||||
|
@ -12,6 +12,10 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#define MXS_MODULE_NAME "maxrows"
|
||||
|
||||
#include <maxscale/ccdefs.hh>
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
MXS_BEGIN_DECLS
|
@ -1,6 +1,4 @@
|
||||
#pragma once
|
||||
#ifndef _BINLOG_COMMON_H
|
||||
#define _BINLOG_COMMON_H
|
||||
/*
|
||||
* Copyright (c) 2016 MariaDB Corporation Ab
|
||||
*
|
||||
@ -57,5 +55,3 @@ static inline REP_HEADER construct_header(uint8_t* ptr)
|
||||
}
|
||||
|
||||
MXS_END_DECLS
|
||||
|
||||
#endif /* BINLOG_COMMON_H */
|
@ -1,6 +1,4 @@
|
||||
#pragma once
|
||||
#ifndef _BLR_DEFINES_H
|
||||
#define _BLR_DEFINES_H
|
||||
/*
|
||||
* Copyright (c) 2016 MariaDB Corporation Ab
|
||||
*
|
||||
@ -16,15 +14,9 @@
|
||||
|
||||
/**
|
||||
* @file blr_defines.h - Various definitions for binlogrouter
|
||||
*
|
||||
* @verbatim
|
||||
* Revision History
|
||||
*
|
||||
* 26/04/16 Massimiliano Pinto Added MariaDB 10.0 and 10.1 GTID event flags detection
|
||||
* @endverbatim
|
||||
*/
|
||||
|
||||
#include <maxscale/cdefs.h>
|
||||
#include <maxscale/ccdefs.hh>
|
||||
|
||||
MXS_BEGIN_DECLS
|
||||
|
||||
@ -176,5 +168,3 @@ MXS_BEGIN_DECLS
|
||||
#define MARIADB_FL_STANDALONE 1
|
||||
|
||||
MXS_END_DECLS
|
||||
|
||||
#endif
|
@ -1,6 +1,4 @@
|
||||
#pragma once
|
||||
#ifndef _DEBUGCLI_H
|
||||
#define _DEBUGCLI_H
|
||||
/*
|
||||
*
|
||||
* Copyright (c) 2016 MariaDB Corporation Ab
|
||||
@ -17,17 +15,9 @@
|
||||
|
||||
/**
|
||||
* @file debugcli.h The debug interface to the gateway
|
||||
*
|
||||
* @verbatim
|
||||
* Revision History
|
||||
*
|
||||
* Date Who Description
|
||||
* 18/06/13 Mark Riddoch Initial implementation
|
||||
*
|
||||
* @endverbatim
|
||||
*/
|
||||
|
||||
#include <maxscale/cdefs.h>
|
||||
#include <maxscale/ccdefs.hh>
|
||||
#include <maxscale/service.hh>
|
||||
#include <maxscale/session.hh>
|
||||
|
||||
@ -64,5 +54,3 @@ typedef struct cli_session
|
||||
} CLI_SESSION;
|
||||
|
||||
MXS_END_DECLS
|
||||
|
||||
#endif
|
@ -1,6 +1,4 @@
|
||||
#pragma once
|
||||
#ifndef _TELNETD_H
|
||||
#define _TELNETD_H
|
||||
/*
|
||||
* Copyright (c) 2016 MariaDB Corporation Ab
|
||||
*
|
||||
@ -16,17 +14,9 @@
|
||||
|
||||
/**
|
||||
* @file telnetd.h The telnetd protocol module header file
|
||||
*
|
||||
* @verbatim
|
||||
* Revision History
|
||||
*
|
||||
* Date Who Description
|
||||
* 17/07/13 Mark Riddoch Initial implementation
|
||||
*
|
||||
* @endverbatim
|
||||
*/
|
||||
|
||||
#include <maxscale/cdefs.h>
|
||||
#include <maxscale/ccdefs.hh>
|
||||
#include <maxscale/dcb.hh>
|
||||
#include <maxscale/housekeeper.h>
|
||||
|
||||
@ -65,5 +55,3 @@ typedef struct telnetd
|
||||
#define TELNET_SUPPRESS_GO_AHEAD 3
|
||||
|
||||
MXS_END_DECLS
|
||||
|
||||
#endif
|
@ -36,7 +36,7 @@
|
||||
#include <maxbase/atomic.h>
|
||||
#include <maxscale/adminusers.h>
|
||||
#include <maxscale/modinfo.h>
|
||||
#include "maxscaled.h"
|
||||
#include "maxscaled.hh"
|
||||
#include <maxscale/maxadmin.h>
|
||||
#include <maxscale/alloc.h>
|
||||
|
||||
|
@ -1,6 +1,4 @@
|
||||
#pragma once
|
||||
#ifndef _MAXSCALED_H
|
||||
#define _MAXSCALED_H
|
||||
/*
|
||||
* Copyright (c) 2016 MariaDB Corporation Ab
|
||||
*
|
||||
@ -16,15 +14,8 @@
|
||||
|
||||
/**
|
||||
* @file maxscaled.h The maxscaled protocol module header file
|
||||
*
|
||||
* @verbatim
|
||||
* Revision History
|
||||
*
|
||||
* Date Who Description
|
||||
* 13/06/14 Mark Riddoch Initial implementation
|
||||
*
|
||||
* @endverbatim
|
||||
*/
|
||||
#include <maxscale/ccdefs.hh>
|
||||
#include <maxscale/dcb.hh>
|
||||
#include <maxscale/housekeeper.h>
|
||||
|
||||
@ -45,5 +36,3 @@ typedef struct maxscaled
|
||||
#define MAXSCALED_STATE_DATA 3 /**< User logged in */
|
||||
|
||||
MXS_END_DECLS
|
||||
|
||||
#endif
|
@ -32,7 +32,7 @@
|
||||
#include <maxscale/router.hh>
|
||||
#include <maxscale/poll.hh>
|
||||
#include <maxbase/atomic.h>
|
||||
#include <telnetd.h>
|
||||
#include <telnetd.hh>
|
||||
#include <maxscale/adminusers.h>
|
||||
#include <maxscale/modinfo.h>
|
||||
|
||||
|
@ -43,7 +43,7 @@
|
||||
#include <maxscale/utils.hh>
|
||||
#include <maxscale/pcre2.h>
|
||||
#include <maxscale/routingworker.hh>
|
||||
#include <binlog_common.h>
|
||||
#include <binlog_common.hh>
|
||||
|
||||
#include "avro_converter.hh"
|
||||
|
||||
|
@ -25,8 +25,8 @@
|
||||
#include "avrorouter.hh"
|
||||
#include <maxscale/query_classifier.h>
|
||||
|
||||
#include <binlog_common.h>
|
||||
#include <blr_constants.h>
|
||||
#include <binlog_common.hh>
|
||||
#include <blr_constants.hh>
|
||||
#include <glob.h>
|
||||
#include <ini.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -38,7 +38,7 @@
|
||||
#include <maxscale/service.hh>
|
||||
#include <maxscale/utils.h>
|
||||
#include <maxscale/routingworker.hh>
|
||||
#include <binlog_common.h>
|
||||
#include <binlog_common.hh>
|
||||
|
||||
#include "avro_converter.hh"
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
#define MXS_MODULE_NAME "avrorouter"
|
||||
|
||||
#include <maxscale/cdefs.h>
|
||||
#include <maxscale/ccdefs.hh>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <string>
|
||||
@ -26,9 +26,9 @@
|
||||
#include <maxscale/users.h>
|
||||
#include <cdc.hh>
|
||||
#include <maxavro.h>
|
||||
#include <binlog_common.h>
|
||||
#include <binlog_common.hh>
|
||||
#include <maxscale/protocol/mysql.hh>
|
||||
#include <blr_constants.h>
|
||||
#include <blr_constants.hh>
|
||||
|
||||
#include "rpl.hh"
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
#include <maxscale/pcre2.h>
|
||||
#include <maxscale/service.hh>
|
||||
#include <binlog_common.h>
|
||||
#include <binlog_common.hh>
|
||||
|
||||
typedef std::vector<uint8_t> Bytes;
|
||||
|
||||
|
@ -11,13 +11,13 @@
|
||||
* Public License.
|
||||
*/
|
||||
|
||||
#include <binlog_common.hh>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <limits.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include <binlog_common.h>
|
||||
#include <blr_constants.h>
|
||||
#include <blr_constants.hh>
|
||||
#include <maxscale/log.hh>
|
||||
|
||||
/**
|
||||
|
@ -27,7 +27,7 @@
|
||||
|
||||
#define MXS_MODULE_NAME "cli"
|
||||
|
||||
#include <debugcli.h>
|
||||
#include <debugcli.hh>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
@ -26,7 +26,7 @@
|
||||
|
||||
#define MXS_MODULE_NAME "debugcli"
|
||||
|
||||
#include <debugcli.h>
|
||||
#include <debugcli.hh>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
@ -33,7 +33,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/syslog.h>
|
||||
#include <telnetd.h>
|
||||
#include <telnetd.hh>
|
||||
|
||||
#include <maxbase/atomic.h>
|
||||
#include <maxscale/adminusers.h>
|
||||
@ -54,7 +54,7 @@
|
||||
#include <maxscale/utils.h>
|
||||
#include <maxscale/version.h>
|
||||
|
||||
#include <debugcli.h>
|
||||
#include <debugcli.hh>
|
||||
|
||||
#include "../../../core/internal/config.hh"
|
||||
#include "../../../core/internal/config_runtime.hh"
|
||||
|
Loading…
x
Reference in New Issue
Block a user