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