1*aa693e99SJason KingCopyright 2016 Jakub Klama <jceel@FreeBSD.org> 2*aa693e99SJason KingAll rights reserved 3*aa693e99SJason King 4*aa693e99SJason KingRedistribution and use in source and binary forms, with or without 5*aa693e99SJason Kingmodification, are permitted providing that the following conditions 6*aa693e99SJason Kingare met: 7*aa693e99SJason King1. Redistributions of source code must retain the above copyright 8*aa693e99SJason King notice, this list of conditions and the following disclaimer. 9*aa693e99SJason King2. Redistributions in binary form must reproduce the above copyright 10*aa693e99SJason King notice, this list of conditions and the following disclaimer in the 11*aa693e99SJason King documentation and/or other materials provided with the distribution. 12*aa693e99SJason King 13*aa693e99SJason KingTHIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 14*aa693e99SJason KingIMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 15*aa693e99SJason KingWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 16*aa693e99SJason KingARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 17*aa693e99SJason KingDIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18*aa693e99SJason KingDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19*aa693e99SJason KingOR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20*aa693e99SJason KingHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 21*aa693e99SJason KingSTRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 22*aa693e99SJason KingIN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 23*aa693e99SJason KingPOSSIBILITY OF SUCH DAMAGE. 24*aa693e99SJason King 25*aa693e99SJason KingSome parts of the code are based on libixp (http://libs.suckless.org/libixp) 26*aa693e99SJason Kinglibrary code released under following license: 27*aa693e99SJason King 28*aa693e99SJason King© 2005-2006 Anselm R. Garbe <garbeam@gmail.com> 29*aa693e99SJason King© 2006-2010 Kris Maglione <maglione.k at Gmail> 30*aa693e99SJason King 31*aa693e99SJason KingPermission is hereby granted, free of charge, to any person obtaining a 32*aa693e99SJason Kingcopy of this software and associated documentation files (the "Software"), 33*aa693e99SJason Kingto deal in the Software without restriction, including without limitation 34*aa693e99SJason Kingthe rights to use, copy, modify, merge, publish, distribute, sublicense, 35*aa693e99SJason Kingand/or sell copies of the Software, and to permit persons to whom the 36*aa693e99SJason KingSoftware is furnished to do so, subject to the following conditions: 37*aa693e99SJason King 38*aa693e99SJason KingThe above copyright notice and this permission notice shall be included in 39*aa693e99SJason Kingall copies or substantial portions of the Software. 40*aa693e99SJason King 41*aa693e99SJason KingTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 42*aa693e99SJason KingIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 43*aa693e99SJason KingFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 44*aa693e99SJason KingTHE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 45*aa693e99SJason KingLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 46*aa693e99SJason KingFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 47*aa693e99SJason KingDEALINGS IN THE SOFTWARE. 48