1*40db2e2bSzf162725/* 2*40db2e2bSzf162725 * Copyright (c) 2005, 2006 3*40db2e2bSzf162725 * Damien Bergamini <damien.bergamini@free.fr> 4*40db2e2bSzf162725 * 5*40db2e2bSzf162725 * Permission to use, copy, modify, and distribute this software for any 6*40db2e2bSzf162725 * purpose with or without fee is hereby granted, provided that the above 7*40db2e2bSzf162725 * copyright notice and this permission notice appear in all copies. 8*40db2e2bSzf162725 * 9*40db2e2bSzf162725 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10*40db2e2bSzf162725 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11*40db2e2bSzf162725 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12*40db2e2bSzf162725 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13*40db2e2bSzf162725 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14*40db2e2bSzf162725 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 15*40db2e2bSzf162725 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16*40db2e2bSzf162725 */ 17