1Copyright (c) 2004, 2005, 2006 Ero Carrera <ero@dkbza.org>. All rights reserved. 2 3Redistribution and use in source and binary forms, with or without 4modification, are permitted provided that the following conditions are met: 5 61. Redistributions of source code must retain the above copyright notice, this 7list of conditions and the following disclaimer. 8 92. Redistributions in binary form must reproduce the above copyright notice, 10this list of conditions and the following disclaimer in the documentation 11and/or other materials provided with the distribution. 12 133. The name of the author may not be used to endorse or promote products 14derived from this software without specific prior written permission. 15 16THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED 17WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 18MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO 19EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 20EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT 21OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 22INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 23CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 24IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY 25OF SUCH DAMAGE. 26 27 28