1*8bae5d40SchristosCopyright (c) 1997-2014 Erez Zadok 2a53f50b9SchristosCopyright (c) 1989 Jan-Simon Pendry 3a53f50b9SchristosCopyright (c) 1989 Imperial College of Science, Technology & Medicine 4a53f50b9SchristosCopyright (c) 1989 The Regents of the University of California. 5a53f50b9SchristosAll rights reserved. 6a53f50b9Schristos 7a53f50b9SchristosThis code is derived from software contributed to Berkeley by 8a53f50b9SchristosJan-Simon Pendry at Imperial College, London. 9a53f50b9Schristos 10a53f50b9SchristosRedistribution and use in source and binary forms, with or without 11a53f50b9Schristosmodification, are permitted provided that the following conditions 12a53f50b9Schristosare met: 13a53f50b9Schristos1. Redistributions of source code must retain the above copyright 14a53f50b9Schristos notice, this list of conditions and the following disclaimer. 15a53f50b9Schristos2. Redistributions in binary form must reproduce the above copyright 16a53f50b9Schristos notice, this list of conditions and the following disclaimer in the 17a53f50b9Schristos documentation and/or other materials provided with the distribution. 18*8bae5d40Schristos3. Neither the name of the University nor the names of its contributors 19a53f50b9Schristos may be used to endorse or promote products derived from this software 20a53f50b9Schristos without specific prior written permission. 21a53f50b9Schristos 22a53f50b9SchristosTHIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 23a53f50b9SchristosANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24a53f50b9SchristosIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25a53f50b9SchristosARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 26a53f50b9SchristosFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27a53f50b9SchristosDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28a53f50b9SchristosOR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29a53f50b9SchristosHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30a53f50b9SchristosLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31a53f50b9SchristosOUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32a53f50b9SchristosSUCH DAMAGE. 33