[sr-dev] git:5.1:a0de4bce: msilo: set parameter names in prototypes

Daniel-Constantin Mierla miconda at gmail.com
Mon Jan 22 11:30:27 CET 2018


Module: kamailio
Branch: 5.1
Commit: a0de4bce7c09d361e2d912ebe8cfcb76a72dac5c
URL: https://github.com/kamailio/kamailio/commit/a0de4bce7c09d361e2d912ebe8cfcb76a72dac5c

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2018-01-22T11:25:38+01:00

msilo: set parameter names in prototypes

- used in genrating the index for kemi exports

(cherry picked from commit 4fbbc544c2c860c24ab3e8d4a4eb362f7f626ee8)

---

Modified: src/modules/msilo/msilo.c

---

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

---

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
+}




More information about the sr-dev mailing list