summaryrefslogtreecommitdiff
path: root/src/analysis/db/item-int.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis/db/item-int.h')
-rw-r--r--src/analysis/db/item-int.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/analysis/db/item-int.h b/src/analysis/db/item-int.h
index 923ea3a..e530442 100644
--- a/src/analysis/db/item-int.h
+++ b/src/analysis/db/item-int.h
@@ -46,7 +46,7 @@ typedef bool (* unpack_db_item_fc) (GDbItem *, packed_buffer *);
typedef bool (* pack_db_item_fc) (const GDbItem *, packed_buffer *);
/* Construit la description humaine d'un signet sur un tampon. */
-typedef void (* build_item_label_fc) (GDbItem *);
+typedef char * (* build_item_label_fc) (GDbItem *);
/* Exécute un élément de collection sur un binaire. */
typedef bool (* run_item_fc) (GDbItem *, GLoadedBinary *);
@@ -69,8 +69,6 @@ struct _GDbItem
rle_string author; /* Utilisateur d'origine */
rle_string tool; /* Eventuel outil automatique ?*/
- char *label; /* Représentation humaine */
-
union
{
DbItemFlags flags; /* Propriétés de l'élément */
@@ -111,8 +109,7 @@ struct _GDbItemClass
SQLITE_TIMESTAMP_CREATE("created") ", " \
SQLITE_TIMESTAMP_CREATE("timestamp") ", " \
SQLITE_RLESTR_CREATE("author") ", " \
- SQLITE_RLESTR_CREATE("tool") ", " \
- SQLITE_RLESTR_CREATE("label")
+ SQLITE_RLESTR_CREATE("tool")