MXS-2205 Convert modulecmd.h to .hh
This commit is contained in:
parent
3e5818fcb6
commit
35cdbc7220
@ -19,7 +19,7 @@ The following example registers the module command _my_command_ for module
|
||||
_my_module_.
|
||||
|
||||
```
|
||||
#include <maxscale/modulecmd.h>
|
||||
#include <maxscale/modulecmd.hh>
|
||||
|
||||
bool my_simple_cmd(const MODULECMD_ARG *argv)
|
||||
{
|
||||
|
@ -43,7 +43,7 @@
|
||||
#include <maxscale/buffer.h>
|
||||
#include <maxscale/dcb.h>
|
||||
#include <maxscale/modinfo.h>
|
||||
#include <maxscale/modulecmd.h>
|
||||
#include <maxscale/modulecmd.hh>
|
||||
#include <maxscale/modutil.h>
|
||||
#include <maxscale/protocol/mysql.h>
|
||||
#include <maxscale/query_classifier.h>
|
||||
|
@ -13,7 +13,7 @@
|
||||
#pragma once
|
||||
|
||||
/**
|
||||
* @file module_command.h Module driven commands
|
||||
* @file module_command.hh Module driven commands
|
||||
*
|
||||
* This header describes the structures and functions used to register new
|
||||
* functions for modules. It allows modules to introduce custom commands that
|
||||
@ -22,14 +22,14 @@
|
||||
* same functionality again.
|
||||
*/
|
||||
|
||||
#include <maxscale/cdefs.h>
|
||||
#include <maxscale/ccdefs.hh>
|
||||
#include <maxbase/jansson.h>
|
||||
#include <maxscale/dcb.h>
|
||||
#include <maxscale/filter.h>
|
||||
#include <maxscale/monitor.h>
|
||||
#include <maxscale/server.h>
|
||||
#include <maxscale/filter.hh>
|
||||
#include <maxscale/monitor.hh>
|
||||
#include <maxscale/server.hh>
|
||||
#include <maxscale/service.hh>
|
||||
#include <maxscale/session.h>
|
||||
#include <maxscale/session.hh>
|
||||
|
||||
MXS_BEGIN_DECLS
|
||||
|
@ -30,7 +30,7 @@
|
||||
#include <maxscale/paths.h>
|
||||
#include <maxscale/alloc.h>
|
||||
#include <maxscale/json_api.h>
|
||||
#include <maxscale/modulecmd.h>
|
||||
#include <maxscale/modulecmd.hh>
|
||||
#include <maxscale/protocol.h>
|
||||
#include <maxscale/router.h>
|
||||
#include <maxscale/filter.h>
|
||||
|
@ -11,7 +11,7 @@
|
||||
* Public License.
|
||||
*/
|
||||
|
||||
#include <maxscale/modulecmd.h>
|
||||
#include <maxscale/modulecmd.hh>
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include <maxscale/http.hh>
|
||||
#include <maxscale/jansson.hh>
|
||||
#include <maxscale/json_api.h>
|
||||
#include <maxscale/modulecmd.h>
|
||||
#include <maxscale/modulecmd.hh>
|
||||
#include <maxscale/server.hh>
|
||||
#include <maxscale/routingworker.hh>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
#include <maxscale/alloc.h>
|
||||
#include <maxscale/dcb.h>
|
||||
#include <maxscale/paths.h>
|
||||
#include <maxscale/modulecmd.h>
|
||||
#include <maxscale/modulecmd.hh>
|
||||
#include <maxscale/session.h>
|
||||
#include <maxscale/json_api.h>
|
||||
|
||||
|
@ -33,7 +33,7 @@
|
||||
#include <cdc.h>
|
||||
#include <maxscale/alloc.h>
|
||||
#include <maxscale/event.hh>
|
||||
#include <maxscale/modulecmd.h>
|
||||
#include <maxscale/modulecmd.hh>
|
||||
#include <maxscale/modutil.h>
|
||||
#include <maxscale/paths.h>
|
||||
#include <maxscale/secrets.h>
|
||||
|
2
server/modules/filter/cache/cachefilter.cc
vendored
2
server/modules/filter/cache/cachefilter.cc
vendored
@ -16,7 +16,7 @@
|
||||
|
||||
#include <maxscale/alloc.h>
|
||||
#include <maxscale/jansson.hh>
|
||||
#include <maxscale/modulecmd.h>
|
||||
#include <maxscale/modulecmd.hh>
|
||||
#include <maxscale/paths.h>
|
||||
#include <maxscale/utils.h>
|
||||
|
||||
|
@ -70,7 +70,7 @@
|
||||
#include <map>
|
||||
|
||||
#include <maxbase/atomic.h>
|
||||
#include <maxscale/modulecmd.h>
|
||||
#include <maxscale/modulecmd.hh>
|
||||
#include <maxscale/modutil.h>
|
||||
#include <maxscale/log.h>
|
||||
#include <maxscale/protocol/mysql.h>
|
||||
|
@ -15,7 +15,7 @@
|
||||
#include "maskingfilter.hh"
|
||||
|
||||
#include <maxscale/json_api.h>
|
||||
#include <maxscale/modulecmd.h>
|
||||
#include <maxscale/modulecmd.hh>
|
||||
#include <maxscale/paths.h>
|
||||
#include <maxscale/utils.h>
|
||||
|
||||
|
@ -46,7 +46,7 @@
|
||||
#include <maxscale/pcre2.h>
|
||||
#include <maxscale/service.hh>
|
||||
#include <maxscale/utils.h>
|
||||
#include <maxscale/modulecmd.h>
|
||||
#include <maxscale/modulecmd.hh>
|
||||
#include <maxscale/json_api.h>
|
||||
|
||||
using std::string;
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include <maxscale/alloc.h>
|
||||
#include <maxscale/modinfo.h>
|
||||
#include <maxscale/log.h>
|
||||
#include <maxscale/modulecmd.h>
|
||||
#include <maxscale/modulecmd.hh>
|
||||
|
||||
#include "tee.hh"
|
||||
#include "teesession.hh"
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include <maxbase/format.hh>
|
||||
#include <maxscale/alloc.h>
|
||||
#include <maxscale/dcb.h>
|
||||
#include <maxscale/modulecmd.h>
|
||||
#include <maxscale/modulecmd.hh>
|
||||
#include <maxscale/mysql_utils.hh>
|
||||
#include <maxscale/routingworker.h>
|
||||
#include <maxscale/secrets.h>
|
||||
|
@ -33,7 +33,7 @@
|
||||
#include <maxscale/alloc.h>
|
||||
#include <maxscale/dcb.h>
|
||||
#include <maxscale/log.h>
|
||||
#include <maxscale/modulecmd.h>
|
||||
#include <maxscale/modulecmd.hh>
|
||||
#include <maxscale/paths.h>
|
||||
#include <maxscale/protocol/mysql.h>
|
||||
#include <maxscale/random.h>
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include <maxscale/alloc.h>
|
||||
#include <maxscale/dcb.h>
|
||||
#include <maxscale/log.h>
|
||||
#include <maxscale/modulecmd.h>
|
||||
#include <maxscale/modulecmd.hh>
|
||||
#include <maxscale/paths.h>
|
||||
#include <maxscale/protocol/mysql.h>
|
||||
#include <maxscale/random.h>
|
||||
|
@ -45,7 +45,7 @@
|
||||
#include <maxscale/housekeeper.h>
|
||||
#include <maxscale/log.h>
|
||||
#include <maxscale/maxscale.h>
|
||||
#include <maxscale/modulecmd.h>
|
||||
#include <maxscale/modulecmd.hh>
|
||||
#include <maxscale/router.h>
|
||||
#include <maxscale/routingworker.hh>
|
||||
#include <maxscale/server.hh>
|
||||
|
Loading…
x
Reference in New Issue
Block a user