diff --git a/src/cw/dtls_openssl.h b/src/cw/dtls_openssl.h index 1fb5cfec..b038f337 100644 --- a/src/cw/dtls_openssl.h +++ b/src/cw/dtls_openssl.h @@ -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 . + +*/ +/** + * @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