summaryrefslogtreecommitdiff
path: root/src/analysis/binaries
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2014-06-25 06:46:04 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2014-06-25 06:46:04 (GMT)
commit3bf12eda58a8d04ac3d2d6754a480de4c262570d (patch)
tree010fc97ad481adc00ac4722d77093f469096638b /src/analysis/binaries
parent11395d684736467fb010b93b0eaeefcc06bf0f5e (diff)
Built the first steps to upgrade to Python3.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@379 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/analysis/binaries')
-rw-r--r--src/analysis/binaries/file.c5
-rw-r--r--src/analysis/binaries/file.h3
2 files changed, 4 insertions, 4 deletions
diff --git a/src/analysis/binaries/file.c b/src/analysis/binaries/file.c
index df145f7..ad140ab 100644
--- a/src/analysis/binaries/file.c
+++ b/src/analysis/binaries/file.c
@@ -66,9 +66,6 @@ static void g_file_binary_finalize(GFileBinary *);
/* Ecrit une sauvegarde du binaire dans un fichier XML. */
static bool g_file_binary_save(const GFileBinary *, xmlDocPtr, xmlXPathContextPtr, const char *);
-/* Fournit le fichier correspondant à l'élément binaire. */
-static const char *g_file_binary_get_filename(const GFileBinary *, bool);
-
/* Indique le type défini pour une description de fichier binaire. */
@@ -348,7 +345,7 @@ static bool g_file_binary_save(const GFileBinary *binary, xmlDocPtr xdoc, xmlXPa
* *
******************************************************************************/
-static const char *g_file_binary_get_filename(const GFileBinary *binary, bool full)
+const char *g_file_binary_get_filename(const GFileBinary *binary, bool full)
{
const char *result; /* Description à retourner */
diff --git a/src/analysis/binaries/file.h b/src/analysis/binaries/file.h
index d09c86d..40bc722 100644
--- a/src/analysis/binaries/file.h
+++ b/src/analysis/binaries/file.h
@@ -56,6 +56,9 @@ GLoadedBinary *g_file_binary_new_from_file(const char *);
/* Charge en mémoire le contenu d'un fichier à partir d'XML. */
GLoadedBinary *g_file_binary_new_from_xml(xmlXPathContextPtr, const char *);
+/* Fournit le fichier correspondant à l'élément binaire. */
+const char *g_file_binary_get_filename(const GFileBinary *, bool);
+
#endif /* _ANALYSIS_BINARIES_FILE_H */