monitoring-plugins/plugins/check_ntp_time.d/config.h
2025-03-12 01:41:48 +01:00

28 lines
444 B
C

#pragma once
#include "../../config.h"
#include "thresholds.h"
#include <stddef.h>
typedef struct {
char *server_address;
char *port;
bool quiet;
int time_offset;
thresholds *offset_thresholds;
} check_ntp_time_config;
check_ntp_time_config check_ntp_time_config_init() {
check_ntp_time_config tmp = {
.server_address = NULL,
.port = "123",
.quiet = false,
.time_offset = 0,
.offset_thresholds = NULL,
};
return tmp;
}