diff options
Diffstat (limited to 'lib/utils_cmd.h')
| -rw-r--r-- | lib/utils_cmd.h | 10 |
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); | |||
| 22 | int cmd_file_read(const char *, output *, int); | 22 | int cmd_file_read(const char *, output *, int); |
| 23 | 23 | ||
| 24 | typedef struct { | 24 | typedef 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; |
| 30 | cmd_run_result cmd_run2(const char *cmd, int flags); | 30 | cmd_run_result cmd_run2(const char *cmd, int flags); |
| 31 | cmd_run_result cmd_run_array2(char * const *cmd, int flags); | 31 | cmd_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 */ |
| 34 | void cmd_init(void); | 34 | void cmd_init(void); |
