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