diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2023-08-18 00:07:39 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2023-08-18 00:07:39 (GMT) |
commit | 2424c52c4f3bc44ce5f36348442cfa103e0989c2 (patch) | |
tree | f68aea488f403b234d4fcc6fd6e0f7b88a628ac8 /src/analysis/scan/match.h | |
parent | 1c5a0e67186def152536d9c506e2e6c3a3a265c5 (diff) |
Create some modifiers and handle match properties inside ROST.
Diffstat (limited to 'src/analysis/scan/match.h')
-rw-r--r-- | src/analysis/scan/match.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/analysis/scan/match.h b/src/analysis/scan/match.h index 0990ae0..e713b5d 100644 --- a/src/analysis/scan/match.h +++ b/src/analysis/scan/match.h @@ -29,6 +29,7 @@ #include "pattern.h" +#include "../../common/szstr.h" @@ -53,8 +54,17 @@ GType g_scan_match_get_type(void); /* Indique la source du motif d'origine recherché. */ GSearchPattern *g_scan_match_get_source(const GScanMatch *); -/* Affiche une correspondance sur la sortie standard. */ -void g_scan_match_display(const GScanMatch *); +/* Affiche une correspondance au format texte. */ +void g_scan_match_output_to_text(const GScanMatch *, int); + +/* Convertit une correspondance en texte. */ +void g_scan_match_convert_as_text(const GScanMatch *); + +/* Affiche une correspondance au format JSON. */ +void g_scan_match_output_to_json(const GScanMatch *, const sized_string_t *, unsigned int, int, bool); + +/* Convertit une correspondance en JSON. */ +void g_scan_match_convert_as_json(const GScanMatch *); |