1*6716431bSRobert Mustacchi/* 2*6716431bSRobert Mustacchi * Copyright (c) 2004-2011 Masayuki Murayama. All rights reserved. 3*6716431bSRobert Mustacchi * 4*6716431bSRobert Mustacchi * Redistribution and use in source and binary forms, with or without 5*6716431bSRobert Mustacchi * modification, are permitted provided that the following conditions are met: 6*6716431bSRobert Mustacchi * 7*6716431bSRobert Mustacchi * 1. Redistributions of source code must retain the above copyright notice, 8*6716431bSRobert Mustacchi * this list of conditions and the following disclaimer. 9*6716431bSRobert Mustacchi * 10*6716431bSRobert Mustacchi * 2. Redistributions in binary form must reproduce the above copyright notice, 11*6716431bSRobert Mustacchi * this list of conditions and the following disclaimer in the documentation 12*6716431bSRobert Mustacchi * and/or other materials provided with the distribution. 13*6716431bSRobert Mustacchi * 14*6716431bSRobert Mustacchi * 3. Neither the name of the author nor the names of its contributors may be 15*6716431bSRobert Mustacchi * used to endorse or promote products derived from this software without 16*6716431bSRobert Mustacchi * specific prior written permission. 17*6716431bSRobert Mustacchi * 18*6716431bSRobert Mustacchi * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19*6716431bSRobert Mustacchi * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20*6716431bSRobert Mustacchi * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 21*6716431bSRobert Mustacchi * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 22*6716431bSRobert Mustacchi * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 23*6716431bSRobert Mustacchi * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 24*6716431bSRobert Mustacchi * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS 25*6716431bSRobert Mustacchi * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 26*6716431bSRobert Mustacchi * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 27*6716431bSRobert Mustacchi * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 28*6716431bSRobert Mustacchi * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 29*6716431bSRobert Mustacchi * DAMAGE. 30*6716431bSRobert Mustacchi */ 31*6716431bSRobert Mustacchi 32