00001 /* 00002 * $Id: speeddial.h 4585 2008-08-06 08:20:30Z klaus_darilion $ 00003 * 00004 * Copyright (C) 2004-2006 Voice Sistem SRL 00005 * 00006 * This file is part of Kamailio. 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 * History: 00023 * --------- 00024 * 00025 */ 00026 00027 00028 #ifndef _SPEEDDIAL_H_ 00029 #define _SPEEDDIAL_H_ 00030 00031 #include "../../db/db.h" 00032 #include "../../parser/msg_parser.h" 00033 00034 00035 /* Module parameters variables */ 00036 00037 extern str user_column; /* 'username' column name */ 00038 extern str domain_column; /* 'domain' column name */ 00039 extern str sd_user_column; /* 'sd_username' column name */ 00040 extern str sd_domain_column; /* 'sd_domain' column name */ 00041 extern str new_uri_column; /* 'new_uri' column name */ 00042 extern int use_domain; /* use or not the domain for sd lookup */ 00043 extern str dstrip_s; 00044 00045 extern db_func_t db_funcs; /* Database functions */ 00046 extern db_con_t* db_handle; /* Database connection handle */ 00047 00048 #endif /* _SPEEDDIAL_H_ */
1.5.6