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