diff options
Diffstat (limited to 'src/include/report/report.h')
-rw-r--r-- | src/include/report/report.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/include/report/report.h b/src/include/report/report.h index 11d19687..f57d5277 100644 --- a/src/include/report/report.h +++ b/src/include/report/report.h @@ -21,16 +21,22 @@ #include "problem_data.h" +enum { + NOWAIT = 0, + WAIT = (1 << 0), /* wait for report to finish and reload the problem data */ +}; + + /* analyzes AND reports a problem saved on disk * - takes user through all the steps in reporting wizard */ -int analyze_and_report_dir(const char* dirname); +int analyze_and_report_dir(const char* dirname, int flags); /* analyzes AND reports a problem stored in problem_data_t * it's first saved to /tmp and then processed as a dump_dir * - takes user through all the steps in reporting wizard */ -int analyze_and_report(problem_data_t *pd); +int analyze_and_report(problem_data_t *pd, int flags); /* reports a problem saved on disk * - shows only reporter selector and progress |