Added some comments.
FossilOrigin-Name: 881c1e67966c38a22850535959b33b847afaa88575d71e4b9cab39e184ebd7bc
This commit is contained in:
		@ -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
 | 
					#ifndef __DTLS_OPENSSL_H
 | 
				
			||||||
#define __DTLS_OPENSSL_H
 | 
					#define __DTLS_OPENSSL_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -7,11 +28,16 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#include "conn.h"
 | 
					#include "conn.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/**
 | 
				
			||||||
 | 
					 * @defgroup DTLSOPENSSL DTLS OpenSSL
 | 
				
			||||||
 | 
					 * @{
 | 
				
			||||||
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
struct dtls_openssl_data{
 | 
					struct dtls_openssl_data{
 | 
				
			||||||
	SSL_CTX * ctx;
 | 
						SSL_CTX * ctx;
 | 
				
			||||||
	SSL * ssl;
 | 
						SSL * ssl;
 | 
				
			||||||
	BIO * bio;
 | 
						BIO * bio;
 | 
				
			||||||
 | 
					 | 
				
			||||||
	uint8_t buffer[2048];
 | 
						uint8_t buffer[2048];
 | 
				
			||||||
	int len;
 | 
						int len;
 | 
				
			||||||
	int pos;
 | 
						int pos;
 | 
				
			||||||
@ -50,4 +76,8 @@ extern BIO_METHOD * dtls_openssl_bio_method();
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
extern int dtls_openssl_shutdown(struct conn *conn);
 | 
					extern int dtls_openssl_shutdown(struct conn *conn);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/**
 | 
				
			||||||
 | 
					 * @}
 | 
				
			||||||
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user