1*4bf54857SBaptiste DaroussinCopyright (c) 2013-2014, Vsevolod Stakhov <vsevolod@highsecure.ru> 2*4bf54857SBaptiste DaroussinAll rights reserved. 3*4bf54857SBaptiste Daroussin 4*4bf54857SBaptiste DaroussinRedistribution and use in source and binary forms, with or without 5*4bf54857SBaptiste Daroussinmodification, are permitted provided that the following conditions are met: 6*4bf54857SBaptiste Daroussin 7*4bf54857SBaptiste Daroussin* Redistributions of source code must retain the above copyright notice, this 8*4bf54857SBaptiste Daroussin list of conditions and the following disclaimer. 9*4bf54857SBaptiste Daroussin 10*4bf54857SBaptiste Daroussin* Redistributions in binary form must reproduce the above copyright notice, 11*4bf54857SBaptiste Daroussin this list of conditions and the following disclaimer in the documentation 12*4bf54857SBaptiste Daroussin and/or other materials provided with the distribution. 13*4bf54857SBaptiste Daroussin 14*4bf54857SBaptiste DaroussinTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 15*4bf54857SBaptiste DaroussinAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16*4bf54857SBaptiste DaroussinIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 17*4bf54857SBaptiste DaroussinDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 18*4bf54857SBaptiste DaroussinFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19*4bf54857SBaptiste DaroussinDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 20*4bf54857SBaptiste DaroussinSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 21*4bf54857SBaptiste DaroussinCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 22*4bf54857SBaptiste DaroussinOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 23*4bf54857SBaptiste DaroussinOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24