summaryrefslogtreecommitdiff
path: root/src/analysis/db/analyst.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2021-08-01 16:46:12 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2021-08-01 16:46:12 (GMT)
commit2ea2e6080eec1b06bbd4607203d34f38b75c80f3 (patch)
tree75cd34437eef2a055616a4554211c96c4e7f9d41 /src/analysis/db/analyst.h
parent76227d352c21332d1f19e812e157307bdc6c9cf5 (diff)
Extend the protocol to store the analyzed binary content.
Diffstat (limited to 'src/analysis/db/analyst.h')
-rw-r--r--src/analysis/db/analyst.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/analysis/db/analyst.h b/src/analysis/db/analyst.h
index d9e90c6..7b11f53 100644
--- a/src/analysis/db/analyst.h
+++ b/src/analysis/db/analyst.h
@@ -33,6 +33,7 @@
#include "client.h"
#include "collection.h"
#include "misc/snapshot.h"
+#include "../content.h"
@@ -57,6 +58,9 @@ GType g_analyst_client_get_type(void);
/* Prépare un client pour une connexion à une BD. */
GAnalystClient *g_analyst_client_new(const char *, GList *);
+/* Envoie un contenu binaire pour conservation côté serveur. */
+bool g_analyst_client_send_content(GAnalystClient *, GBinContent *);
+
/* Effectue une demande de sauvegarde de l'état courant. */
bool g_analyst_client_save(GAnalystClient *);