forward.h
888ca09d
 /*
  *  $Id$
  */
 
 
 #ifndef forward_h
 #define forward_h
 
 #include "msg_parser.h"
 #include "route.h"
 
1b1b19d8
 
 int check_address(unsigned long ip, char *name, int resolver);
 
888ca09d
 int forward_request(char * orig, char* buf, unsigned int len,
1b1b19d8
 					 struct sip_msg* msg,  struct route_elem* re,
 					 unsigned long source_ip);
888ca09d
 
 int forward_reply(char * orig, char* buf, unsigned int len, 
 					struct sip_msg* msg);
 
 #endif