Browse code

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.

Jan Janak authored on 17/03/2009 20:03:46
Showing 1 changed files
... ...
@@ -35,6 +35,7 @@
35 35
 
36 36
 #include <stdio.h>
37 37
 #include "../../str.h"
38
+#include "../../ip_addr.h"
38 39
 #include "../../parser/parse_rr.h"
39 40
 #include "../../parser/msg_parser.h"
40 41
 
... ...
@@ -118,6 +119,7 @@ typedef struct dlg {
118 119
 				 * can be reused when building a message (to
119 120
 				 * prevent repeated analyzing of the dialog data
120 121
 				 */
122
+	struct socket_info* send_sock;
121 123
 #ifdef DIALOG_CALLBACKS
122 124
 	struct tmcb_head_list dlg_callbacks;
123 125
 #endif