summaryrefslogtreecommitdiffstats
path: root/src/include/report/report.h
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2011-05-18 16:55:40 +0200
committerJiri Moskovcak <jmoskovc@redhat.com>2011-05-18 16:55:40 +0200
commitbccd10f39589870673ffd09de6bc09d6e00fab72 (patch)
tree43d0f2e39cb62718ff44522ca6ddca389ac84a81 /src/include/report/report.h
parent826900355023fcfef39cc91721e681cf558a11f6 (diff)
downloadabrt-bccd10f39589870673ffd09de6bc09d6e00fab72.tar.gz
abrt-bccd10f39589870673ffd09de6bc09d6e00fab72.tar.xz
abrt-bccd10f39589870673ffd09de6bc09d6e00fab72.zip
report C API improvements
Diffstat (limited to 'src/include/report/report.h')
-rw-r--r--src/include/report/report.h10
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