summaryrefslogtreecommitdiff
path: root/plugins/pychrysa/helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pychrysa/helpers.h')
-rw-r--r--plugins/pychrysa/helpers.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/plugins/pychrysa/helpers.h b/plugins/pychrysa/helpers.h
new file mode 100644
index 0000000..474978b
--- /dev/null
+++ b/plugins/pychrysa/helpers.h
@@ -0,0 +1,37 @@
+
+/* OpenIDA - Outil d'analyse de fichiers binaires
+ * helpers.h - prototypes pour la simplification des interactions de base avec Python
+ *
+ * Copyright (C) 2012 Cyrille Bagard
+ *
+ * This file is part of OpenIDA.
+ *
+ * OpenIDA is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * OpenIDA is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Foobar. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+
+#ifndef _PLUGINS_HELPERS_H
+#define _PLUGINS_HELPERS_H
+
+
+#include <Python.h>
+
+
+
+/* Appelle une routine Python. */
+PyObject *run_python_method(PyObject *, const char *, PyObject *);
+
+
+
+#endif /* _PLUGINS_HELPERS_H */