diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2013-01-26 19:41:04 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2013-01-26 19:41:04 (GMT) |
commit | 2050b07c42c15738662dd9b3c5841694b64ab2a3 (patch) | |
tree | f6283df4b4775f0c4e42e14025d67443f8fdf9b5 /plugins/pychrysa/format/executable.h | |
parent | b0b35292cb22899b1b23556be452eb827e4010d7 (diff) |
Provided some debug helpers as plugin samples.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@330 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'plugins/pychrysa/format/executable.h')
-rw-r--r-- | plugins/pychrysa/format/executable.h | 26 |
1 files changed, 6 insertions, 20 deletions
diff --git a/plugins/pychrysa/format/executable.h b/plugins/pychrysa/format/executable.h index 4109784..50faee6 100644 --- a/plugins/pychrysa/format/executable.h +++ b/plugins/pychrysa/format/executable.h @@ -2,7 +2,7 @@ /* OpenIDA - Outil d'analyse de fichiers binaires * executable.h - prototypes pour l'équivalent Python du fichier "format/executable.h" * - * Copyright (C) 2010 Cyrille Bagard + * Copyright (C) 2010-2013 Cyrille Bagard * * This file is part of OpenIDA. * @@ -22,32 +22,18 @@ */ -#ifndef _PLUGINS_PYOIDA_FORMAT_EXECUTABLE_H -#define _PLUGINS_PYOIDA_FORMAT_EXECUTABLE_H +#ifndef _PLUGINS_PYCHRYSA_FORMAT_EXECUTABLE_H +#define _PLUGINS_PYCHRYSA_FORMAT_EXECUTABLE_H #include <Python.h> #include <stdbool.h> -#include <format/executable.h> +/* Prend en charge l'objet 'pychrysalide.format.ExeFormat'. */ +bool register_python_executable_format(PyObject *module); -/* Crée un nouvel objet Python de type 'ExeFormat'. */ -PyObject *py_executable_format_from_c(GExeFormat *); - - -/* Convertit une instance GLib en objet Python 'py_executable'. */ -PyObject *py_executable_convert(GExeFormat *); - -/* Fournit l'instance GLib d'une instance Python. */ -GExeFormat *py_executable_get_glib_instance(PyObject *); - -/* Ajoute l'objet 'format.executable' au module Python. */ -bool add_format_executable_to_python_module(PyObject *); - - - -#endif /* _PLUGINS_PYOIDA_FORMAT_EXECUTABLE_H */ +#endif /* _PLUGINS_PYCHRYSA_FORMAT_EXECUTABLE_H */ |