modules/tls/tls_mod.h
dd0647fb
 /*
  * $Id$
  *
31c1662e
  * TLS module - module interface
dd0647fb
  *
  * Copyright (C) 2001-2003 FhG FOKUS
  * Copyright (C) 2004,2005 Free Software Foundation, Inc.
  * Copyright (C) 2005 iptelorg GmbH
  *
9accd256
  * This file is part of sip-router, a free SIP server.
dd0647fb
  *
9accd256
  * sip-router is free software; you can redistribute it and/or modify
dd0647fb
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version
  *
9accd256
  * For a license to use the sip-router software under conditions
dd0647fb
  * other than those described here, or to purchase support for this
  * software, please contact iptel.org by e-mail at the following addresses:
  *    info@iptel.org
  *
9accd256
  * sip-router is distributed in the hope that it will be useful,
dd0647fb
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License 
  * along with this program; if not, write to the Free Software 
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
0c5b8352
 /** SIP-router TLS support :: module interface.
  * @file
  * @ingroup tls
  * Module: @ref tls
9accd256
  */
 
dd0647fb
 
 
 #ifndef _TLS_MOD_H
22595b7d
 #define _TLS_MOD_H
dd0647fb
 
 #include "../../str.h"
38a66479
 #include "../../locking.h"
 #include "tls_domain.h"
dd0647fb
 
b2aa9fd7
 extern int tls_con_lifetime;
dd0647fb
 extern int tls_log;
 extern int tls_session_cache;
 extern str tls_session_id;
0c5b8352
 extern int ssl_mode_release_buffers;
 extern int ssl_freelist_max_len;
 extern int ssl_max_send_fragment;
 extern int ssl_read_ahead;
38a66479
 
 /* Current TLS configuration */
36ed3b92
 extern tls_domains_cfg_t** tls_domains_cfg;
 extern gen_lock_t* tls_domains_cfg_lock;
38a66479
 
 extern tls_domain_t cli_defaults;
 extern tls_domain_t srv_defaults;
 
36ed3b92
 extern str tls_domains_cfg_file;
dd0647fb
 
 #endif /* _TLS_MOD_H */