Chris@12: Copyright (c) 2011-2018 by Nikita Popov. Chris@0: Chris@0: Some rights reserved. Chris@0: Chris@0: Redistribution and use in source and binary forms, with or without Chris@0: modification, are permitted provided that the following conditions are Chris@0: met: Chris@0: Chris@0: * Redistributions of source code must retain the above copyright Chris@0: notice, this list of conditions and the following disclaimer. Chris@0: Chris@0: * Redistributions in binary form must reproduce the above Chris@0: copyright notice, this list of conditions and the following Chris@0: disclaimer in the documentation and/or other materials provided Chris@0: with the distribution. Chris@0: Chris@0: * The names of the contributors may not be used to endorse or Chris@0: promote products derived from this software without specific Chris@0: prior written permission. Chris@0: Chris@0: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS Chris@0: "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT Chris@0: LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR Chris@0: A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT Chris@0: OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, Chris@0: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT Chris@0: LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, Chris@0: DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY Chris@0: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT Chris@0: (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE Chris@12: OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.