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