1*6417Smjnelson/* 2*6417Smjnelson * Copyright (c) 2004, 2005 3*6417Smjnelson * Damien Bergamini <damien.bergamini@free.fr>. All rights reserved. 4*6417Smjnelson * 5*6417Smjnelson * Redistribution and use in source and binary forms, with or without 6*6417Smjnelson * modification, are permitted provided that the following conditions 7*6417Smjnelson * are met: 8*6417Smjnelson * 1. Redistributions of source code must retain the above copyright 9*6417Smjnelson * notice unmodified, this list of conditions, and the following 10*6417Smjnelson * disclaimer. 11*6417Smjnelson * 2. Redistributions in binary form must reproduce the above copyright 12*6417Smjnelson * notice, this list of conditions and the following disclaimer in the 13*6417Smjnelson * documentation and/or other materials provided with the distribution. 14*6417Smjnelson * 15*6417Smjnelson * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 16*6417Smjnelson * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 17*6417Smjnelson * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 18*6417Smjnelson * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 19*6417Smjnelson * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20*6417Smjnelson * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21*6417Smjnelson * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22*6417Smjnelson * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23*6417Smjnelson * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24*6417Smjnelson * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25*6417Smjnelson * SUCH DAMAGE. 26*6417Smjnelson */ 27