Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals

tls.h

00001 /*
00002  * Copyright (c) 2005, 2006 by KoanLogic s.r.l. <http://www.koanlogic.com>
00003  * All rights reserved.
00004  *
00005  * This file is part of KLone, and as such it is subject to the license stated
00006  * in the LICENSE file which you have received as part of this distribution.
00007  *
00008  * $Id: tls.h,v 1.10 2007/08/08 22:42:51 tho Exp $
00009  */
00010 
00011 #ifndef _KLONE_TLS_H_
00012 #define _KLONE_TLS_H_
00013 
00014 #include "klone_conf.h"
00015 #include <u/libu.h>
00016 #ifdef HAVE_LIBOPENSSL
00017 #include <openssl/ssl.h>
00018 
00019 #ifdef __cplusplus
00020 extern "C" {
00021 #endif
00022 
00023 SSL_CTX *tls_load_init_ctx (u_config_t *);
00024 
00025 #ifdef __cplusplus
00026 }
00027 #endif 
00028 
00029 #endif /* HAVE_LIBOPENSSL */
00030 
00031 #endif /* !_KLONE_TLS_H */