1*4882a593SmuzhiyunLibevent is available for use under the following license, commonly known 2*4882a593Smuzhiyunas the 3-clause (or "modified") BSD license: 3*4882a593Smuzhiyun 4*4882a593Smuzhiyun============================== 5*4882a593SmuzhiyunCopyright (c) 2000-2007 Niels Provos <provos@citi.umich.edu> 6*4882a593SmuzhiyunCopyright (c) 2007-2010 Niels Provos and Nick Mathewson 7*4882a593Smuzhiyun 8*4882a593SmuzhiyunRedistribution and use in source and binary forms, with or without 9*4882a593Smuzhiyunmodification, are permitted provided that the following conditions 10*4882a593Smuzhiyunare met: 11*4882a593Smuzhiyun1. Redistributions of source code must retain the above copyright 12*4882a593Smuzhiyun notice, this list of conditions and the following disclaimer. 13*4882a593Smuzhiyun2. Redistributions in binary form must reproduce the above copyright 14*4882a593Smuzhiyun notice, this list of conditions and the following disclaimer in the 15*4882a593Smuzhiyun documentation and/or other materials provided with the distribution. 16*4882a593Smuzhiyun3. The name of the author may not be used to endorse or promote products 17*4882a593Smuzhiyun derived from this software without specific prior written permission. 18*4882a593Smuzhiyun 19*4882a593SmuzhiyunTHIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 20*4882a593SmuzhiyunIMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 21*4882a593SmuzhiyunOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 22*4882a593SmuzhiyunIN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 23*4882a593SmuzhiyunINCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 24*4882a593SmuzhiyunNOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25*4882a593SmuzhiyunDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26*4882a593SmuzhiyunTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27*4882a593Smuzhiyun(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 28*4882a593SmuzhiyunTHIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29*4882a593Smuzhiyun============================== 30*4882a593Smuzhiyun 31*4882a593SmuzhiyunPortions of Libevent are based on works by others, also made available by 32*4882a593Smuzhiyunthem under the three-clause BSD license above. The copyright notices are 33*4882a593Smuzhiyunavailable in the corresponding source files; the license is as above. Here's 34*4882a593Smuzhiyuna list: 35*4882a593Smuzhiyun 36*4882a593Smuzhiyunlog.c: 37*4882a593Smuzhiyun Copyright (c) 2000 Dug Song <dugsong@monkey.org> 38*4882a593Smuzhiyun Copyright (c) 1993 The Regents of the University of California. 39*4882a593Smuzhiyun 40*4882a593Smuzhiyunstrlcpy.c: 41*4882a593Smuzhiyun Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com> 42*4882a593Smuzhiyun 43*4882a593Smuzhiyunwin32.c: 44*4882a593Smuzhiyun Copyright (c) 2003 Michael A. Davis <mike@datanerds.net> 45*4882a593Smuzhiyun 46*4882a593Smuzhiyunevport.c: 47*4882a593Smuzhiyun Copyright (c) 2007 Sun Microsystems 48*4882a593Smuzhiyun 49*4882a593Smuzhiyunmin_heap.h: 50*4882a593Smuzhiyun Copyright (c) 2006 Maxim Yegorushkin <maxim.yegorushkin@gmail.com> 51*4882a593Smuzhiyun 52*4882a593Smuzhiyuntree.h: 53*4882a593Smuzhiyun Copyright 2002 Niels Provos <provos@citi.umich.edu> 54