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