[sr-dev] git:master:9601f651: pv_headers: update kemi exports signatures to match c code

Daniel-Constantin Mierla miconda at gmail.com
Mon Apr 18 09:18:08 CEST 2022


Module: kamailio
Branch: master
Commit: 9601f651ecdbf5e816f15fc6aedce9981d4afae7
URL: https://github.com/kamailio/kamailio/commit/9601f651ecdbf5e816f15fc6aedce9981d4afae7

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2022-04-18T09:16:34+02:00

pv_headers: update kemi exports signatures to match c code

---

Modified: src/modules/pv_headers/pv_headers.c

---

Diff:  https://github.com/kamailio/kamailio/commit/9601f651ecdbf5e816f15fc6aedce9981d4afae7.diff
Patch: https://github.com/kamailio/kamailio/commit/9601f651ecdbf5e816f15fc6aedce9981d4afae7.patch

---

diff --git a/src/modules/pv_headers/pv_headers.c b/src/modules/pv_headers/pv_headers.c
index be43bb29f4..fb20dfcc02 100644
--- a/src/modules/pv_headers/pv_headers.c
+++ b/src/modules/pv_headers/pv_headers.c
@@ -590,13 +590,13 @@ static sr_kemi_t pvh_kemi_exports[] = {
 	},
 	{ str_init("pv_headers"), str_init("pvh_header_param_exists"),
 		SR_KEMIP_INT, pvh_header_param_exists,
-			{ SR_KEMIP_STR, SR_KEMIP_INT, SR_KEMIP_NONE,
+			{ SR_KEMIP_STR, SR_KEMIP_STR, SR_KEMIP_NONE,
 				SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE}
 	},
 	{ str_init("pv_headers"), str_init("pvh_remove_header_param"),
 		SR_KEMIP_INT, pvh_remove_header_param,
-			{ SR_KEMIP_STR, SR_KEMIP_INT, SR_KEMIP_NONE,
-				SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE}
+			{ SR_KEMIP_INT, SR_KEMIP_STR, SR_KEMIP_STR,
+				SR_KEMIP_STR, 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