diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2024-02-20 08:11:17 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2024-02-20 08:11:17 (GMT) |
commit | 26f93f593542cc550107744e92f95e9516e7435e (patch) | |
tree | 058cf883324274965356beb42398c387c0e49217 /src/analysis/scan/matches.h | |
parent | 30e56f25772247d76c7775d32ccd5b5a0661d3bf (diff) |
Share GObject instances between scan contexts and matches.
Diffstat (limited to 'src/analysis/scan/matches.h')
-rw-r--r-- | src/analysis/scan/matches.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/analysis/scan/matches.h b/src/analysis/scan/matches.h index 345db96..26e54ed 100644 --- a/src/analysis/scan/matches.h +++ b/src/analysis/scan/matches.h @@ -51,6 +51,12 @@ typedef struct _GScanMatchesClass GScanMatchesClass; /* Indique le type défini pour une série de correspondances identifiées. */ GType g_scan_matches_get_type(void); +/* Associe des éléments de contexte à des correspondances. */ +void g_scan_matches_attach(GScanMatches *, const GScanContext *, const GSearchPattern *); + +/* Fournit le contexte du scan associé aux correspondances. */ +GScanContext *g_scan_bytes_matches_get_context(const GScanMatches *); + /* Indique la source du motif d'origine recherché. */ GSearchPattern *g_scan_matches_get_source(const GScanMatches *); |