summaryrefslogtreecommitdiffstats
path: root/src/report-python/reportmodule.c
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/reportmodule.c
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/reportmodule.c')
-rw-r--r--src/report-python/reportmodule.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/report-python/reportmodule.c b/src/report-python/reportmodule.c
index 6dda73cf..bd74cff3 100644
--- a/src/report-python/reportmodule.c
+++ b/src/report-python/reportmodule.c
@@ -17,18 +17,16 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include <Python.h>
-#include "common.h"
-#include "crash_data.h"
-#include "dump_dir.h"
+#include "common.h"
PyObject *ReportError;
static PyMethodDef module_methods[] = {
/* method_name, func, flags, doc_string */
- { "dd_opendir" , p_dd_opendir, METH_VARARGS, NULL },
- { "dd_create" , p_dd_create, METH_VARARGS, NULL },
- { "delete_dump_dir", p_delete_dump_dir, METH_VARARGS, NULL },
+ { "dd_opendir" , p_dd_opendir , METH_VARARGS },
+ { "dd_create" , p_dd_create , METH_VARARGS },
+ { "delete_dump_dir", p_delete_dump_dir, METH_VARARGS },
{ NULL }
};