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