Bladeren bron

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 16 jaren geleden
bovenliggende
commit
1f8f46a3a8
1 gewijzigde bestanden met toevoegingen van 2 en 0 verwijderingen
  1. 2 0
      modules/tm/dlg.h

+ 2 - 0
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