t_fwd.h

Go to the documentation of this file.
00001 /*
00002  * $Id: t_fwd.h 5003 2008-09-26 11:01:51Z henningw $
00003  *
00004  * Copyright (C) 2001-2003 FhG Fokus
00005  *
00006  * This file is part of Kamailio, a free SIP server.
00007  *
00008  * Kamailio is free software; you can redistribute it and/or modify
00009  * it under the terms of the GNU General Public License as published by
00010  * the Free Software Foundation; either version 2 of the License, or
00011  * (at your option) any later version
00012  *
00013  * Kamailio is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016  * GNU General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU General Public License 
00019  * along with this program; if not, write to the Free Software 
00020  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00021  *
00022  * History:
00023  * --------
00024  *  2003-02-18  added proto to various function prototypes (andrei)
00025  */
00026 
00027 /*! \file
00028  * \brief TM :: Forward messages
00029  *
00030  * \ingroup tm
00031  * - Module: \ref tm
00032  */
00033 
00034 
00035 
00036 #ifndef _T_FWD_H
00037 #define _T_FWD_H
00038 
00039 #include "../../proxy.h"
00040 #include "../../str.h"
00041 
00042 typedef int (*taddblind_f)( /*struct cell *t */ );
00043 
00044 void e2e_cancel( struct sip_msg *cancel_msg, struct cell *t_cancel,
00045       struct cell *t_invite );
00046 
00047 int e2e_cancel_branch( struct sip_msg *cancel_msg, struct cell *t_cancel,
00048       struct cell *t_invite, int branch );
00049 
00050 int add_blind_uac(void);
00051 
00052 int t_replicate(struct sip_msg *p_msg, str *dst, int flags);
00053 
00054 int t_forward_nonack( struct cell *t, struct sip_msg* p_msg,
00055       struct proxy_l * p);
00056 
00057 int t_forward_ack( struct sip_msg* p_msg );
00058 
00059 void t_on_branch( unsigned int go_to );
00060 
00061 unsigned int get_on_branch(void);
00062 
00063 #endif
00064 
00065 

Generated on Thu May 24 20:00:32 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6