summaryrefslogtreecommitdiffstats
path: root/plugins/negate.d/config.h
blob: 0cf30cd457a3393a3020541165352d8705247cfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#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;
}