Module: sip-router
Branch: master
Commit: 1f8f46a3a8f9ecf4d52086f3bb98483e6242aac6
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1f8f46a…
Author: Jan Janak <jan(a)iptel.org>
Committer: Jan Janak <jan(a)iptel.org>
Date: Tue Mar 17 21:03:46 2009 +0100
Adding send_sock to the dlg_t structure.
This patch adds a pointer to the socket to be used for sending into
the dlg_t structure. The pointer is not yet used, we will add the
code to use the socket later.
---
modules/tm/dlg.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/tm/dlg.h b/modules/tm/dlg.h
index 2594ce3..8a3a153 100644
--- a/modules/tm/dlg.h
+++ b/modules/tm/dlg.h
@@ -35,6 +35,7 @@
#include <stdio.h>
#include "../../str.h"
+#include "../../ip_addr.h"
#include "../../parser/parse_rr.h"
#include "../../parser/msg_parser.h"
@@ -118,6 +119,7 @@ typedef struct dlg {
* can be reused when building a message (to
* prevent repeated analyzing of the dialog data
*/
+ struct socket_info* send_sock;
#ifdef DIALOG_CALLBACKS
struct tmcb_head_list dlg_callbacks;
#endif