Skip to content

Commit

Permalink
htable: revert usage of dmq nodes
Browse files Browse the repository at this point in the history
- back to v4.2.1 state
  • Loading branch information
miconda committed Jan 8, 2015
1 parent 486bfe7 commit 0dbf946
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions modules/htable/ht_dmq.c
Expand Up @@ -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";
Expand Down Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion modules/htable/ht_dmq.h
Expand Up @@ -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);
Expand Down

0 comments on commit 0dbf946

Please sign in to comment.