1*1480c0b3SChristos MargiolisCopyright (c) 2012-2016, Erik de Castro Lopo <erikd@mega-nerd.com> 2*1480c0b3SChristos MargiolisAll rights reserved. 3*1480c0b3SChristos Margiolis 4*1480c0b3SChristos MargiolisRedistribution and use in source and binary forms, with or without 5*1480c0b3SChristos Margiolismodification, are permitted provided that the following conditions are 6*1480c0b3SChristos Margiolismet: 7*1480c0b3SChristos Margiolis 8*1480c0b3SChristos Margiolis1. Redistributions of source code must retain the above copyright 9*1480c0b3SChristos Margiolis notice, this list of conditions and the following disclaimer. 10*1480c0b3SChristos Margiolis 11*1480c0b3SChristos Margiolis2. Redistributions in binary form must reproduce the above copyright 12*1480c0b3SChristos Margiolis notice, this list of conditions and the following disclaimer in the 13*1480c0b3SChristos Margiolis documentation and/or other materials provided with the distribution. 14*1480c0b3SChristos Margiolis 15*1480c0b3SChristos MargiolisTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 16*1480c0b3SChristos MargiolisIS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 17*1480c0b3SChristos MargiolisTO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 18*1480c0b3SChristos MargiolisPARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 19*1480c0b3SChristos MargiolisHOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 20*1480c0b3SChristos MargiolisSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 21*1480c0b3SChristos MargiolisTO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 22*1480c0b3SChristos MargiolisPROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 23*1480c0b3SChristos MargiolisLIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 24*1480c0b3SChristos MargiolisNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 25*1480c0b3SChristos MargiolisSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26