1 |
Redistribution and use in source and binary forms, with or without |
2 |
modification, are permitted provided that the following conditions are |
3 |
met: |
4 |
|
5 |
* Redistributions of source code must retain the above copyright |
6 |
notice, this list of conditions and the following disclaimer. |
7 |
|
8 |
* Redistributions in binary form must reproduce the above |
9 |
copyright notice, this list of conditions and the following |
10 |
disclaimer in the documentation and/or other materials provided |
11 |
with the distribution. |
12 |
|
13 |
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
14 |
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
15 |
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
16 |
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
17 |
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
18 |
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
19 |
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
20 |
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
21 |
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
22 |
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
23 |
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
24 |
|
25 |
NOTE: parts of the library might be under a different license: |
26 |
|
27 |
* event.h is same license as above, but is closely modelled after libevent, |
28 |
so its license might apply even though its not obviously derived from it |
29 |
(it's the 3-clause bsd license). |
30 |
* evdns.c is under public domain (so it says) but was taken out of libevent, |
31 |
so its license might apply. |
32 |
|