MXS-2205 Convert modulecmd.h to .hh

This commit is contained in:
Esa Korhonen
2018-12-03 11:36:50 +02:00
parent 3e5818fcb6
commit 35cdbc7220
17 changed files with 22 additions and 22 deletions

View File

@ -19,7 +19,7 @@ The following example registers the module command _my_command_ for module
_my_module_. _my_module_.
``` ```
#include <maxscale/modulecmd.h> #include <maxscale/modulecmd.hh>
bool my_simple_cmd(const MODULECMD_ARG *argv) bool my_simple_cmd(const MODULECMD_ARG *argv)
{ {

View File

@ -43,7 +43,7 @@
#include <maxscale/buffer.h> #include <maxscale/buffer.h>
#include <maxscale/dcb.h> #include <maxscale/dcb.h>
#include <maxscale/modinfo.h> #include <maxscale/modinfo.h>
#include <maxscale/modulecmd.h> #include <maxscale/modulecmd.hh>
#include <maxscale/modutil.h> #include <maxscale/modutil.h>
#include <maxscale/protocol/mysql.h> #include <maxscale/protocol/mysql.h>
#include <maxscale/query_classifier.h> #include <maxscale/query_classifier.h>

View File

@ -13,7 +13,7 @@
#pragma once #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 * This header describes the structures and functions used to register new
* functions for modules. It allows modules to introduce custom commands that * functions for modules. It allows modules to introduce custom commands that
@ -22,14 +22,14 @@
* same functionality again. * same functionality again.
*/ */
#include <maxscale/cdefs.h> #include <maxscale/ccdefs.hh>
#include <maxbase/jansson.h> #include <maxbase/jansson.h>
#include <maxscale/dcb.h> #include <maxscale/dcb.h>
#include <maxscale/filter.h> #include <maxscale/filter.hh>
#include <maxscale/monitor.h> #include <maxscale/monitor.hh>
#include <maxscale/server.h> #include <maxscale/server.hh>
#include <maxscale/service.hh> #include <maxscale/service.hh>
#include <maxscale/session.h> #include <maxscale/session.hh>
MXS_BEGIN_DECLS MXS_BEGIN_DECLS

View File

@ -30,7 +30,7 @@
#include <maxscale/paths.h> #include <maxscale/paths.h>
#include <maxscale/alloc.h> #include <maxscale/alloc.h>
#include <maxscale/json_api.h> #include <maxscale/json_api.h>
#include <maxscale/modulecmd.h> #include <maxscale/modulecmd.hh>
#include <maxscale/protocol.h> #include <maxscale/protocol.h>
#include <maxscale/router.h> #include <maxscale/router.h>
#include <maxscale/filter.h> #include <maxscale/filter.h>

View File

@ -11,7 +11,7 @@
* Public License. * Public License.
*/ */
#include <maxscale/modulecmd.h> #include <maxscale/modulecmd.hh>
#include <string> #include <string>

View File

@ -22,7 +22,7 @@
#include <maxscale/http.hh> #include <maxscale/http.hh>
#include <maxscale/jansson.hh> #include <maxscale/jansson.hh>
#include <maxscale/json_api.h> #include <maxscale/json_api.h>
#include <maxscale/modulecmd.h> #include <maxscale/modulecmd.hh>
#include <maxscale/server.hh> #include <maxscale/server.hh>
#include <maxscale/routingworker.hh> #include <maxscale/routingworker.hh>

View File

@ -19,7 +19,7 @@
#include <maxscale/alloc.h> #include <maxscale/alloc.h>
#include <maxscale/dcb.h> #include <maxscale/dcb.h>
#include <maxscale/paths.h> #include <maxscale/paths.h>
#include <maxscale/modulecmd.h> #include <maxscale/modulecmd.hh>
#include <maxscale/session.h> #include <maxscale/session.h>
#include <maxscale/json_api.h> #include <maxscale/json_api.h>

View File

@ -33,7 +33,7 @@
#include <cdc.h> #include <cdc.h>
#include <maxscale/alloc.h> #include <maxscale/alloc.h>
#include <maxscale/event.hh> #include <maxscale/event.hh>
#include <maxscale/modulecmd.h> #include <maxscale/modulecmd.hh>
#include <maxscale/modutil.h> #include <maxscale/modutil.h>
#include <maxscale/paths.h> #include <maxscale/paths.h>
#include <maxscale/secrets.h> #include <maxscale/secrets.h>

View File

@ -16,7 +16,7 @@
#include <maxscale/alloc.h> #include <maxscale/alloc.h>
#include <maxscale/jansson.hh> #include <maxscale/jansson.hh>
#include <maxscale/modulecmd.h> #include <maxscale/modulecmd.hh>
#include <maxscale/paths.h> #include <maxscale/paths.h>
#include <maxscale/utils.h> #include <maxscale/utils.h>

View File

@ -70,7 +70,7 @@
#include <map> #include <map>
#include <maxbase/atomic.h> #include <maxbase/atomic.h>
#include <maxscale/modulecmd.h> #include <maxscale/modulecmd.hh>
#include <maxscale/modutil.h> #include <maxscale/modutil.h>
#include <maxscale/log.h> #include <maxscale/log.h>
#include <maxscale/protocol/mysql.h> #include <maxscale/protocol/mysql.h>

View File

@ -15,7 +15,7 @@
#include "maskingfilter.hh" #include "maskingfilter.hh"
#include <maxscale/json_api.h> #include <maxscale/json_api.h>
#include <maxscale/modulecmd.h> #include <maxscale/modulecmd.hh>
#include <maxscale/paths.h> #include <maxscale/paths.h>
#include <maxscale/utils.h> #include <maxscale/utils.h>

View File

@ -46,7 +46,7 @@
#include <maxscale/pcre2.h> #include <maxscale/pcre2.h>
#include <maxscale/service.hh> #include <maxscale/service.hh>
#include <maxscale/utils.h> #include <maxscale/utils.h>
#include <maxscale/modulecmd.h> #include <maxscale/modulecmd.hh>
#include <maxscale/json_api.h> #include <maxscale/json_api.h>
using std::string; using std::string;

View File

@ -22,7 +22,7 @@
#include <maxscale/alloc.h> #include <maxscale/alloc.h>
#include <maxscale/modinfo.h> #include <maxscale/modinfo.h>
#include <maxscale/log.h> #include <maxscale/log.h>
#include <maxscale/modulecmd.h> #include <maxscale/modulecmd.hh>
#include "tee.hh" #include "tee.hh"
#include "teesession.hh" #include "teesession.hh"

View File

@ -22,7 +22,7 @@
#include <maxbase/format.hh> #include <maxbase/format.hh>
#include <maxscale/alloc.h> #include <maxscale/alloc.h>
#include <maxscale/dcb.h> #include <maxscale/dcb.h>
#include <maxscale/modulecmd.h> #include <maxscale/modulecmd.hh>
#include <maxscale/mysql_utils.hh> #include <maxscale/mysql_utils.hh>
#include <maxscale/routingworker.h> #include <maxscale/routingworker.h>
#include <maxscale/secrets.h> #include <maxscale/secrets.h>

View File

@ -33,7 +33,7 @@
#include <maxscale/alloc.h> #include <maxscale/alloc.h>
#include <maxscale/dcb.h> #include <maxscale/dcb.h>
#include <maxscale/log.h> #include <maxscale/log.h>
#include <maxscale/modulecmd.h> #include <maxscale/modulecmd.hh>
#include <maxscale/paths.h> #include <maxscale/paths.h>
#include <maxscale/protocol/mysql.h> #include <maxscale/protocol/mysql.h>
#include <maxscale/random.h> #include <maxscale/random.h>

View File

@ -29,7 +29,7 @@
#include <maxscale/alloc.h> #include <maxscale/alloc.h>
#include <maxscale/dcb.h> #include <maxscale/dcb.h>
#include <maxscale/log.h> #include <maxscale/log.h>
#include <maxscale/modulecmd.h> #include <maxscale/modulecmd.hh>
#include <maxscale/paths.h> #include <maxscale/paths.h>
#include <maxscale/protocol/mysql.h> #include <maxscale/protocol/mysql.h>
#include <maxscale/random.h> #include <maxscale/random.h>

View File

@ -45,7 +45,7 @@
#include <maxscale/housekeeper.h> #include <maxscale/housekeeper.h>
#include <maxscale/log.h> #include <maxscale/log.h>
#include <maxscale/maxscale.h> #include <maxscale/maxscale.h>
#include <maxscale/modulecmd.h> #include <maxscale/modulecmd.hh>
#include <maxscale/router.h> #include <maxscale/router.h>
#include <maxscale/routingworker.hh> #include <maxscale/routingworker.hh>
#include <maxscale/server.hh> #include <maxscale/server.hh>