1 Redistribution and use in source and binary forms, with or without
2 modification, are permitted provided that the following conditions
5 1. Redistributions of source code must retain the above copyright
6 notice, this list of conditions and the following disclaimer.
8 2. The origin of this software must not be misrepresented; you must
9 not claim that you wrote the original software. If you use this
10 software in a product, an acknowledgment in the product
11 documentation would be appreciated but is not required.
13 3. Altered source versions must be plainly marked as such, and must
14 not be misrepresented as being the original software.
16 4. The name of the author may not be used to endorse or promote
17 products derived from this software without specific prior written
20 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
21 OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
22 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
24 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
26 GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
28 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
29 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
30 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.