moel@345: The BSD License moel@345: moel@345: Copyright (c) 2009, Andrey Gliznetsov (a.gliznetsov@gmail.com) moel@345: moel@345: All rights reserved. moel@345: moel@345: Redistribution and use in source and binary forms, with or without modification, are permitted provided moel@345: that the following conditions are met moel@345: moel@345: - Redistributions of source code must retain the above copyright notice, this list of conditions moel@345: and the following disclaimer. moel@345: - Redistributions in binary form must reproduce the above copyright notice, this list of conditions moel@345: and the following disclaimer in the documentation andor other materials provided with the distribution. moel@345: moel@345: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS moel@345: AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT moel@345: LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR moel@345: A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR moel@345: CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, moel@345: EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, moel@345: PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR moel@345: PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF moel@345: LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING moel@345: NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS moel@345: SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.