cr_fixup.h

Go to the documentation of this file.
00001 /*
00002  * $Id: cr_fixup.h 5189 2008-11-12 15:53:01Z henningw $
00003  *
00004  * Copyright (C) 2007-2008 1&1 Internet AG
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  */
00023 
00024 /**
00025  * \file cr_fixup.h
00026  * \brief Fixup functions.
00027  * \ingroup carrierroute
00028  * - Module; \ref carrierroute
00029  */
00030 
00031 #ifndef CR_FIXUP_H
00032 #define CR_FIXUP_H
00033 
00034 
00035 /**
00036  * fixes the module functions' parameters, i.e. it maps
00037  * the routing domain names to numbers for faster access
00038  * at runtime
00039  *
00040  * @param param the parameter
00041  * @param param_no the number of the parameter
00042  *
00043  * @return 0 on success, -1 on failure
00044  */
00045 int cr_route_fixup(void ** param, int param_no);
00046 
00047 
00048 /**
00049  * Fixes the module functions' parameters.
00050  *
00051  * @param param the parameter
00052  * @param param_no the number of the parameter
00053  *
00054  * @return 0 on success, -1 on failure
00055  */
00056 int cr_load_user_carrier_fixup(void ** param, int param_no);
00057 
00058 
00059 /**
00060  * Fixes the module functions' parameters, i.e. it maps
00061  * the routing domain names to numbers for faster access
00062  * at runtime
00063  *
00064  * @param param the parameter
00065  * @param param_no the number of the parameter
00066  *
00067  * @return 0 on success, -1 on failure
00068  */
00069 int cr_load_next_domain_fixup(void ** param, int param_no);
00070 
00071 #endif

Generated on Mon May 21 18:00:25 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6