summaryrefslogtreecommitdiff
path: root/src/analysis/scan/exprs/handler.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2023-11-15 00:53:22 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2023-11-15 00:59:10 (GMT)
commit025b364871c7a78ac03652dc6e47ee29e38199a0 (patch)
treec1de132b05edbbe9ece40b6b5cff253cda10b733 /src/analysis/scan/exprs/handler.c
parent50789d8c735178858411f67118bc73eb620f4e69 (diff)
Ban pattern count indexes sooner (from the grammar).
Diffstat (limited to 'src/analysis/scan/exprs/handler.c')
-rw-r--r--src/analysis/scan/exprs/handler.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/analysis/scan/exprs/handler.c b/src/analysis/scan/exprs/handler.c
index ea24443..ecc5a21 100644
--- a/src/analysis/scan/exprs/handler.c
+++ b/src/analysis/scan/exprs/handler.c
@@ -248,6 +248,29 @@ bool g_scan_pattern_handler_create(GScanPatternHandler *handler, GSearchPattern
/******************************************************************************
* *
* Paramètres : handler = instance à initialiser pleinement. *
+* *
+* Description : Indique le type de manipulation de correspondances spécifié. *
+* *
+* Retour : Type de manipulation de correspondances représentée. *
+* *
+* Remarques : - *
+* *
+******************************************************************************/
+
+ScanHandlerType g_scan_pattern_handler_get_handler_type(const GScanPatternHandler *handler)
+{
+ ScanHandlerType result; /* Nature à retourner */
+
+ result = handler->type;
+
+ return result;
+
+}
+
+
+/******************************************************************************
+* *
+* Paramètres : handler = instance à initialiser pleinement. *
* ctx = contexte de suivi de l'analyse courante. *
* count = quantité de correspondances enregistrées. [OUT] *
* *