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/scanner.h | |
parent | 1c5a0e67186def152536d9c506e2e6c3a3a265c5 (diff) |
Create some modifiers and handle match properties inside ROST.
Diffstat (limited to 'src/analysis/scan/scanner.h')
-rw-r--r-- | src/analysis/scan/scanner.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/analysis/scan/scanner.h b/src/analysis/scan/scanner.h index f838344..58dbe19 100644 --- a/src/analysis/scan/scanner.h +++ b/src/analysis/scan/scanner.h @@ -32,6 +32,7 @@ #include "expr.h" #include "options.h" #include "rule.h" +#include "../../common/szstr.h" @@ -71,6 +72,18 @@ bool g_content_scanner_add_rule(GContentScanner *, GScanRule *); /* Définit l'expression d'une correspondance recherchée. */ GScanContext *g_content_scanner_analyze(GContentScanner *, GScanOptions *, GBinContent *); +/* Affiche un gestionnaire de recherches au format texte. */ +void g_content_scanner_output_to_text(const GContentScanner *, GScanContext *, int); + +/* Convertit un gestionnaire de recherches en texte. */ +void g_content_scanner_convert_as_text(const GContentScanner *, GScanContext *); + +/* Affiche un gestionnaire de recherches au format JSON. */ +void g_content_scanner_output_to_json(const GContentScanner *, GScanContext *, const sized_string_t *, unsigned int, int); + +/* Convertit un gestionnaire de recherches en JSON. */ +void g_content_scanner_convert_as_json(const GContentScanner *, GScanContext *); + #endif /* _ANALYSIS_SCAN_SCANNER_H */ |