/*$Id$
 * 
 */

#ifndef  _MSG_TRANSLATOR_H
#define _MSG_TRANSLATOR_H

#define MY_HF_SEP ": "
#define MY_HF_SEP_LEN 2

#include "parser/msg_parser.h"

char * build_req_buf_from_sip_req (	struct sip_msg* msg, 
				unsigned int *returned_len);

char * build_res_buf_from_sip_res(	struct sip_msg* msg,
				unsigned int *returned_len);

char * build_res_buf_from_sip_req(	unsigned int code ,
				char *text ,
				char *new_tag ,
				unsigned int new_tag_len ,
				struct sip_msg* msg,
				unsigned int *returned_len);
char* via_builder( 			struct sip_msg *msg ,
				unsigned int *len );


#endif