summaryrefslogtreecommitdiffstats
path: root/src/report-python/common.h
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2010-12-22 16:28:39 +0100
committerDenys Vlasenko <dvlasenk@redhat.com>2010-12-22 16:28:39 +0100
commitdba326f60e159697a740f08959d098e19c200453 (patch)
tree987b3a4f7b4f28dcf52ec0cb199a5992e5ea5e64 /src/report-python/common.h
parent639ebf76098f56ce33d9b774acc11f4a8e60be3d (diff)
downloadabrt-dba326f60e159697a740f08959d098e19c200453.tar.gz
abrt-dba326f60e159697a740f08959d098e19c200453.tar.xz
abrt-dba326f60e159697a740f08959d098e19c200453.zip
extend run_event() to run_event_on_dir_name() and run_event_on_crash_data()
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/report-python/common.h')
-rw-r--r--src/report-python/common.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/report-python/common.h b/src/report-python/common.h
index f77e5a31..d6d209e9 100644
--- a/src/report-python/common.h
+++ b/src/report-python/common.h
@@ -18,6 +18,10 @@
*/
#include <Python.h>
+#include "dump_dir.h"
+#include "crash_data.h"
+#include "run_event.h"
+
/* exception object */
extern PyObject *ReportError;
@@ -36,3 +40,8 @@ typedef struct {
PyObject_HEAD
struct dump_dir *dd;
} p_dump_dir;
+
+typedef struct {
+ PyObject_HEAD
+ crash_data_t *cd;
+} p_crash_data;