bootstrap: Add dependency checks
[petitboot] / lib / process / process.h
index 65fdba8d537beeb9e43efe9d3f3b08429d143530..4904ffc8f5126977f1407bcb8d08703ea5b57037 100644 (file)
@@ -33,6 +33,7 @@ struct process {
        const char              **argv;
        bool                    keep_stdout;
        bool                    add_stderr;
+       bool                    raw_stdout;
        process_exit_cb         exit_cb;
        void                    *data;
        waiter_cb               stdout_cb;
@@ -45,6 +46,7 @@ struct process {
 
        /* post-execution information */
        int                     exit_status;
+       bool                    cancelled;
 };
 
 /* Process management system init. process_init must be called before
@@ -77,6 +79,7 @@ int process_run_simple(void *ctx, const char *name, ...)
 int process_run_async(struct process *process);
 
 void process_stop_async(struct process *process);
+void process_stop_async_all(void);
 
 /* helper function to determine if a process exited cleanly, with a non-zero
  * exit status */