summaryrefslogtreecommitdiffstats
path: root/lib/utils_cmd.h
diff options
context:
space:
mode:
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);