forward.h
888ca09d
 /*
  *  $Id$
  */
 
 
 #ifndef forward_h
 #define forward_h
 
3881f12c
 #include "parser/msg_parser.h"
888ca09d
 #include "route.h"
4ac74c03
 #include "proxy.h"
36ef0329
 #include "ip_addr.h"
888ca09d
 
1b1b19d8
 
36ef0329
 struct socket_info* get_send_socket(union sockaddr_union* su);
855c2e68
 int check_self(str* host);
3e429f5c
 int forward_request( struct sip_msg* msg,  struct proxy_l* p);
4e2fdd79
 int update_sock_struct_from_via( union sockaddr_union* to,
 								struct via_body* via );
caf80ae6
 int update_sock_struct_from_ip( union sockaddr_union* to,
     struct sip_msg *msg );
4ac74c03
 int forward_reply( struct sip_msg* msg);
888ca09d
 
 #endif