2 - libevent 1.4.14b - |
2 - libevent 1.4.14b - |
3 -------------------- |
3 -------------------- |
4 |
4 |
5 Oracle Internal Tracking Number : 5581 |
5 Oracle Internal Tracking Number : 5581 |
6 |
6 |
7 Copyright (c) 2000-2007 Niels Provos <[email protected]> |
7 buffer.c: |
|
8 /* |
|
9 * Copyright (c) 2002, 2003 Niels Provos <[email protected]> |
|
10 * All rights reserved. |
|
11 * |
|
12 * Redistribution and use in source and binary forms, with or without |
|
13 * modification, are permitted provided that the following conditions |
|
14 * are met: |
|
15 * 1. Redistributions of source code must retain the above copyright |
|
16 * notice, this list of conditions and the following disclaimer. |
|
17 * 2. Redistributions in binary form must reproduce the above copyright |
|
18 * notice, this list of conditions and the following disclaimer in the |
|
19 * documentation and/or other materials provided with the distribution. |
|
20 * 3. The name of the author may not be used to endorse or promote products |
|
21 * derived from this software without specific prior written permission. |
|
22 * |
|
23 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
|
24 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
|
25 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
|
26 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
|
27 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
|
28 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
|
29 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
|
30 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
|
31 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
|
32 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
33 */ |
|
34 |
|
35 devpoll.c, event-internal.h, event.c, evhttp.h, evrpc.c, log.h: |
|
36 /* |
|
37 * Copyright 2000-2004 Niels Provos <[email protected]> |
|
38 * All rights reserved. |
|
39 * |
|
40 * Redistribution and use in source and binary forms, with or without |
|
41 * modification, are permitted provided that the following conditions |
|
42 * are met: |
|
43 * 1. Redistributions of source code must retain the above copyright |
|
44 * notice, this list of conditions and the following disclaimer. |
|
45 * 2. Redistributions in binary form must reproduce the above copyright |
|
46 * notice, this list of conditions and the following disclaimer in the |
|
47 * documentation and/or other materials provided with the distribution. |
|
48 * 3. The name of the author may not be used to endorse or promote products |
|
49 * derived from this software without specific prior written permission. |
|
50 * |
|
51 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
|
52 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
|
53 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
|
54 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
|
55 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
|
56 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
|
57 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
|
58 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
|
59 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
|
60 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
61 */ |
|
62 |
|
63 epoll.c, poll.c: |
|
64 /* |
|
65 * Copyright 2000-2003 Niels Provos <[email protected]> |
|
66 * All rights reserved. |
|
67 * |
|
68 * Redistribution and use in source and binary forms, with or without |
|
69 * modification, are permitted provided that the following conditions |
|
70 * are met: |
|
71 * 1. Redistributions of source code must retain the above copyright |
|
72 * notice, this list of conditions and the following disclaimer. |
|
73 * 2. Redistributions in binary form must reproduce the above copyright |
|
74 * notice, this list of conditions and the following disclaimer in the |
|
75 * documentation and/or other materials provided with the distribution. |
|
76 * 3. The name of the author may not be used to endorse or promote products |
|
77 * derived from this software without specific prior written permission. |
|
78 * |
|
79 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
|
80 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
|
81 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
|
82 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
|
83 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
|
84 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
|
85 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
|
86 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
|
87 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
|
88 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
89 */ |
|
90 |
|
91 epoll_sub.c: |
|
92 /* |
|
93 * Copyright 2003 Niels Provos <[email protected]> |
|
94 * All rights reserved. |
|
95 * |
|
96 * Redistribution and use in source and binary forms, with or without |
|
97 * modification, are permitted provided that the following conditions |
|
98 * are met: |
|
99 * 1. Redistributions of source code must retain the above copyright |
|
100 * notice, this list of conditions and the following disclaimer. |
|
101 * 2. Redistributions in binary form must reproduce the above copyright |
|
102 * notice, this list of conditions and the following disclaimer in the |
|
103 * documentation and/or other materials provided with the distribution. |
|
104 * 3. The name of the author may not be used to endorse or promote products |
|
105 * derived from this software without specific prior written permission. |
|
106 * |
|
107 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
|
108 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
|
109 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
|
110 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
|
111 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
|
112 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
|
113 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
|
114 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
|
115 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
|
116 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
117 */ |
|
118 |
|
119 evbuffer.c: |
|
120 /* |
|
121 * Copyright (c) 2002-2004 Niels Provos <[email protected]> |
|
122 * All rights reserved. |
|
123 * |
|
124 * Redistribution and use in source and binary forms, with or without |
|
125 * modification, are permitted provided that the following conditions |
|
126 * are met: |
|
127 * 1. Redistributions of source code must retain the above copyright |
|
128 * notice, this list of conditions and the following disclaimer. |
|
129 * 2. Redistributions in binary form must reproduce the above copyright |
|
130 * notice, this list of conditions and the following disclaimer in the |
|
131 * documentation and/or other materials provided with the distribution. |
|
132 * 3. The name of the author may not be used to endorse or promote products |
|
133 * derived from this software without specific prior written permission. |
|
134 * |
|
135 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
|
136 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
|
137 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
|
138 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
|
139 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
|
140 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
|
141 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
|
142 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
|
143 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
|
144 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
145 */ |
|
146 |
|
147 evdns.c: |
|
148 /* The original version of this module was written by Adam Langley; for |
|
149 * a history of modifications, check out the subversion logs. |
|
150 * |
|
151 * When editing this module, try to keep it re-mergeable by Adam. Don't |
|
152 * reformat the whitespace, add Tor dependencies, or so on. |
|
153 * |
|
154 * TODO: |
|
155 * - Support IPv6 and PTR records. |
|
156 * - Replace all externally visible magic numbers with #defined constants. |
|
157 * - Write doccumentation for APIs of all external functions. |
|
158 */ |
|
159 |
|
160 /* Async DNS Library |
|
161 * Adam Langley <[email protected]> |
|
162 * http://www.imperialviolet.org/eventdns.html |
|
163 * Public Domain code |
|
164 * |
|
165 * This software is Public Domain. To view a copy of the public domain dedication, |
|
166 * visit http://creativecommons.org/licenses/publicdomain/ or send a letter to |
|
167 * Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA. |
|
168 * |
|
169 * I ask and expect, but do not require, that all derivative works contain an |
|
170 * attribution similar to: |
|
171 * Parts developed by Adam Langley <[email protected]> |
|
172 * |
|
173 * You may wish to replace the word "Parts" with something else depending on |
|
174 * the amount of original code. |
|
175 * |
|
176 * (Derivative works does not include programs which link against, run or include |
|
177 * the source verbatim in their source distributions) |
|
178 * |
|
179 * Version: 0.1b |
|
180 */ |
|
181 |
|
182 evdns.h: |
|
183 /* |
|
184 * Copyright (c) 2006 Niels Provos <[email protected]> |
|
185 * All rights reserved. |
|
186 * |
|
187 * Redistribution and use in source and binary forms, with or without |
|
188 * modification, are permitted provided that the following conditions |
|
189 * are met: |
|
190 * 1. Redistributions of source code must retain the above copyright |
|
191 * notice, this list of conditions and the following disclaimer. |
|
192 * 2. Redistributions in binary form must reproduce the above copyright |
|
193 * notice, this list of conditions and the following disclaimer in the |
|
194 * documentation and/or other materials provided with the distribution. |
|
195 * 3. The name of the author may not be used to endorse or promote products |
|
196 * derived from this software without specific prior written permission. |
|
197 * |
|
198 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
|
199 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
|
200 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
|
201 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
|
202 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
|
203 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
|
204 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
|
205 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
|
206 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
|
207 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
208 */ |
|
209 |
|
210 /* |
|
211 * The original DNS code is due to Adam Langley with heavy |
|
212 * modifications by Nick Mathewson. Adam put his DNS software in the |
|
213 * public domain. You can find his original copyright below. Please, |
|
214 * aware that the code as part of libevent is governed by the 3-clause |
|
215 * BSD license above. |
|
216 * |
|
217 * This software is Public Domain. To view a copy of the public domain dedication, |
|
218 * visit http://creativecommons.org/licenses/publicdomain/ or send a letter to |
|
219 * Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA. |
|
220 * |
|
221 * I ask and expect, but do not require, that all derivative works contain an |
|
222 * attribution similar to: |
|
223 * Parts developed by Adam Langley <[email protected]> |
|
224 * |
|
225 * You may wish to replace the word "Parts" with something else depending on |
|
226 * the amount of original code. |
|
227 * |
|
228 * (Derivative works does not include programs which link against, run or include |
|
229 * the source verbatim in their source distributions) |
|
230 */ |
|
231 |
|
232 event_tagging.c: |
|
233 /* |
|
234 * Copyright (c) 2003, 2004 Niels Provos <[email protected]> |
|
235 * All rights reserved. |
|
236 * |
|
237 * Redistribution and use in source and binary forms, with or without |
|
238 * modification, are permitted provided that the following conditions |
|
239 * are met: |
|
240 * 1. Redistributions of source code must retain the above copyright |
|
241 * notice, this list of conditions and the following disclaimer. |
|
242 * 2. Redistributions in binary form must reproduce the above copyright |
|
243 * notice, this list of conditions and the following disclaimer in the |
|
244 * documentation and/or other materials provided with the distribution. |
|
245 * 3. The name of the author may not be used to endorse or promote products |
|
246 * derived from this software without specific prior written permission. |
|
247 * |
|
248 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
|
249 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
|
250 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
|
251 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
|
252 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
|
253 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
|
254 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
|
255 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
|
256 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
|
257 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
258 */ |
|
259 |
|
260 event.h: |
|
261 /* |
|
262 * Copyright (c) 2000-2007 Niels Provos <[email protected]> |
|
263 * All rights reserved. |
|
264 * |
|
265 * Redistribution and use in source and binary forms, with or without |
|
266 * modification, are permitted provided that the following conditions |
|
267 * are met: |
|
268 * 1. Redistributions of source code must retain the above copyright |
|
269 * notice, this list of conditions and the following disclaimer. |
|
270 * 2. Redistributions in binary form must reproduce the above copyright |
|
271 * notice, this list of conditions and the following disclaimer in the |
|
272 * documentation and/or other materials provided with the distribution. |
|
273 * 3. The name of the author may not be used to endorse or promote products |
|
274 * derived from this software without specific prior written permission. |
|
275 * |
|
276 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
|
277 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
|
278 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
|
279 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
|
280 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
|
281 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
|
282 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
|
283 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
|
284 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
|
285 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
286 */ |
|
287 |
|
288 evport.c: |
|
289 /* |
|
290 * Submitted by David Pacheco ([email protected]) |
|
291 * |
|
292 * Redistribution and use in source and binary forms, with or without |
|
293 * modification, are permitted provided that the following conditions |
|
294 * are met: |
|
295 * 1. Redistributions of source code must retain the above copyright |
|
296 * notice, this list of conditions and the following disclaimer. |
|
297 * 2. Redistributions in binary form must reproduce the above copyright |
|
298 * notice, this list of conditions and the following disclaimer in the |
|
299 * documentation and/or other materials provided with the distribution. |
|
300 * 3. The name of the author may not be used to endorse or promote products |
|
301 * derived from this software without specific prior written permission. |
|
302 * |
|
303 * THIS SOFTWARE IS PROVIDED BY SUN MICROSYSTEMS, INC. ``AS IS'' AND ANY |
|
304 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
|
305 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
|
306 * DISCLAIMED. IN NO EVENT SHALL SUN MICROSYSTEMS, INC. BE LIABLE FOR ANY |
|
307 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
|
308 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
|
309 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
|
310 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
|
311 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
|
312 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
313 */ |
|
314 |
|
315 /* |
|
316 * Copyright (c) 2007 Sun Microsystems. All rights reserved. |
|
317 * Use is subject to license terms. |
|
318 */ |
|
319 |
|
320 evrpc.h, evrpc-internal.h: |
|
321 /* |
|
322 * Copyright (c) 2006 Niels Provos <[email protected]> |
|
323 * All rights reserved. |
|
324 * |
|
325 * Redistribution and use in source and binary forms, with or without |
|
326 * modification, are permitted provided that the following conditions |
|
327 * are met: |
|
328 * 1. Redistributions of source code must retain the above copyright |
|
329 * notice, this list of conditions and the following disclaimer. |
|
330 * 2. Redistributions in binary form must reproduce the above copyright |
|
331 * notice, this list of conditions and the following disclaimer in the |
|
332 * documentation and/or other materials provided with the distribution. |
|
333 * 3. The name of the author may not be used to endorse or promote products |
|
334 * derived from this software without specific prior written permission. |
|
335 * |
|
336 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
|
337 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
|
338 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
|
339 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
|
340 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
|
341 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
|
342 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
|
343 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
|
344 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
|
345 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
346 */ |
|
347 |
|
348 evsignal.h, kqueue.c, select.c, signal.c: |
|
349 /* |
|
350 * Copyright 2000-2002 Niels Provos <[email protected]> |
|
351 * All rights reserved. |
|
352 * |
|
353 * Redistribution and use in source and binary forms, with or without |
|
354 * modification, are permitted provided that the following conditions |
|
355 * are met: |
|
356 * 1. Redistributions of source code must retain the above copyright |
|
357 * notice, this list of conditions and the following disclaimer. |
|
358 * 2. Redistributions in binary form must reproduce the above copyright |
|
359 * notice, this list of conditions and the following disclaimer in the |
|
360 * documentation and/or other materials provided with the distribution. |
|
361 * 3. The name of the author may not be used to endorse or promote products |
|
362 * derived from this software without specific prior written permission. |
|
363 * |
|
364 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
|
365 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
|
366 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
|
367 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
|
368 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
|
369 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
|
370 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
|
371 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
|
372 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
|
373 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
374 */ |
|
375 |
|
376 evutil.c, evutil.h: |
|
377 /* |
|
378 * Copyright (c) 2007 Niels Provos <[email protected]> |
|
379 * All rights reserved. |
|
380 * |
|
381 * Redistribution and use in source and binary forms, with or without |
|
382 * modification, are permitted provided that the following conditions |
|
383 * are met: |
|
384 * 1. Redistributions of source code must retain the above copyright |
|
385 * notice, this list of conditions and the following disclaimer. |
|
386 * 2. Redistributions in binary form must reproduce the above copyright |
|
387 * notice, this list of conditions and the following disclaimer in the |
|
388 * documentation and/or other materials provided with the distribution. |
|
389 * 3. The name of the author may not be used to endorse or promote products |
|
390 * derived from this software without specific prior written permission. |
|
391 * |
|
392 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
|
393 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
|
394 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
|
395 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
|
396 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
|
397 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
|
398 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
|
399 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
|
400 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
|
401 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
402 */ |
|
403 |
|
404 http-internal.h: |
|
405 /* |
|
406 * Copyright 2001 Niels Provos <[email protected]> |
|
407 * All rights reserved. |
|
408 * |
|
409 * This header file contains definitions for dealing with HTTP requests |
|
410 * that are internal to libevent. As user of the library, you should not |
|
411 * need to know about these. |
|
412 */ |
|
413 |
|
414 http.c: |
|
415 /* |
|
416 * Copyright (c) 2002-2006 Niels Provos <[email protected]> |
|
417 * All rights reserved. |
|
418 * |
|
419 * Redistribution and use in source and binary forms, with or without |
|
420 * modification, are permitted provided that the following conditions |
|
421 * are met: |
|
422 * 1. Redistributions of source code must retain the above copyright |
|
423 * notice, this list of conditions and the following disclaimer. |
|
424 * 2. Redistributions in binary form must reproduce the above copyright |
|
425 * notice, this list of conditions and the following disclaimer in the |
|
426 * documentation and/or other materials provided with the distribution. |
|
427 * 3. The name of the author may not be used to endorse or promote products |
|
428 * derived from this software without specific prior written permission. |
|
429 * |
|
430 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
|
431 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
|
432 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
|
433 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
|
434 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
|
435 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
|
436 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
|
437 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
|
438 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
|
439 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
440 */ |
|
441 |
|
442 log.c: |
|
443 * Copyright (c) 2005 Nick Mathewson <[email protected]> |
|
444 * |
|
445 * Copyright (c) 2000 Dug Song <[email protected]> |
|
446 * |
|
447 * Copyright (c) 1993 |
|
448 * The Regents of the University of California. All rights reserved. |
|
449 * |
|
450 * Redistribution and use in source and binary forms, with or without |
|
451 * modification, are permitted provided that the following conditions |
|
452 * are met: |
|
453 * 1. Redistributions of source code must retain the above copyright |
|
454 * notice, this list of conditions and the following disclaimer. |
|
455 * 2. Redistributions in binary form must reproduce the above copyright |
|
456 * notice, this list of conditions and the following disclaimer in the |
|
457 * documentation and/or other materials provided with the distribution. |
|
458 * 3. Neither the name of the University nor the names of its contributors |
|
459 * may be used to endorse or promote products derived from this software |
|
460 * without specific prior written permission. |
|
461 * |
|
462 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND |
|
463 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
|
464 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
|
465 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE |
|
466 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
|
467 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
|
468 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
|
469 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
|
470 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
|
471 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
|
472 * SUCH DAMAGE. |
|
473 */ |
|
474 |
|
475 min_heap.h: |
|
476 /* |
|
477 * Copyright (c) 2006 Maxim Yegorushkin <[email protected]> |
|
478 * All rights reserved. |
|
479 * |
|
480 * Redistribution and use in source and binary forms, with or without |
|
481 * modification, are permitted provided that the following conditions |
|
482 * are met: |
|
483 * 1. Redistributions of source code must retain the above copyright |
|
484 * notice, this list of conditions and the following disclaimer. |
|
485 * 2. Redistributions in binary form must reproduce the above copyright |
|
486 * notice, this list of conditions and the following disclaimer in the |
|
487 * documentation and/or other materials provided with the distribution. |
|
488 * 3. The name of the author may not be used to endorse or promote products |
|
489 * derived from this software without specific prior written permission. |
|
490 * |
|
491 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
|
492 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
|
493 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
|
494 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
|
495 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
|
496 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
|
497 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
|
498 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
|
499 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
|
500 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
501 */ |
|
502 |
|
503 strlcpy.c: |
|
504 /* |
|
505 * Copyright (c) 1998 Todd C. Miller <[email protected]> |
|
506 * All rights reserved. |
|
507 * |
|
508 * Redistribution and use in source and binary forms, with or without |
|
509 * modification, are permitted provided that the following conditions |
|
510 * are met: |
|
511 * 1. Redistributions of source code must retain the above copyright |
|
512 * notice, this list of conditions and the following disclaimer. |
|
513 * 2. Redistributions in binary form must reproduce the above copyright |
|
514 * notice, this list of conditions and the following disclaimer in the |
|
515 * documentation and/or other materials provided with the distribution. |
|
516 * 3. The name of the author may not be used to endorse or promote products |
|
517 * derived from this software without specific prior written permission. |
|
518 * |
|
519 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, |
|
520 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY |
|
521 * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL |
|
522 * THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
|
523 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
|
524 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; |
|
525 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
|
526 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR |
|
527 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
|
528 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
529 */ |
|
530 |
|
531 |
|
532 Documentation: |
|
533 |
|
534 evdns.3: |
|
535 Copyright (c) 2006 Niels Provos <[email protected]> |
8 All rights reserved. |
536 All rights reserved. |
9 |
537 |
10 Copyright (c) 2005 Nick Mathewson <[email protected]> |
538 Redistribution and use in source and binary forms, with or without |
11 |
539 modification, are permitted provided that the following conditions |
12 Copyright (c) 2000 Dug Song <[email protected]> |
540 are met: |
13 |
541 |
14 Copyright (c) 1993 |
542 1. Redistributions of source code must retain the above copyright |
15 The Regents of the University of California. All rights reserved. |
543 notice, this list of conditions and the following disclaimer. |
16 |
544 2. Redistributions in binary form must reproduce the above copyright |
17 Copyright (c) 2006 Maxim Yegorushkin <[email protected]> |
545 notice, this list of conditions and the following disclaimer in the |
18 All rights reserved. |
546 documentation and/or other materials provided with the distribution. |
19 |
547 3. The name of the author may not be used to endorse or promote products |
20 Copyright (c) 1998 Todd C. Miller <[email protected]> |
548 derived from this software without specific prior written permission. |
21 All rights reserved. |
549 |
22 |
550 THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, |
|
551 INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY |
|
552 AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL |
|
553 THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
|
554 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
|
555 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; |
|
556 OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
|
557 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR |
|
558 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
|
559 ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
560 |
|
561 |
|
562 event.3: |
23 Copyright (c) 2000 Artur Grabowski <[email protected]> |
563 Copyright (c) 2000 Artur Grabowski <[email protected]> |
24 All rights reserved. |
564 All rights reserved. |
25 |
565 |
26 Copyright (c) 2007 Sun Microsystems. All rights reserved. |
566 Redistribution and use in source and binary forms, with or without |
27 Use is subject to license terms. |
567 modification, are permitted provided that the following conditions |
28 |
568 are met: |
29 Redistribution and use in source and binary forms, with or without |
569 |
30 modification, are permitted provided that the following conditions |
570 1. Redistributions of source code must retain the above copyright |
31 are met: |
571 notice, this list of conditions and the following disclaimer. |
32 1. Redistributions of source code must retain the above copyright |
572 2. Redistributions in binary form must reproduce the above copyright |
33 notice, this list of conditions and the following disclaimer. |
573 notice, this list of conditions and the following disclaimer in the |
34 2. Redistributions in binary form must reproduce the above copyright |
574 documentation and/or other materials provided with the distribution. |
35 notice, this list of conditions and the following disclaimer in the |
575 3. The name of the author may not be used to endorse or promote products |
36 documentation and/or other materials provided with the distribution. |
576 derived from this software without specific prior written permission. |
37 3. The name of the author may not be used to endorse or promote products |
577 |
38 derived from this software without specific prior written permission. |
578 THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, |
39 |
579 INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY |
40 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
580 AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL |
41 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
581 THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
42 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
582 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
43 IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
583 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; |
44 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
584 OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
45 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
585 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR |
46 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
586 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
47 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
587 ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
48 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
588 |
49 THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
589 |
50 |
|
51 |
|
52 Some parts of this package are subject to one or more of the following |
|
53 additional notices: |
|
54 |
|
55 The original DNS code is due to Adam Langley with heavy |
|
56 modifications by Nick Mathewson. Adam put his DNS software in the |
|
57 public domain. You can find his original copyright below. Please, |
|
58 aware that the code as part of libevent is governed by the 3-clause |
|
59 BSD license above. |
|
60 |
|
61 The original version of this module was written by Adam Langley; for |
|
62 a history of modifications, check out the subversion logs. |
|
63 |
|
64 When editing this module, try to keep it re-mergeable by Adam. Don't |
|
65 reformat the whitespace, add Tor dependencies, or so on. |
|
66 |
|
67 Async DNS Library |
|
68 Adam Langley <[email protected]> |
|
69 http://www.imperialviolet.org/eventdns.html |
|
70 Public Domain code |
|
71 |
|
72 This software is Public Domain. To view a copy of the public domain dedication, |
|
73 visit http://creativecommons.org/licenses/publicdomain/ or send a letter to |
|
74 Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA. |
|
75 |
|
76 I ask and expect, but do not require, that all derivative works contain an |
|
77 attribution similar to: |
|
78 Parts developed by Adam Langley <[email protected]> |
|
79 |
|
80 You may wish to replace the word "Parts" with something else depending on |
|
81 the amount of original code. |
|
82 |
|
83 (Derivative works does not include programs which link against, run or include |
|
84 the source verbatim in their source distributions) |
|
85 |
|
86 This open source software license conforms to the BSD License template. |
|