Rename MODULE_INFO to MXS_MODULE
The MODULE_INFO is now the main object which is used by modules to convey information to the MaxScale core. The MXS_MODULE name is more apt as it now contains the actual module definition. The old MODULES structure was moved into load_utils.c as an internal implementation and was renamed so that it is not confused with the new MODULE structure.
This commit is contained in:
@ -3172,7 +3172,7 @@ void qc_sqlite_get_field_info(GWBUF* query, const QC_FIELD_INFO** infos, size_t*
|
||||
* EXPORTS
|
||||
*/
|
||||
|
||||
MODULE_INFO* MXS_CREATE_MODULE()
|
||||
MXS_MODULE* MXS_CREATE_MODULE()
|
||||
{
|
||||
static QUERY_CLASSIFIER qc =
|
||||
{
|
||||
@ -3195,10 +3195,10 @@ MODULE_INFO* MXS_CREATE_MODULE()
|
||||
qc_sqlite_get_field_info,
|
||||
};
|
||||
|
||||
static MODULE_INFO info =
|
||||
static MXS_MODULE info =
|
||||
{
|
||||
MODULE_API_QUERY_CLASSIFIER,
|
||||
MODULE_BETA_RELEASE,
|
||||
MXS_MODULE_API_QUERY_CLASSIFIER,
|
||||
MXS_MODULE_BETA_RELEASE,
|
||||
QUERY_CLASSIFIER_VERSION,
|
||||
"Query classifier using sqlite.",
|
||||
"V1.0.0",
|
||||
|
Reference in New Issue
Block a user