http.h

00001 /*
00002  * $Id$
00003  *
00004  * Copyright (C) 2005 iptelorg GmbH
00005  * Written by Jan Janak <jan@iptel.org>
00006  *
00007  * This file is part of SER, a free SIP server.
00008  *
00009  * SER is free software; you can redistribute it and/or modify it under the
00010  * terms of the GNU General Public License as published by the Free Software
00011  * Foundation; either version 2 of the License, or (at your option) any later
00012  * version
00013  *
00014  * For a license to use the SER software under conditions other than those
00015  * described here, or to purchase support for this software, please contact
00016  * iptel.org by e-mail at the following addresses: info@iptel.org
00017  *
00018  * SER is distributed in the hope that it will be useful, but WITHOUT ANY
00019  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
00020  * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
00021  * details.
00022  *
00023  * You should have received a copy of the GNU General Public License along
00024  * with this program; if not, write to the Free Software Foundation, Inc., 59
00025  * Temple Place, Suite 330, Boston, MA 02111-1307 USA
00026  */
00027 
00028 #include "../../parser/msg_parser.h"
00029 
00030 /*
00031  * Create a faked Via header field in HTTP requests
00032  */
00033 int create_via(sip_msg_t* msg, char* s1, char* s2);