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