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