summaryrefslogtreecommitdiff
path: root/plugins/readelf/reader.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/readelf/reader.c')
-rw-r--r--plugins/readelf/reader.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/readelf/reader.c b/plugins/readelf/reader.c
index 53463e9..0c87660 100644
--- a/plugins/readelf/reader.c
+++ b/plugins/readelf/reader.c
@@ -25,7 +25,7 @@
#include <plugins/elf/format.h>
-#include <plugins/plugin-def.h>
+#include <plugins/self.h>
#include "header.h"
@@ -35,7 +35,8 @@
-DEFINE_CHRYSALIDE_PLUGIN("GElfReaderPlugin", "readelf", "Displays information about ELF files", "0.2.0",
+DEFINE_CHRYSALIDE_PLUGIN("ElfReader", "Information about ELF files",
+ PACKAGE_VERSION, CHRYSALIDE_WEBSITE(""),
NO_REQ, AL(PGA_FORMAT_PRELOAD));
@@ -55,7 +56,7 @@ DEFINE_CHRYSALIDE_PLUGIN("GElfReaderPlugin", "readelf", "Displays information ab
* *
******************************************************************************/
-G_MODULE_EXPORT bool preload_binary_format(const GPluginModule *plugin, PluginAction action, GBinFormat *format, GPreloadInfo *info, GtkStatusStack *status)
+G_MODULE_EXPORT bool chrysalide_plugin_preload_binary_format(const GPluginModule *plugin, PluginAction action, GBinFormat *format, GPreloadInfo *info, GtkStatusStack *status)
{
bool result; /* Bilan à retourner */
GElfFormat *elf_fmt; /* Version ELF */