From c4607d94fea4eadd3cd0309e33a5e092fc43d0a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Sun, 9 Feb 2020 23:25:32 +1100 Subject: [PATCH] class Web_Interface_plugin friends Query_Processor --- include/proxysql_structs.h | 1 + include/query_processor.h | 1 + 2 files changed, 2 insertions(+) diff --git a/include/proxysql_structs.h b/include/proxysql_structs.h index 8e61c2399..efa51eed3 100644 --- a/include/proxysql_structs.h +++ b/include/proxysql_structs.h @@ -409,6 +409,7 @@ class ProxySQL_Cluster; class MySQL_ResultSet; class Query_Processor_Output; class MySrvC; +class Web_Interface_plugin; #endif /* PROXYSQL_CLASSES */ //#endif /* __cplusplus */ diff --git a/include/query_processor.h b/include/query_processor.h index 41c7318f9..3166768c5 100644 --- a/include/query_processor.h +++ b/include/query_processor.h @@ -374,6 +374,7 @@ class Query_Processor { SQLite3_result * get_mysql_firewall_whitelist_rules(); SQLite3_result * get_mysql_firewall_whitelist_sqli_fingerprints(); bool whitelisted_sqli_fingerprint(char *); + friend Web_Interface_plugin; }; typedef Query_Processor * create_Query_Processor_t();