Chris@41: Copyright (c) 2012-2016, Erik de Castro Lopo Chris@41: All rights reserved. Chris@41: Chris@41: Redistribution and use in source and binary forms, with or without Chris@41: modification, are permitted provided that the following conditions are Chris@41: met: Chris@41: Chris@41: 1. Redistributions of source code must retain the above copyright Chris@41: notice, this list of conditions and the following disclaimer. Chris@41: Chris@41: 2. Redistributions in binary form must reproduce the above copyright Chris@41: notice, this list of conditions and the following disclaimer in the Chris@41: documentation and/or other materials provided with the distribution. Chris@41: Chris@41: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS Chris@41: IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED Chris@41: TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A Chris@41: PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT Chris@41: HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, Chris@41: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED Chris@41: TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR Chris@41: PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF Chris@41: LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING Chris@41: NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS Chris@41: SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.