summaryrefslogtreecommitdiff
path: root/src/analysis/scan/scanner.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis/scan/scanner.h')
-rw-r--r--src/analysis/scan/scanner.h13
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 */