summaryrefslogtreecommitdiffstats
path: root/plugins/check_mysql_query.d/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_mysql_query.d/config.h')
-rw-r--r--plugins/check_mysql_query.d/config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/check_mysql_query.d/config.h b/plugins/check_mysql_query.d/config.h
index 1c9952e5..32ab455a 100644
--- a/plugins/check_mysql_query.d/config.h
+++ b/plugins/check_mysql_query.d/config.h
@@ -1,6 +1,7 @@
1#pragma once 1#pragma once
2 2
3#include "../../config.h" 3#include "../../config.h"
4#include "output.h"
4#include "thresholds.h" 5#include "thresholds.h"
5#include <mysql.h> 6#include <mysql.h>
6 7
@@ -16,6 +17,9 @@ typedef struct {
16 17
17 char *sql_query; 18 char *sql_query;
18 mp_thresholds thresholds; 19 mp_thresholds thresholds;
20
21 bool output_format_is_set;
22 mp_output_format output_format;
19} check_mysql_query_config; 23} check_mysql_query_config;
20 24
21check_mysql_query_config check_mysql_query_config_init() { 25check_mysql_query_config check_mysql_query_config_init() {
@@ -31,6 +35,8 @@ check_mysql_query_config check_mysql_query_config_init() {
31 35
32 .sql_query = NULL, 36 .sql_query = NULL,
33 .thresholds = mp_thresholds_init(), 37 .thresholds = mp_thresholds_init(),
38
39 .output_format_is_set = false,
34 }; 40 };
35 return tmp; 41 return tmp;
36} 42}