diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2024-03-03 11:54:51 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2024-03-03 11:54:51 (GMT) |
commit | 7f25bd904e483ca90548c7001839a102090eb290 (patch) | |
tree | d19c48beb00ce3d3bbc38e5f801896f9ae406f99 /src/analysis/scan/context.h | |
parent | 28ef52f37784817c6590cdafc94aa9b356123802 (diff) |
Use a global allocator to store (partial) matches.
Diffstat (limited to 'src/analysis/scan/context.h')
-rw-r--r-- | src/analysis/scan/context.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/analysis/scan/context.h b/src/analysis/scan/context.h index 75190ce..c3b979d 100644 --- a/src/analysis/scan/context.h +++ b/src/analysis/scan/context.h @@ -33,7 +33,6 @@ #include "matches/area.h" #include "patterns/patid.h" #include "../content.h" -#include "../../glibext/umemslice.h" @@ -77,11 +76,11 @@ 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 *); -/* Fournit la liste des allocateurs mémorisant des emplacements. */ -GUMemSlice **g_scan_context_get_match_storages(GScanContext *, size_t *); +/* Retourne tous les correspondances partielles notées. */ +void g_scan_context_store_atom_match_end(GScanContext *, patid_t, phys_t); /* Retourne tous les correspondances partielles notées. */ -GUMemSlice *g_scan_context_get_atom_matches(const GScanContext *, patid_t); +match_area_t *g_scan_context_get_atom_matches(const GScanContext *, patid_t); /* Enregistre toutes les correspondances établies pour un motif. */ void g_scan_context_register_full_matches(GScanContext *, GSearchPattern *, GScanMatches *); |