From 36f4495deee8611f2fc4c62e54616d52f5c25979 Mon Sep 17 00:00:00 2001 From: RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> Date: Sat, 26 Mar 2022 16:31:52 +0100 Subject: Rename output to cmd_output --- lib/utils_cmd.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'lib/utils_cmd.h') diff --git a/lib/utils_cmd.h b/lib/utils_cmd.h index 6f3aeb81..b37c7712 100644 --- a/lib/utils_cmd.h +++ b/lib/utils_cmd.h @@ -7,8 +7,10 @@ * */ +#include + /** types **/ -struct output +struct cmd_output { char *buf; /* output buffer */ size_t buflen; /* output buffer content length */ @@ -17,12 +19,12 @@ struct output size_t lines; /* lines of output */ }; -typedef struct output output; +typedef struct cmd_output cmd_output; /** prototypes **/ -int cmd_run (const char *, output *, output *, int); -int cmd_run_array (char *const *, output *, output *, int); -int cmd_file_read (char *, output *, int); +int cmd_run (const char *, cmd_output *, cmd_output *, int); +int cmd_run_array (char *const *, cmd_output *, cmd_output *, int); +int cmd_file_read (char *, cmd_output *, int); /* only multi-threaded plugins need to bother with this */ void cmd_init (void); -- cgit v1.2.3-74-g34f1