- ipv6 support (-DUSE_IPV6)
[sip-router] / msg_translator.h
1 /*$Id$
2  * 
3  */
4
5 #ifndef  _MSG_TRANSLATOR_H
6 #define _MSG_TRANSLATOR_H
7
8 #define MY_HF_SEP ": "
9 #define MY_HF_SEP_LEN 2
10
11 #include "parser/msg_parser.h"
12
13 char * build_req_buf_from_sip_req (     struct sip_msg* msg, 
14                                 unsigned int *returned_len);
15
16 char * build_res_buf_from_sip_res(      struct sip_msg* msg,
17                                 unsigned int *returned_len);
18
19 char * build_res_buf_from_sip_req(      unsigned int code ,
20                                 char *text ,
21                                 char *new_tag ,
22                                 unsigned int new_tag_len ,
23                                 struct sip_msg* msg,
24                                 unsigned int *returned_len);
25 char* via_builder(                      struct sip_msg *msg ,
26                                 unsigned int *len );
27
28
29 #endif