diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2026-01-09 15:07:48 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-09 15:07:48 +0100 |
| commit | 6d1edb3df2feb7fca636226b520e76b0366a7ddd (patch) | |
| tree | d20769e0a61ac2ba76920190050d3e0a3e7c85b7 /plugins/check_ide_smart.d/config.h | |
| parent | f694f4cd4dfead0da6feab04d92335d9bbe185b6 (diff) | |
| parent | da4fb28fca51b180d50608b0c847b1c0927cd8c5 (diff) | |
| download | monitoring-plugins-6d1edb3df2feb7fca636226b520e76b0366a7ddd.tar.gz | |
Merge pull request #2111 from RincewindsHat/refactor/check_ide_smart
Refactor check_ide_smart
Diffstat (limited to 'plugins/check_ide_smart.d/config.h')
| -rw-r--r-- | plugins/check_ide_smart.d/config.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/plugins/check_ide_smart.d/config.h b/plugins/check_ide_smart.d/config.h new file mode 100644 index 00000000..36899abe --- /dev/null +++ b/plugins/check_ide_smart.d/config.h | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include "../../config.h" | ||
| 4 | #include <stddef.h> | ||
| 5 | |||
| 6 | typedef struct { | ||
| 7 | char *device; | ||
| 8 | } check_ide_smart_config; | ||
| 9 | |||
| 10 | check_ide_smart_config check_ide_smart_init() { | ||
| 11 | check_ide_smart_config tmp = { | ||
| 12 | .device = NULL, | ||
| 13 | }; | ||
| 14 | return tmp; | ||
| 15 | } | ||
