1*897be3a4SchristosCopyright (C) 1992-2018 by Bruce Korb - all rights reserved 2abb0f93cSkardelRedistribution and use in source and binary forms, with or without 3abb0f93cSkardelmodification, are permitted provided that the following conditions are met: 4abb0f93cSkardel 5abb0f93cSkardel 1. Redistributions of source code must retain the above copyright 6abb0f93cSkardel notice, this list of conditions and the following disclaimer. 7abb0f93cSkardel 8abb0f93cSkardel 2. Redistributions in binary form must reproduce the above 9abb0f93cSkardel copyright notice, this list of conditions and the following 10abb0f93cSkardel disclaimer in the documentation and/or other materials provided 11abb0f93cSkardel with the distribution. 12abb0f93cSkardel 13abb0f93cSkardel 3. The name of the author may not be used to endorse or promote 14abb0f93cSkardel products derived from this software without specific prior 15abb0f93cSkardel written permission. 16abb0f93cSkardel 17abb0f93cSkardelTHIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 18abb0f93cSkardelIMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 19abb0f93cSkardelWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 20abb0f93cSkardelDISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, 21abb0f93cSkardelINDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22abb0f93cSkardel(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 23abb0f93cSkardelSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24abb0f93cSkardelHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 25abb0f93cSkardelSTRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 26abb0f93cSkardelIN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27abb0f93cSkardelPOSSIBILITY OF SUCH DAMAGE. 28