1/* SPDX-License-Identifier: BSD-3-Clause OR LGPL-2.0-or-later */ 2 3Unless otherwise *explicitly* stated the following text describes the 4licensed conditions under which the contents of this module release 5may be distributed: 6 7------------------------------------------------------------------------- 8Redistribution and use in source and binary forms of this module, with 9or without modification, are permitted provided that the following 10conditions are met: 11 121. Redistributions of source code must retain any existing copyright 13 notice, and this entire permission notice in its entirety, 14 including the disclaimer of warranties. 15 162. Redistributions in binary form must reproduce all prior and current 17 copyright notices, this list of conditions, and the following 18 disclaimer in the documentation and/or other materials provided 19 with the distribution. 20 213. The name of any author may not be used to endorse or promote 22 products derived from this software without their specific prior 23 written permission. 24 25ALTERNATIVELY, this product may be distributed under the terms of the 26GNU Library General Public License, in which case the provisions of 27the GNU LGPL are required INSTEAD OF the above restrictions. (This 28clause is necessary due to a potential conflict between the GNU LGPL 29and the restrictions contained in a BSD-style copyright.) 30 31THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED 32WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 33MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 34IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT, 35INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 36BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS 37OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 38ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR 39TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE 40USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 41DAMAGE. 42------------------------------------------------------------------------- 43 44