X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=lib%2Fsystem%2Fsystem.h;h=a7a1a120c3142756bd05b644b509a446890b707e;hb=9b7a01a40fd9476583fb5f7dfbd4006e45d8e291;hp=271c4355d3066cb46c10fe224abd65fa277f82b8;hpb=c75acc64833eb7263b340079e7ba3153ebc60aec;p=petitboot diff --git a/lib/system/system.h b/lib/system/system.h index 271c435..a7a1a12 100644 --- a/lib/system/system.h +++ b/lib/system/system.h @@ -18,6 +18,8 @@ struct pb_system_apps { extern const struct pb_system_apps pb_system_apps; int pb_run_cmd(const char *const *cmd_argv, int wait, int dry_run); +int pb_run_cmd_pipe(const char *const *cmd_argv, int wait, int dry_run, + void *ctx, char **buf, int *buf_len); int pb_mkdir_recursive(const char *dir); int pb_rmdir_recursive(const char *base, const char *dir);