summaryrefslogtreecommitdiff
path: root/src/analysis/db/item-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-09-11 22:08:42 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-09-11 22:08:42 (GMT)
commit1c2949f6828b995c7b9f8feba8fd7214f52f8f4d (patch)
tree0bdff13f6ac8d87725d6783a2f1ecc7511426cd1 /src/analysis/db/item-int.h
parent83faef9c8f78b20cb031af686f763cfb215cf9d7 (diff)
Built suitable dynamic labels for bookmarks.
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")