Module: kamailio
Branch: master
Commit: 3017abf74d770adf6574159a11409060cb63837d
URL:
https://github.com/kamailio/kamailio/commit/3017abf74d770adf6574159a1140906…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-01-08T13:33:34+01:00
core: kemi - exposed set drop flag function
---
Modified: src/core/kemi.c
Modified: src/core/kemi.h
---
Diff:
https://github.com/kamailio/kamailio/commit/3017abf74d770adf6574159a1140906…
Patch:
https://github.com/kamailio/kamailio/commit/3017abf74d770adf6574159a1140906…
---
diff --git a/src/core/kemi.c b/src/core/kemi.c
index 1b880a1..86c08d5 100644
--- a/src/core/kemi.c
+++ b/src/core/kemi.c
@@ -115,7 +115,7 @@ static int sr_kemi_core_log(sip_msg_t *msg, str *level, str *txt)
/**
*
*/
-static int sr_kemi_core_drop(sip_msg_t *msg)
+int sr_kemi_core_drop(sip_msg_t *msg)
{
if(_sr_kemi_act_ctx==NULL)
return 0;
diff --git a/src/core/kemi.h b/src/core/kemi.h
index 4145950..df8ae5e 100644
--- a/src/core/kemi.h
+++ b/src/core/kemi.h
@@ -124,4 +124,6 @@ run_act_ctx_t* sr_kemi_act_ctx_get(void);
str *sr_kemi_param_map_get_name(int ptype);
str *sr_kemi_param_map_get_params(int *ptypes);
+int sr_kemi_core_drop(sip_msg_t *msg);
+
#endif