Module: kamailio
Branch: master
Commit: a5fc02623c1489d1e46c2f352703e8bdcf808ec2
URL:
https://github.com/kamailio/kamailio/commit/a5fc02623c1489d1e46c2f352703e8b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-04-16T16:32:54+02:00
pv: format new xavp functions declaration lines to be matched by kemi docs tool
---
Modified: src/modules/pv/pv.c
---
Diff:
https://github.com/kamailio/kamailio/commit/a5fc02623c1489d1e46c2f352703e8b…
Patch:
https://github.com/kamailio/kamailio/commit/a5fc02623c1489d1e46c2f352703e8b…
---
diff --git a/src/modules/pv/pv.c b/src/modules/pv/pv.c
index 36cb4a0f03..2574148c04 100644
--- a/src/modules/pv/pv.c
+++ b/src/modules/pv/pv.c
@@ -1394,7 +1394,11 @@ static sr_kemi_xval_t* ki_xavp_getw(sip_msg_t *msg, str *rname)
return ki_xavp_get_mode(msg, rname, SR_KEMI_XVAL_NULL_PRINT);
}
+/**
+ *
+ */
sr_kemi_dict_item_t* ki_xavp_dict(sr_xavp_t *xavp);
+
/**
* SR_KEMIP_ARRAY with values of xavp=>name
*/
@@ -1480,7 +1484,8 @@ sr_kemi_dict_item_t* ki_xavp_dict_name(sr_xavp_t *xavp, str name)
/**
* SR_KEMIP_DICT of xavp
*/
-sr_kemi_dict_item_t* ki_xavp_dict(sr_xavp_t *xavp) {
+sr_kemi_dict_item_t* ki_xavp_dict(sr_xavp_t *xavp)
+{
sr_xavp_t *avp = NULL;
struct str_list *keys;
struct str_list *k;
@@ -1534,8 +1539,7 @@ sr_kemi_dict_item_t* ki_xavp_dict(sr_xavp_t *xavp) {
/**
*
*/
-static sr_kemi_xval_t*
-ki_xavp_getd_helper(sip_msg_t *msg, str *rname, int *_indx)
+static sr_kemi_xval_t* ki_xavp_getd_helper(sip_msg_t *msg, str *rname, int *_indx)
{
sr_xavp_t *xavp=NULL;
int xavp_size = 0;
@@ -1589,8 +1593,7 @@ ki_xavp_getd_helper(sip_msg_t *msg, str *rname, int *_indx)
/**
*
*/
-static sr_kemi_xval_t*
-ki_xavp_getd(sip_msg_t *msg, str *rname)
+static sr_kemi_xval_t* ki_xavp_getd(sip_msg_t *msg, str *rname)
{
return ki_xavp_getd_helper(msg, rname, NULL);
}
@@ -1598,8 +1601,7 @@ ki_xavp_getd(sip_msg_t *msg, str *rname)
/**
*
*/
-static sr_kemi_xval_t*
-ki_xavp_getd_p1(sip_msg_t *msg, str *rname, int indx)
+static sr_kemi_xval_t* ki_xavp_getd_p1(sip_msg_t *msg, str *rname, int indx)
{
return ki_xavp_getd_helper(msg, rname, &indx);
}
@@ -1607,8 +1609,8 @@ ki_xavp_getd_p1(sip_msg_t *msg, str *rname, int indx)
/**
*
*/
-static sr_kemi_xval_t*
-ki_xavp_get_keys(sip_msg_t *msg, str *rname, int indx) {
+static sr_kemi_xval_t* ki_xavp_get_keys(sip_msg_t *msg, str *rname, int indx)
+{
sr_xavp_t *xavp=NULL;
struct str_list *keys, *k;
sr_kemi_dict_item_t *val;