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.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/analysis/db/item-int.h b/src/analysis/db/item-int.h
index 93472c5..5977bdb 100644
--- a/src/analysis/db/item-int.h
+++ b/src/analysis/db/item-int.h
@@ -43,7 +43,7 @@ typedef guint (* hash_db_item_key_fc) (const GDbItem *);
typedef gboolean (* cmp_db_item_key_fc) (const GDbItem *, const GDbItem *);
/* Effectue la comparaison entre deux éléments de collection. */
-typedef gint (* cmp_db_item_fc) (GDbItem *, GDbItem *, bool);
+typedef gint (* cmp_db_item_fc) (const GDbItem *, const GDbItem *);
/* Importe la définition d'une base d'éléments pour collection. */
typedef bool (* unpack_db_item_fc) (GDbItem *, packed_buffer *);
@@ -52,7 +52,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 char * (* build_item_label_fc) (GDbItem *);
+typedef char * (* build_item_label_fc) (const GDbItem *);
/* Exécute un élément de collection sur un binaire. */
typedef bool (* run_item_fc) (GDbItem *, GLoadedBinary *);
@@ -92,7 +92,6 @@ struct _GDbItemClass
hash_db_item_key_fc hash_key; /* Condensat de l'élément */
cmp_db_item_key_fc cmp_key; /* Comparaison en tant que clef*/
-
cmp_db_item_fc cmp; /* Comparaison entre éléments */
unpack_db_item_fc unpack; /* Réception depuis le réseau */