summaryrefslogtreecommitdiffstats
path: root/src/report-python/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/report-python/common.h')
-rw-r--r--src/report-python/common.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/report-python/common.h b/src/report-python/common.h
index b0a384c0..f0e8727a 100644
--- a/src/report-python/common.h
+++ b/src/report-python/common.h
@@ -24,3 +24,13 @@ extern PyObject *ReportError;
/* type objects */
extern PyTypeObject p_crash_data_type;
extern PyTypeObject p_dump_dir_type;
+
+/* module-level functions */
+PyObject *p_dd_opendir(PyObject *module, PyObject *args);
+PyObject *p_dd_create(PyObject *module, PyObject *args);
+
+/* python objects' struct defs */
+typedef struct {
+ PyObject_HEAD
+ struct dump_dir *dd;
+} p_dump_dir;