1*c2c66affSColin FinckCopyright (c) 2012-2016, Erik de Castro Lopo <erikd@mega-nerd.com> 2*c2c66affSColin FinckAll rights reserved. 3*c2c66affSColin Finck 4*c2c66affSColin FinckRedistribution and use in source and binary forms, with or without 5*c2c66affSColin Finckmodification, are permitted provided that the following conditions are 6*c2c66affSColin Finckmet: 7*c2c66affSColin Finck 8*c2c66affSColin Finck1. Redistributions of source code must retain the above copyright 9*c2c66affSColin Finck notice, this list of conditions and the following disclaimer. 10*c2c66affSColin Finck 11*c2c66affSColin Finck2. Redistributions in binary form must reproduce the above copyright 12*c2c66affSColin Finck notice, this list of conditions and the following disclaimer in the 13*c2c66affSColin Finck documentation and/or other materials provided with the distribution. 14*c2c66affSColin Finck 15*c2c66affSColin FinckTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 16*c2c66affSColin FinckIS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 17*c2c66affSColin FinckTO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 18*c2c66affSColin FinckPARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 19*c2c66affSColin FinckHOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 20*c2c66affSColin FinckSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 21*c2c66affSColin FinckTO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 22*c2c66affSColin FinckPROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 23*c2c66affSColin FinckLIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 24*c2c66affSColin FinckNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 25*c2c66affSColin FinckSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26