MXS-2197 Rename all .h files under server to .hh
This commit is contained in:
@ -19,7 +19,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <maxscale/paths.h>
|
#include <maxscale/paths.h>
|
||||||
#include <maxscale/random.h>
|
#include <maxscale/random.h>
|
||||||
#include "internal/secrets.h"
|
#include "internal/secrets.hh"
|
||||||
|
|
||||||
#ifdef HAVE_GLIBC
|
#ifdef HAVE_GLIBC
|
||||||
struct option options[] =
|
struct option options[] =
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
#include <maxscale/random.h>
|
#include <maxscale/random.h>
|
||||||
#include <maxscale/alloc.h>
|
#include <maxscale/alloc.h>
|
||||||
|
|
||||||
#include "internal/secrets.h"
|
#include "internal/secrets.hh"
|
||||||
|
|
||||||
#ifdef HAVE_GLIBC
|
#ifdef HAVE_GLIBC
|
||||||
struct option options[] =
|
struct option options[] =
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
#include <maxscale/random.h>
|
#include <maxscale/random.h>
|
||||||
#include <maxscale/utils.h>
|
#include <maxscale/utils.h>
|
||||||
|
|
||||||
#include "internal/secrets.h"
|
#include "internal/secrets.hh"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generate a random printable character
|
* Generate a random printable character
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
#include <maxscale/routingworker.hh>
|
#include <maxscale/routingworker.hh>
|
||||||
|
|
||||||
#include "../dcb.cc"
|
#include "../dcb.cc"
|
||||||
#include "test_utils.h"
|
#include "test_utils.hh"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* test1 Allocate a dcb and do lots of other things
|
* test1 Allocate a dcb and do lots of other things
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
#include <maxscale/listener.hh>
|
#include <maxscale/listener.hh>
|
||||||
#include <maxscale/service.hh>
|
#include <maxscale/service.hh>
|
||||||
|
|
||||||
#include "test_utils.h"
|
#include "test_utils.hh"
|
||||||
#include "../internal/service.hh"
|
#include "../internal/service.hh"
|
||||||
#include "../internal/session.hh"
|
#include "../internal/session.hh"
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
#include <maxscale/alloc.h>
|
#include <maxscale/alloc.h>
|
||||||
|
|
||||||
#include "../internal/service.hh"
|
#include "../internal/service.hh"
|
||||||
#include "test_utils.h"
|
#include "test_utils.hh"
|
||||||
#include "../config.cc"
|
#include "../config.cc"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#ifndef TEST_UTILS_H
|
|
||||||
#define TEST_UTILS_H
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2016 MariaDB Corporation Ab
|
* Copyright (c) 2016 MariaDB Corporation Ab
|
||||||
*
|
*
|
||||||
@ -14,7 +12,7 @@
|
|||||||
* Public License.
|
* Public License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <maxscale/cdefs.h>
|
#include <maxscale/ccdefs.hh>
|
||||||
#include <maxbase/maxbase.hh>
|
#include <maxbase/maxbase.hh>
|
||||||
#include <maxscale/dcb.hh>
|
#include <maxscale/dcb.hh>
|
||||||
#include <maxscale/housekeeper.h>
|
#include <maxscale/housekeeper.h>
|
||||||
@ -66,5 +64,3 @@ void init_test_env(char* __attribute((unused)) path = nullptr, uint32_t init_typ
|
|||||||
preload_module("readconnroute", "server/modules/routing/readconnroute/", MODULE_ROUTER);
|
preload_module("readconnroute", "server/modules/routing/readconnroute/", MODULE_ROUTER);
|
||||||
preload_module("mysqlauth", "/server/modules/authenticator/MySQLAuth/", MODULE_AUTHENTICATOR);
|
preload_module("mysqlauth", "/server/modules/authenticator/MySQLAuth/", MODULE_AUTHENTICATOR);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
@ -20,7 +20,7 @@
|
|||||||
#include <maxscale/mock/session.hh>
|
#include <maxscale/mock/session.hh>
|
||||||
#include "../cachefilter.hh"
|
#include "../cachefilter.hh"
|
||||||
|
|
||||||
#include "../../../../core/test/test_utils.h"
|
#include "../../../../core/test/test_utils.hh"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using maxscale::FilterModule;
|
using maxscale::FilterModule;
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
#include <maxscale/mock/client.hh>
|
#include <maxscale/mock/client.hh>
|
||||||
#include "tempfile.hh"
|
#include "tempfile.hh"
|
||||||
|
|
||||||
#include "../../../../core/test/test_utils.h"
|
#include "../../../../core/test/test_utils.hh"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using maxscale::FilterModule;
|
using maxscale::FilterModule;
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
* @endverbatim
|
* @endverbatim
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "maxinfo.h"
|
#include "maxinfo.hh"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
* @endverbatim
|
* @endverbatim
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "maxinfo.h"
|
#include "maxinfo.hh"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
* @endverbatim
|
* @endverbatim
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "maxinfo.h"
|
#include "maxinfo.hh"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
* @endverbatim
|
* @endverbatim
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "maxinfo.h"
|
#include "maxinfo.hh"
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
Reference in New Issue
Block a user