diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2023-09-12 21:49:01 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2023-09-12 21:49:01 (GMT) |
commit | 6f160d1b1e1bfdd06414d5b6c49a0c9d9fc8a830 (patch) | |
tree | 2b2cfc9d1641a6fcf4c2be5578d35fda2585fb1a /src/analysis/scan/rule.h | |
parent | fef46dc1537e3302ac7bab653d24495c570e1d5c (diff) |
Complete the output of scan results (text or JSON).
Diffstat (limited to 'src/analysis/scan/rule.h')
-rw-r--r-- | src/analysis/scan/rule.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/analysis/scan/rule.h b/src/analysis/scan/rule.h index 7ade51b..6ab5105 100644 --- a/src/analysis/scan/rule.h +++ b/src/analysis/scan/rule.h @@ -84,13 +84,13 @@ void g_scan_rule_check(GScanRule *, GEngineBackend *, GScanContext *); void g_scan_rule_output_to_text(const GScanRule *, GScanContext *, bool, int); /* Convertit une règle en texte. */ -void g_scan_rule_convert_as_text(const GScanRule *, GScanContext *); +char *g_scan_rule_convert_as_text(const GScanRule *, GScanContext *); /* Affiche une règle au format JSON. */ void g_scan_rule_output_to_json(const GScanRule *, GScanContext *, const sized_string_t *, unsigned int, int, bool); /* Convertit une règle en JSON. */ -void g_scan_rule_convert_as_json(const GScanRule *, GScanContext *); +char *g_scan_rule_convert_as_json(const GScanRule *, GScanContext *); |