modules_k/dispatcher/config.h

Go to the documentation of this file.
00001 /*
00002  * $Id$
00003  *
00004  * SIP-router is distributed in the hope that it will be useful,
00005  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00006  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00007  * GNU General Public License for more details.
00008  *
00009  * You should have received a copy of the GNU General Public License 
00010  * along with this program; if not, write to the Free Software 
00011  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00012  */
00013 
00021 #ifndef _DISPATCHER_CONFIG_H
00022 #define _DISPATCHER_CONFIG_H
00023 
00024 #include "../../qvalue.h"
00025 
00026 #include "../../cfg/cfg.h"
00027 #include "../../str.h"
00028 
00029 struct cfg_group_dispatcher {
00030         int probing_threshhold;
00031         str ds_ping_reply_codes_str;
00032 };
00033 
00034 extern struct cfg_group_dispatcher      default_dispatcher_cfg;
00035 extern void     *dispatcher_cfg;
00036 extern cfg_def_t        dispatcher_cfg_def[];
00037 
00038 extern void ds_ping_reply_codes_update(str*, str*);
00039 
00040 #endif