From 8556d0cdf7058be2c519bd4d8e7006ea9e913527 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sat, 10 Jan 2015 13:30:30 +0100 Subject: Added integral source of mongoose (nw) --- .../examples/websocket_ssl_proxy/ssl_wrapper.h | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 3rdparty/mongoose/examples/websocket_ssl_proxy/ssl_wrapper.h (limited to '3rdparty/mongoose/examples/websocket_ssl_proxy/ssl_wrapper.h') diff --git a/3rdparty/mongoose/examples/websocket_ssl_proxy/ssl_wrapper.h b/3rdparty/mongoose/examples/websocket_ssl_proxy/ssl_wrapper.h new file mode 100644 index 00000000000..ccdf780556c --- /dev/null +++ b/3rdparty/mongoose/examples/websocket_ssl_proxy/ssl_wrapper.h @@ -0,0 +1,34 @@ +// Copyright (c) 2014 Cesanta Software Limited +// All rights reserved +// +// This software is dual-licensed: you can redistribute it and/or modify +// it under the terms of the GNU General Public License version 2 as +// published by the Free Software Foundation. For the terms of this +// license, see . +// +// You are free to use this software under the terms of the GNU General +// Public License, 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. +// +// Alternatively, you can license this software under a commercial +// license, as set out in . +// +// $Date$ + +#ifndef SSL_WRAPPER_HEADER_INCLUDED +#define SSL_WRAPPER_HEADER_INCLUDED + +#ifdef __cplusplus +extern "C" { +#endif // __cplusplus + +void *ssl_wrapper_init(const char *listen_addr, const char *target_addr, + const char **err_msg); +void ssl_wrapper_serve(void *, volatile int *stop_marker); + +#ifdef __cplusplus +} +#endif // __cplusplus + +#endif // SSL_WRAPPER_HEADER_INCLUDED -- cgit v1.2.3-70-g09d2