diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-03-17 13:52:40 +0100 |
|---|---|---|
| committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-03-17 13:52:40 +0100 |
| commit | 2f522e306497a85c97fef585c276aa38064e9baf (patch) | |
| tree | 912656d7163d6b0efdf6617c4a67e83c5fac5231 /plugins/check_ide_smart.d/config.h | |
| parent | 544a3a1328566eb395f80d233a4a3eaf3bacf306 (diff) | |
| download | monitoring-plugins-2f522e306497a85c97fef585c276aa38064e9baf.tar.gz | |
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 | } | ||
