8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster/*
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * Copyright (c) 2005, 2006
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * Damien Bergamini <damien.bergamini@free.fr>
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster *
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * Permission to use, copy, modify, and distribute this software for any
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * purpose with or without fee is hereby granted, provided that the above
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * copyright notice and this permission notice appear in all copies.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster *
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster */
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster/*
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * Copyright (c) 2003, 2004 David Young. All rights reserved.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster *
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * Redistribution and use in source and binary forms, with or
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * without modification, are permitted provided that the following
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * conditions are met:
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * 1. Redistributions of source code must retain the above copyright
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * notice, this list of conditions and the following disclaimer.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * 2. Redistributions in binary form must reproduce the above
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * copyright notice, this list of conditions and the following
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * disclaimer in the documentation and/or other materials provided
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * with the distribution.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * 3. The name of David Young may not be used to endorse or promote
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * products derived from this software without specific prior
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * written permission.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster *
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * THIS SOFTWARE IS PROVIDED BY David Young ``AS IS'' AND ANY
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL David
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * Young BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * OF SUCH DAMAGE.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster */
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster