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