|
||||
File indexing completed on 2025-01-18 09:29:36
0001 // 0002 // Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com) 0003 // 0004 // Distributed under the Boost Software License, Version 1.0. (See accompanying 0005 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 0006 // 0007 // Official repository: https://github.com/boostorg/beast 0008 // 0009 0010 // This is a derivative work based on Zlib, copyright below: 0011 /* 0012 Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler 0013 0014 This software is provided 'as-is', without any express or implied 0015 warranty. In no event will the authors be held liable for any damages 0016 arising from the use of this software. 0017 0018 Permission is granted to anyone to use this software for any purpose, 0019 including commercial applications, and to alter it and redistribute it 0020 freely, subject to the following restrictions: 0021 0022 1. The origin of this software must not be misrepresented; you must not 0023 claim that you wrote the original software. If you use this software 0024 in a product, an acknowledgment in the product documentation would be 0025 appreciated but is not required. 0026 2. Altered source versions must be plainly marked as such, and must not be 0027 misrepresented as being the original software. 0028 3. This notice may not be removed or altered from any source distribution. 0029 0030 Jean-loup Gailly Mark Adler 0031 jloup@gzip.org madler@alumni.caltech.edu 0032 0033 The data format used by the zlib library is described by RFCs (Request for 0034 Comments) 1950 to 1952 in the files http://tools.ietf.org/html/rfc1950 0035 (zlib format), rfc1951 (deflate format) and rfc1952 (gzip format). 0036 */ 0037 0038 #ifndef BOOST_BEAST_ZLIB_IMPL_ERROR_HPP 0039 #define BOOST_BEAST_ZLIB_IMPL_ERROR_HPP 0040 0041 namespace boost { 0042 namespace system { 0043 template<> 0044 struct is_error_code_enum<::boost::beast::zlib::error> 0045 { 0046 static bool const value = true; 0047 }; 0048 } // system 0049 } // boost 0050 0051 namespace boost { 0052 namespace beast { 0053 namespace zlib { 0054 0055 BOOST_BEAST_DECL 0056 error_code 0057 make_error_code(error ev); 0058 0059 } // zlib 0060 } // beast 0061 } // boost 0062 0063 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |