summaryrefslogtreecommitdiff
path: root/src/analysis/db/collection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis/db/collection.h')
-rw-r--r--src/analysis/db/collection.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/analysis/db/collection.h b/src/analysis/db/collection.h
index f190acc..e550009 100644
--- a/src/analysis/db/collection.h
+++ b/src/analysis/db/collection.h
@@ -60,7 +60,8 @@ GType g_db_collection_get_type(void);
/* Prépare la mise en place d'une nouvelle collection. */
GDbCollection *g_db_collection_new(uint32_t, GType, const char *);
-
+/* Attache à une collection un binaire pour les éléments listés. */
+void g_db_collection_link_to_binary(GDbCollection *, GLoadedBinary *);
/* Décrit le type des éléments rassemblées dans une collection. */
uint32_t g_db_collection_get_feature(const GDbCollection *);
@@ -125,6 +126,9 @@ bool g_db_collection_load_all_items(GDbCollection *, sqlite3 *);
/* ------------------- CREATION DE L'ABSTRACTION POUR COLLECTIONS ------------------- */
+/* Attache un binaire à une série de collections. */
+void attach_binary_to_collections(GList *, GLoadedBinary *);
+
/* Recherche une collection correspondant à un type donné. */
GDbCollection *find_collection_in_list(GList *, uint32_t);