X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=lib%2Fprocess%2Fprocess.h;h=ae7fe32d06350679660ac21473b8cd45fa6fc986;hb=416647ec10a0ca505de35348620391fde80043c0;hp=9e2a2d1b013c31c6eeb8af153ddbb54071bbe04d;hpb=e52a8c61a640ab4fce0b4caaa796ae3e1c4ff8a3;p=petitboot diff --git a/lib/process/process.h b/lib/process/process.h index 9e2a2d1..ae7fe32 100644 --- a/lib/process/process.h +++ b/lib/process/process.h @@ -31,6 +31,7 @@ struct process { const char *path; const char **argv; bool keep_stdout; + bool add_stderr; process_exit_cb exit_cb; void *data; @@ -47,7 +48,7 @@ struct process { * process_create. The pointer returned can be talloc_free()-ed, or can be * automatically freed through destruction of the ctx talloc tree. */ -struct procset *process_init(void *ctx, struct waitset *set); +struct procset *process_init(void *ctx, struct waitset *set, bool dry_run); struct process *process_create(void *ctx);