Module: kamailio
Branch: master
Commit: 4fbbc544c2c860c24ab3e8d4a4eb362f7f626ee8
URL:
https://github.com/kamailio/kamailio/commit/4fbbc544c2c860c24ab3e8d4a4eb362…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-01-20T11:43:13+01:00
msilo: set parameter names in prototypes
- used in genrating the index for kemi exports
---
Modified: src/modules/msilo/msilo.c
---
Diff:
https://github.com/kamailio/kamailio/commit/4fbbc544c2c860c24ab3e8d4a4eb362…
Patch:
https://github.com/kamailio/kamailio/commit/4fbbc544c2c860c24ab3e8d4a4eb362…
---
diff --git a/src/modules/msilo/msilo.c b/src/modules/msilo/msilo.c
index 2f261d69bd..19c1beb1fd 100644
--- a/src/modules/msilo/msilo.c
+++ b/src/modules/msilo/msilo.c
@@ -146,8 +146,8 @@ static int ms_skip_notification_flag = -1;
static int mod_init(void);
static int child_init(int);
-static int m_store(struct sip_msg*, str*);
-static int m_dump(struct sip_msg*, str*);
+static int m_store(sip_msg_t *masg, str *owner_s);
+static int m_dump(sip_msg_t *msg, str *owner_s);
static int m_store_2(struct sip_msg*, char*, char*);
static int m_dump_2(struct sip_msg*, char*, char*);
@@ -544,7 +544,7 @@ static int get_non_mandatory_headers(struct sip_msg *msg, char *buf,
int buf_len
* = "2" -- look for outgoing URI only at to header
*/
-static int m_store(struct sip_msg* msg, str *owner_s)
+static int m_store(sip_msg_t* msg, str *owner_s)
{
str body, str_hdr, ctaddr;
struct to_body *pto, *pfrom;
@@ -935,7 +935,7 @@ static int ki_m_store(sip_msg_t* msg)
/**
* dump message
*/
-static int m_dump(struct sip_msg* msg, str* owner_s)
+static int m_dump(sip_msg_t* msg, str* owner_s)
{
struct to_body *pto = NULL;
db_key_t db_keys[3];
@@ -1652,4 +1652,4 @@ int mod_register(char *path, int *dlflags, void *p1, void *p2)
{
sr_kemi_modules_add(sr_kemi_msilo_exports);
return 0;
-}
\ No newline at end of file
+}