summaryrefslogtreecommitdiff
path: root/src/analysis/scan/context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis/scan/context.h')
-rw-r--r--src/analysis/scan/context.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/analysis/scan/context.h b/src/analysis/scan/context.h
index 563a53e..ff6b373 100644
--- a/src/analysis/scan/context.h
+++ b/src/analysis/scan/context.h
@@ -66,7 +66,7 @@ GType g_scan_context_get_type(void);
GScanContext *g_scan_context_new(GScanOptions *);
/* Fournit l'ensemble des options à respecter pour les analyses. */
-GScanOptions *g_scan_context_get_options(GScanContext *);
+GScanOptions *g_scan_context_get_options(const GScanContext *);
/* Fournit un identifiant unique pour un motif recherché. */
patid_t g_scan_context_get_new_pattern_id(GScanContext *);
@@ -77,6 +77,12 @@ void g_scan_context_set_content(GScanContext *, GBinContent *);
/* Fournit une référence au contenu principal analysé. */
GBinContent *g_scan_context_get_content(const GScanContext *);
+/* Indique si la phase d'analyse de contenu est terminée. */
+bool g_scan_context_is_scan_done(const GScanContext *);
+
+/* Note que la phase d'analyse de contenu est terminée. */
+void g_scan_context_mark_scan_as_done(GScanContext *);
+
/* Enregistre une correspondance partielle dans un contenu. */
void g_scan_context_register_atom_match(GScanContext *, patid_t, phys_t);
@@ -89,9 +95,6 @@ void g_scan_context_register_full_match(GScanContext *, GScanMatch *);
/* Fournit la liste de toutes les correspondances d'un motif. */
const GScanMatch **g_scan_context_get_full_matches(const GScanContext *, const GSearchPattern *, size_t *);
-/* Affiche les correspondances identifiées. */
-void g_scan_context_display(GScanContext *);
-
/* Intègre une condition de correspondance pour règle. */
bool g_scan_context_set_rule_condition(GScanContext *, const char *, const GScanExpression *);