tls.h

00001 /*
00002  * Copyright (c) 2005-2012 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.11 2008/07/10 08:56:13 tat 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 SSL_ON
00017 #include <openssl/ssl.h>
00018 
00019 #ifdef __cplusplus
00020 extern "C" {
00021 #endif
00022 
00023 int tls_init (void);
00024 SSL_CTX *tls_load_init_ctx (u_config_t *);
00025 
00026 #ifdef __cplusplus
00027 }
00028 #endif 
00029 
00030 #endif /* SSL_ON */
00031 
00032 #endif /* !_KLONE_TLS_H */

←Products
Copyright © 2005-2012 - KoanLogic S.r.l. - All rights reserved