summaryrefslogtreecommitdiffstats
path: root/lib/utils_cmd.h
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2026-06-10 14:49:33 +0200
committerGitHub <noreply@github.com>2026-06-10 14:49:33 +0200
commitf8aad020f7c0be604da8981663b6d815f94ffaa4 (patch)
treee1c7bdeff275778b4dd324d26e826c861d143b48 /lib/utils_cmd.h
parent47b1b2d754d4809006f6dc1aa13ba9c80405975c (diff)
downloadmonitoring-plugins-f8aad020f7c0be604da8981663b6d815f94ffaa4.tar.gz
Run clang-format on everything once again (#2275)
Co-authored-by: Lorenz Kästle <lorenz.kaestle@netways.de>
Diffstat (limited to 'lib/utils_cmd.h')
-rw-r--r--lib/utils_cmd.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/utils_cmd.h b/lib/utils_cmd.h
index 04a624b8..e4869ce8 100644
--- a/lib/utils_cmd.h
+++ b/lib/utils_cmd.h
@@ -22,13 +22,13 @@ int cmd_run_array(char *const *, output *, output *, int);
22int cmd_file_read(const char *, output *, int); 22int cmd_file_read(const char *, output *, int);
23 23
24typedef struct { 24typedef struct {
25 int error_code; 25 int error_code;
26 int cmd_error_code; 26 int cmd_error_code;
27 output out; 27 output out;
28 output err; 28 output err;
29} cmd_run_result; 29} cmd_run_result;
30cmd_run_result cmd_run2(const char *cmd, int flags); 30cmd_run_result cmd_run2(const char *cmd, int flags);
31cmd_run_result cmd_run_array2(char * const *cmd, int flags); 31cmd_run_result cmd_run_array2(char *const *cmd, int flags);
32 32
33/* only multi-threaded plugins need to bother with this */ 33/* only multi-threaded plugins need to bother with this */
34void cmd_init(void); 34void cmd_init(void);