summaryrefslogtreecommitdiff
path: root/src/format/part.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2009-11-18 23:20:16 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2009-11-18 23:20:16 (GMT)
commit783e5e1977c1e4dadf938befa9fce9a311079413 (patch)
tree995423e1069e31db4fe0517fb9a45432dafceb6d /src/format/part.c
parent26d75963fba34d8e5a5b9a6186604110552f3a38 (diff)
Saved the current work on binary parts selection.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@137 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/format/part.c')
-rw-r--r--src/format/part.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/format/part.c b/src/format/part.c
index 2096c6d..d21cd87 100644
--- a/src/format/part.c
+++ b/src/format/part.c
@@ -145,6 +145,25 @@ void g_binary_part_set_name(GBinPart *part, const char *name)
/******************************************************************************
* *
+* Paramètres : part = description de partie à mettre à jour. *
+* *
+* Description : Fournit la description attribuée à une partie de code. *
+* *
+* Retour : - *
+* *
+* Remarques : - *
+* *
+******************************************************************************/
+
+const char *g_binary_part_get_name(const GBinPart *part)
+{
+ return part->name;
+
+}
+
+
+/******************************************************************************
+* *
* Paramètres : part = description de partie à mettre à jour. *
* offset = position de la section à conserver. *
* size = taille de la section à conserver. *