diff options
Diffstat (limited to 'lib/output.h')
| -rw-r--r-- | lib/output.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/output.h b/lib/output.h index 6ca63cfe..b9cdb07d 100644 --- a/lib/output.h +++ b/lib/output.h | |||
| @@ -66,6 +66,7 @@ mp_output_detail_level mp_get_level_of_detail(void); | |||
| 66 | typedef struct mp_check mp_check; | 66 | typedef struct mp_check mp_check; |
| 67 | struct mp_check { | 67 | struct mp_check { |
| 68 | char *summary; // Overall summary, if not set a summary will be automatically generated | 68 | char *summary; // Overall summary, if not set a summary will be automatically generated |
| 69 | char *ok_summary; // (optional) Summary if the overall state is OK | ||
| 69 | mp_subcheck_list *subchecks; | 70 | mp_subcheck_list *subchecks; |
| 70 | 71 | ||
| 71 | // the evaluation_functions computes the state of check | 72 | // the evaluation_functions computes the state of check |
| @@ -88,6 +89,7 @@ int mp_add_subcheck_to_subcheck(mp_subcheck check[static 1], mp_subcheck); | |||
| 88 | void mp_add_perfdata_to_subcheck(mp_subcheck check[static 1], mp_perfdata); | 89 | void mp_add_perfdata_to_subcheck(mp_subcheck check[static 1], mp_perfdata); |
| 89 | 90 | ||
| 90 | void mp_set_summary(mp_check check[static 1], char *summary); | 91 | void mp_set_summary(mp_check check[static 1], char *summary); |
| 92 | void mp_set_ok_summary(mp_check check[static 1], char *ok_summary); | ||
| 91 | 93 | ||
| 92 | mp_state_enum mp_compute_check_state(mp_check); | 94 | mp_state_enum mp_compute_check_state(mp_check); |
| 93 | mp_state_enum mp_compute_subcheck_state(mp_subcheck); | 95 | mp_state_enum mp_compute_subcheck_state(mp_subcheck); |
