tls_mod.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /*
  2. * $Id$
  3. *
  4. * TLS module - module interface
  5. *
  6. * Copyright (C) 2001-2003 FhG FOKUS
  7. * Copyright (C) 2004,2005 Free Software Foundation, Inc.
  8. * Copyright (C) 2005 iptelorg GmbH
  9. *
  10. * This file is part of sip-router, a free SIP server.
  11. *
  12. * sip-router is free software; you can redistribute it and/or modify
  13. * it under the terms of the GNU General Public License as published by
  14. * the Free Software Foundation; either version 2 of the License, or
  15. * (at your option) any later version
  16. *
  17. * For a license to use the sip-router software under conditions
  18. * other than those described here, or to purchase support for this
  19. * software, please contact iptel.org by e-mail at the following addresses:
  20. * [email protected]
  21. *
  22. * sip-router is distributed in the hope that it will be useful,
  23. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  24. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  25. * GNU General Public License for more details.
  26. *
  27. * You should have received a copy of the GNU General Public License
  28. * along with this program; if not, write to the Free Software
  29. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  30. */
  31. /** SIP-router TLS support :: module interface.
  32. * @file
  33. * @ingroup tls
  34. * Module: @ref tls
  35. */
  36. #ifndef _TLS_MOD_H
  37. #define _TLS_MOD_H
  38. #include "../../str.h"
  39. #include "../../locking.h"
  40. #include "tls_domain.h"
  41. /* Current TLS configuration */
  42. extern tls_domains_cfg_t** tls_domains_cfg;
  43. extern gen_lock_t* tls_domains_cfg_lock;
  44. extern tls_domain_t cli_defaults;
  45. extern tls_domain_t srv_defaults;
  46. extern str tls_domains_cfg_file;
  47. extern int sr_tls_renegotiation;
  48. #endif /* _TLS_MOD_H */