msg_translator.h
9d045b03
 /*$Id$
  * 
  */
 
26b939c6
 #ifndef  _MSG_TRANSLATOR_H
 #define _MSG_TRANSLATOR_H
 
68a3fc65
 #define MY_HF_SEP ": "
 #define MY_HF_SEP_LEN 2
 
26b939c6
 #include "msg_parser.h"
 
9d045b03
 char * build_req_buf_from_sip_req (	struct sip_msg* msg, 
 									unsigned int *returned_len);
26b939c6
 
9d045b03
 char * build_res_buf_from_sip_res(	struct sip_msg* msg,
 									unsigned int *returned_len);
5843cd1b
 
9d045b03
 char * build_res_buf_from_sip_req(	unsigned int code , 
 									char *text ,
 									struct sip_msg* msg,
 									unsigned int *returned_len);
26b939c6
 
 
 
 
 #endif