Module: kamailio
Branch: 4.2
Commit: 0dbf946ac54611b0ea359799f8e007b1851f3122
URL: 
https://github.com/kamailio/kamailio/commit/0dbf946ac54611b0ea359799f8e007b1851f3122

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2015-01-08T18:02:30+01:00

htable: revert usage of dmq nodes

- back to v4.2.1 state

---

Modified: modules/htable/ht_dmq.c
Modified: modules/htable/ht_dmq.h

---

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

---

diff --git a/modules/htable/ht_dmq.c b/modules/htable/ht_dmq.c
index 7fa2959..284c3dc 100644
--- a/modules/htable/ht_dmq.c
+++ b/modules/htable/ht_dmq.c
@@ -59,7 +59,6 @@ int ht_dmq_initialize()
         }
 
        not_peer.callback = ht_dmq_handle_msg;
-       not_peer.init_callback = NULL;
        not_peer.description.s = "htable";
        not_peer.description.len = 6;
        not_peer.peer_id.s = "htable";
@@ -89,7 +88,7 @@ int ht_dmq_broadcast(str* body) {
 /**
  * @brief ht dmq callback
  */
-int ht_dmq_handle_msg(struct sip_msg* msg, peer_reponse_t* resp, dmq_node_t* 
dmq_node)
+int ht_dmq_handle_msg(struct sip_msg* msg, peer_reponse_t* resp)
 {
        int content_length;
        str body;
diff --git a/modules/htable/ht_dmq.h b/modules/htable/ht_dmq.h
index e9189ec..7a0ca88 100644
--- a/modules/htable/ht_dmq.h
+++ b/modules/htable/ht_dmq.h
@@ -40,7 +40,7 @@ typedef enum {
 } ht_dmq_action_t;
 
 int ht_dmq_initialize();
-int ht_dmq_handle_msg(struct sip_msg* msg, peer_reponse_t* resp, dmq_node_t* 
dmq_node);
+int ht_dmq_handle_msg(struct sip_msg* msg, peer_reponse_t* resp);
 int ht_dmq_replicate_action(ht_dmq_action_t action, str* htname, str* cname, 
int type, int_str* val, int mode);
 int ht_dmq_replay_action(ht_dmq_action_t action, str* htname, str* cname, int 
type, int_str* val, int mode);
 int ht_dmq_resp_callback_f(struct sip_msg* msg, int code, dmq_node_t* node, 
void* param);


_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to