rd_funcs.h

Go to the documentation of this file.
00001 /*
00002  * $Id: rd_funcs.h 4918 2008-09-15 16:53:10Z carstenbock $
00003  *
00004  * Copyright (C) 2005 Voice Sistem SRL
00005  *
00006  * This file is part of Kamailio, a free SIP server.
00007  *
00008  * Kamailio is free software; you can redistribute it and/or
00009  * modify it under the terms of the GNU General Public License
00010  * as published by the Free Software Foundation; either version 2
00011  * of the License, or (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  *
00023  * History:
00024  * ---------
00025  *  2005-06-22  first version (bogdan)
00026  */
00027 
00028 
00029 #ifndef _TM_T_REDIRECT_H
00030 #define _TM_T_REDIRECT_H
00031 
00032 #include "../../parser/msg_parser.h"
00033 #include "../../sr_module.h"
00034 #include "../../str.h"
00035 #include "../tm/tm_load.h"
00036 #include "../acc/acc_logic.h"
00037 
00038 typedef int (*tm_get_trans_f)( struct sip_msg*, struct cell**);
00039 
00040 extern struct tm_binds rd_tmb;
00041 extern cmd_function   rd_acc_fct;
00042 
00043 extern char *acc_db_table;
00044 
00045 int get_redirect( struct sip_msg *msg , int maxt, int maxb,
00046       struct acc_param *reason, unsigned int bflags);
00047 
00048 #endif
00049 

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