Cleaned up monitor headers
Formatted all monitor headers according to the coding style.
This commit is contained in:
@ -46,11 +46,11 @@
|
||||
* @endverbatim
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* The handle for an instance of a MySQL Monitor module
|
||||
* The handle for an instance of a Galera Monitor module
|
||||
*/
|
||||
typedef struct {
|
||||
typedef struct
|
||||
{
|
||||
SPINLOCK lock; /**< The monitor spinlock */
|
||||
pthread_t tid; /**< id of monitor thread */
|
||||
int shutdown; /**< Flag to shutdown the monitor thread */
|
||||
|
||||
@ -17,6 +17,7 @@
|
||||
*
|
||||
* Copyright MariaDB Corporation Ab 2015
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
@ -34,10 +35,15 @@
|
||||
#include <monitor_common.h>
|
||||
#include <externcmd.h>
|
||||
|
||||
/**
|
||||
* @file mmmon.h - The Multi-Master monitor
|
||||
*/
|
||||
|
||||
/**
|
||||
* The handle for an instance of a Multi-Master Monitor module
|
||||
*/
|
||||
typedef struct {
|
||||
typedef struct
|
||||
{
|
||||
SPINLOCK lock; /**< The monitor spinlock */
|
||||
pthread_t tid; /**< id of monitor thread */
|
||||
int shutdown; /**< Flag to shutdown the monitor thread */
|
||||
|
||||
@ -17,6 +17,7 @@
|
||||
*
|
||||
* Copyright MariaDB Corporation Ab 2013-2014
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
@ -33,8 +34,9 @@
|
||||
#include <maxconfig.h>
|
||||
#include <monitor_common.h>
|
||||
#include <externcmd.h>
|
||||
|
||||
/**
|
||||
* @file mysqlmon.h - The MySQL monitor functionality within the gateway
|
||||
* @file mysqlmon.h - The MySQL monitor
|
||||
*
|
||||
* @verbatim
|
||||
* Revision History
|
||||
@ -56,7 +58,8 @@
|
||||
/**
|
||||
* The handle for an instance of a MySQL Monitor module
|
||||
*/
|
||||
typedef struct {
|
||||
typedef struct
|
||||
{
|
||||
SPINLOCK lock; /**< The monitor spinlock */
|
||||
pthread_t tid; /**< id of monitor thread */
|
||||
int shutdown; /**< Flag to shutdown the monitor thread */
|
||||
|
||||
@ -17,6 +17,7 @@
|
||||
*
|
||||
* Copyright MariaDB Corporation Ab 2013-2014
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
@ -42,7 +43,8 @@
|
||||
/**
|
||||
* The handle for an instance of a NDB Cluster Monitor module
|
||||
*/
|
||||
typedef struct {
|
||||
typedef struct
|
||||
{
|
||||
SPINLOCK lock; /**< The monitor spinlock */
|
||||
pthread_t tid; /**< id of monitor thread */
|
||||
int shutdown; /**< Flag to shutdown the monitor thread */
|
||||
|
||||
Reference in New Issue
Block a user