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.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/analysis/scan/scanner.h b/src/analysis/scan/scanner.h
index 8a3919a..f838344 100644
--- a/src/analysis/scan/scanner.h
+++ b/src/analysis/scan/scanner.h
@@ -59,19 +59,18 @@ GContentScanner *g_content_scanner_new_from_text(const char *);
/* Prépare une recherche de motifs dans du contenu binaire. */
GContentScanner *g_content_scanner_new_from_file(const char *);
+/* Indique le chemin d'un éventuel fichier de source. */
+const char *g_content_scanner_get_filename(const GContentScanner *);
+
+/* Inclut les définitions d'un fichier de règles externe. */
+bool g_content_scanner_include_resource(GContentScanner *, const char *);
+
/* Intègre une nouvelle règle de détection. */
-void g_content_scanner_add_rule(GContentScanner *, GScanRule *);
+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 *);
-
-
-/* Lance une analyse d'un élément, fichier ou répertoire. */
-//void g_content_scanner_analyze(GContentScanner *, const char *);
-
-
-
#endif /* _ANALYSIS_SCAN_SCANNER_H */