[sr-dev] git:master:56e93559: textopsx: hf iterator functions exported to kemi

Daniel-Constantin Mierla miconda at gmail.com
Sat Jul 10 06:47:33 CEST 2021


Module: kamailio
Branch: master
Commit: 56e935595a60e2c7c5c92fa8438941ea68436c23
URL: https://github.com/kamailio/kamailio/commit/56e935595a60e2c7c5c92fa8438941ea68436c23

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2021-07-10T06:47:19+02:00

textopsx: hf iterator functions exported to kemi

---

Modified: src/modules/textopsx/textopsx.c

---

Diff:  https://github.com/kamailio/kamailio/commit/56e935595a60e2c7c5c92fa8438941ea68436c23.diff
Patch: https://github.com/kamailio/kamailio/commit/56e935595a60e2c7c5c92fa8438941ea68436c23.patch

---

diff --git a/src/modules/textopsx/textopsx.c b/src/modules/textopsx/textopsx.c
index d3295bf02c..362cbee0e1 100644
--- a/src/modules/textopsx/textopsx.c
+++ b/src/modules/textopsx/textopsx.c
@@ -2591,6 +2591,21 @@ static sr_kemi_t sr_kemi_textopsx_exports[] = {
 		{ SR_KEMIP_STR, SR_KEMIP_STR, SR_KEMIP_NONE,
 			SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
 	},
+	{ str_init("textopsx"), str_init("hf_iterator_start"),
+		SR_KEMIP_INT, ki_hf_iterator_start,
+		{ SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE,
+			SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
+	},
+	{ str_init("textopsx"), str_init("hf_iterator_end"),
+		SR_KEMIP_INT, ki_hf_iterator_end,
+		{ SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE,
+			SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
+	},
+	{ str_init("textopsx"), str_init("hf_iterator_next"),
+		SR_KEMIP_INT, ki_hf_iterator_next,
+		{ SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE,
+			SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
+	},
 
 	{ {0, 0}, {0, 0}, 0, NULL, { 0, 0, 0, 0, 0, 0 } }
 };




More information about the sr-dev mailing list