tls_config.h

Go to the documentation of this file.
00001 /*
00002  * $Id$
00003  *
00004  * TLS module - Configuration file parser
00005  *
00006  * Copyright (C) 2001-2003 FhG FOKUS
00007  * Copyright (C) 2004,2005 Free Software Foundation, Inc.
00008  * Copyright (C) 2005,2006 iptelorg GmbH
00009  *
00010  * This file is part of ser, a free SIP server.
00011  *
00012  * ser 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 ser 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  * ser 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  *
00031  */
00040 #ifndef _TLS_CONFIG_H
00041 #define _TLS_CONFIG_H
00042 
00043 #include "../../str.h"
00044 #include "tls_domain.h"
00045 
00046 tls_domains_cfg_t* tls_load_config(str* filename);
00047 
00048 /*
00049  * Convert TLS method string to integer
00050  */
00051 int tls_parse_method(str* method);
00052 
00053 
00054 #endif /* _TLS_CONFIG_H */