tls_mod.h

Go to the documentation of this file.
00001 /*
00002  * $Id$
00003  *
00004  * TLS module - module interface
00005  *
00006  * Copyright (C) 2001-2003 FhG FOKUS
00007  * Copyright (C) 2004,2005 Free Software Foundation, Inc.
00008  * Copyright (C) 2005 iptelorg GmbH
00009  *
00010  * This file is part of sip-router, a free SIP server.
00011  *
00012  * sip-router is free software; you can redistribute it and/or modify
00013  * it under the terms of the GNU General Public License as published by
00014  * the Free Software Foundation; either version 2 of the License, or
00015  * (at your option) any later version
00016  *
00017  * For a license to use the sip-router software under conditions
00018  * other than those described here, or to purchase support for this
00019  * software, please contact iptel.org by e-mail at the following addresses:
00020  *    info@iptel.org
00021  *
00022  * sip-router is distributed in the hope that it will be useful,
00023  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00024  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00025  * GNU General Public License for more details.
00026  *
00027  * You should have received a copy of the GNU General Public License 
00028  * along with this program; if not, write to the Free Software 
00029  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00030  */
00039 #ifndef _TLS_MOD_H
00040 #define _TLS_MOD_H
00041 
00042 #include "../../str.h"
00043 #include "../../locking.h"
00044 #include "tls_domain.h"
00045 
00046 
00047 /* Current TLS configuration */
00048 extern tls_domains_cfg_t** tls_domains_cfg;
00049 extern gen_lock_t* tls_domains_cfg_lock;
00050 
00051 extern tls_domain_t cli_defaults;
00052 extern tls_domain_t srv_defaults;
00053 
00054 extern str tls_domains_cfg_file;
00055 
00056 extern int sr_tls_renegotiation;
00057 
00058 #endif /* _TLS_MOD_H */