X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=lib%2Fprocess%2Fprocess.h;fp=lib%2Fprocess%2Fprocess.h;h=f858b0edc11ce344f36e6644dfba157dd634237f;hb=d94bb8c48f42678a5f1cf0041429b82aa1938540;hp=65fdba8d537beeb9e43efe9d3f3b08429d143530;hpb=75e89298319041ac2cc96102c8345dc175e5e0db;p=petitboot diff --git a/lib/process/process.h b/lib/process/process.h index 65fdba8..f858b0e 100644 --- a/lib/process/process.h +++ b/lib/process/process.h @@ -45,6 +45,7 @@ struct process { /* post-execution information */ int exit_status; + bool cancelled; }; /* Process management system init. process_init must be called before @@ -77,6 +78,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 */