summaryrefslogtreecommitdiff
path: root/plugins/bhash/python/tlsh.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2021-04-06 22:55:54 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2021-04-06 22:55:54 (GMT)
commitc12d6a5d11bf9a2436ff78e393173ca59b6c9c46 (patch)
treeb579b642e301f5d6e6d88fb0213a54db6bf6fd38 /plugins/bhash/python/tlsh.h
parentc4d2e0fa48eab453d5c43a3c0938427617449a6a (diff)
Provide several kinds of hashes for binary files.
Diffstat (limited to 'plugins/bhash/python/tlsh.h')
-rw-r--r--plugins/bhash/python/tlsh.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/plugins/bhash/python/tlsh.h b/plugins/bhash/python/tlsh.h
new file mode 100644
index 0000000..7312b97
--- /dev/null
+++ b/plugins/bhash/python/tlsh.h
@@ -0,0 +1,39 @@
+
+/* Chrysalide - Outil d'analyse de fichiers binaires
+ * tlsh.h - équivalent Python du fichier "plugins/bhash/tlsh.h"
+ *
+ * Copyright (C) 2021 Cyrille Bagard
+ *
+ * This file is part of Chrysalide.
+ *
+ * Chrysalide 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.
+ *
+ * Chrysalide 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 this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+
+#ifndef _PLUGINS_BHASH_PYTHON_TLSH_H
+#define _PLUGINS_BHASH_PYTHON_TLSH_H
+
+
+#include <Python.h>
+#include <stdbool.h>
+
+
+
+/* Définit une extension du module 'bhash' à compléter. */
+bool populate_bhash_module_with_tlsh(PyObject *);
+
+
+
+#endif /* _PLUGINS_BHASH_PYTHON_TLSH_H */