Added some comments.

FossilOrigin-Name: 881c1e67966c38a22850535959b33b847afaa88575d71e4b9cab39e184ebd7bc
This commit is contained in:
7u83@mail.ru 2016-03-12 16:39:10 +00:00
parent 9d2d9da392
commit e7997a339d
1 changed files with 31 additions and 1 deletions

View File

@ -1,3 +1,24 @@
/*
This file is part of actube.
actube is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
libcapwap is distributed in the hope that it will be useful,
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 Foobar. If not, see <http://www.gnu.org/licenses/>.
*/
/**
* @file
*/
#ifndef __DTLS_OPENSSL_H
#define __DTLS_OPENSSL_H
@ -7,11 +28,16 @@
#include "conn.h"
/**
* @defgroup DTLSOPENSSL DTLS OpenSSL
* @{
*/
struct dtls_openssl_data{
SSL_CTX * ctx;
SSL * ssl;
BIO * bio;
uint8_t buffer[2048];
int len;
int pos;
@ -50,4 +76,8 @@ extern BIO_METHOD * dtls_openssl_bio_method();
extern int dtls_openssl_shutdown(struct conn *conn);
/**
* @}
*/
#endif