mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-02-19 02:27:55 -05:00
24 lines
355 B
C
24 lines
355 B
C
#pragma once
|
|
|
|
#include "states.h"
|
|
|
|
typedef struct {
|
|
mp_state_enum state[4];
|
|
bool subst_text;
|
|
char **command_line;
|
|
} negate_config;
|
|
|
|
negate_config negate_config_init() {
|
|
negate_config tmp = {
|
|
.state =
|
|
{
|
|
STATE_OK,
|
|
STATE_WARNING,
|
|
STATE_CRITICAL,
|
|
STATE_UNKNOWN,
|
|
},
|
|
.subst_text = false,
|
|
.command_line = NULL,
|
|
};
|
|
return tmp;
|
|
}
|