Uncrustify maxscale

See script directory for method. The script to run in the top level
MaxScale directory is called maxscale-uncrustify.sh, which uses
another script, list-src, from the same directory (so you need to set
your PATH). The uncrustify version was 0.66.
This commit is contained in:
Niclas Antti
2018-09-09 22:26:19 +03:00
parent fa7ec95069
commit c447e5cf15
849 changed files with 35002 additions and 27238 deletions

View File

@ -10,7 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#pragma once
#include <maxscale/ccdefs.hh>
#include <maxscale/monitor.hh>
@ -23,12 +23,12 @@ class MMMonitor : public maxscale::MonitorInstanceSimple
{
public:
MMMonitor(const MMMonitor&) = delete;
MMMonitor& operator = (const MMMonitor&) = delete;
MMMonitor& operator=(const MMMonitor&) = delete;
~MMMonitor();
static MMMonitor* create(MXS_MONITOR* monitor);
void diagnostics(DCB* dcb) const;
json_t* diagnostics_json() const;
void diagnostics(DCB* dcb) const;
json_t* diagnostics_json() const;
protected:
bool configure(const MXS_CONFIG_PARAMETER* params);
@ -37,10 +37,10 @@ protected:
void post_tick();
private:
unsigned long m_id; /**< Monitor ID */
int m_detectStaleMaster; /**< Monitor flag for Stale Master detection */
unsigned long m_id; /**< Monitor ID */
int m_detectStaleMaster; /**< Monitor flag for Stale Master detection */
MMMonitor(MXS_MONITOR* monitor);
MXS_MONITORED_SERVER *get_current_master();
MXS_MONITORED_SERVER* get_current_master();
};