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