Update from 1989 MIT license text to modern MIT license text (#556)

ares (and thus c-ares) was originally licensed under the 1989 MIT license text:
https://fedoraproject.org/wiki/Licensing:MIT#Old_Style_(no_advertising_without_permission)

This change updates the license to the modern MIT license as recognized here:
https://opensource.org/license/mit/

care has been taken to ensure correct attributions remain for the authors contained within the copyright headers, and all authors with attributions in the headers have been contacted for approval regarding the change.  Any authors which were not able to be contacted, the original copyright maintains, luckily that exists in only a single file `ares_parse_caa_reply.c` at this time.

Please see PR #556 for the documented approvals by each contributor.

Fix By: Brad House (@bradh352)
pull/557/head
Brad House 2 years ago committed by GitHub
parent 4d4fb34075
commit 6d077838f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 32
      LICENSE.md
  2. 19
      LICENSES/MIT.txt
  3. 35
      include/ares.h
  4. 38
      include/ares_build.h.dist
  5. 37
      include/ares_build.h.in
  6. 39
      include/ares_dns.h
  7. 35
      include/ares_nameser.h
  8. 37
      include/ares_rules.h
  9. 34
      include/ares_version.h
  10. 39
      src/lib/ares__addrinfo2hostent.c
  11. 36
      src/lib/ares__addrinfo_localhost.c
  12. 33
      src/lib/ares__buf.c
  13. 35
      src/lib/ares__buf.h
  14. 35
      src/lib/ares__close_sockets.c
  15. 35
      src/lib/ares__get_hostent.c
  16. 33
      src/lib/ares__htable.c
  17. 33
      src/lib/ares__htable.h
  18. 33
      src/lib/ares__htable_asvp.c
  19. 33
      src/lib/ares__htable_asvp.h
  20. 33
      src/lib/ares__htable_stvp.c
  21. 33
      src/lib/ares__htable_stvp.h
  22. 33
      src/lib/ares__llist.c
  23. 33
      src/lib/ares__llist.h
  24. 34
      src/lib/ares__parse_into_addrinfo.c
  25. 35
      src/lib/ares__read_line.c
  26. 33
      src/lib/ares__readaddrinfo.c
  27. 33
      src/lib/ares__slist.c
  28. 33
      src/lib/ares__slist.h
  29. 2
      src/lib/ares__sortaddrinfo.c
  30. 32
      src/lib/ares__timeval.c
  31. 33
      src/lib/ares_android.c
  32. 33
      src/lib/ares_android.h
  33. 32
      src/lib/ares_cancel.c
  34. 35
      src/lib/ares_create_query.c
  35. 34
      src/lib/ares_data.c
  36. 39
      src/lib/ares_data.h
  37. 36
      src/lib/ares_destroy.c
  38. 35
      src/lib/ares_expand_name.c
  39. 35
      src/lib/ares_expand_string.c
  40. 35
      src/lib/ares_fds.c
  41. 35
      src/lib/ares_free_hostent.c
  42. 35
      src/lib/ares_free_string.c
  43. 36
      src/lib/ares_freeaddrinfo.c
  44. 38
      src/lib/ares_getaddrinfo.c
  45. 36
      src/lib/ares_getenv.c
  46. 40
      src/lib/ares_getenv.h
  47. 36
      src/lib/ares_gethostbyaddr.c
  48. 34
      src/lib/ares_gethostbyname.c
  49. 34
      src/lib/ares_getnameinfo.c
  50. 32
      src/lib/ares_getsock.c
  51. 38
      src/lib/ares_inet_net_pton.h
  52. 36
      src/lib/ares_init.c
  53. 40
      src/lib/ares_iphlpapi.h
  54. 34
      src/lib/ares_ipv6.h
  55. 36
      src/lib/ares_library_init.c
  56. 35
      src/lib/ares_mkquery.c
  57. 35
      src/lib/ares_nowarn.c
  58. 39
      src/lib/ares_nowarn.h
  59. 37
      src/lib/ares_options.c
  60. 36
      src/lib/ares_parse_a_reply.c
  61. 38
      src/lib/ares_parse_aaaa_reply.c
  62. 36
      src/lib/ares_parse_caa_reply.c
  63. 36
      src/lib/ares_parse_mx_reply.c
  64. 37
      src/lib/ares_parse_naptr_reply.c
  65. 34
      src/lib/ares_parse_ns_reply.c
  66. 35
      src/lib/ares_parse_ptr_reply.c
  67. 36
      src/lib/ares_parse_soa_reply.c
  68. 36
      src/lib/ares_parse_srv_reply.c
  69. 36
      src/lib/ares_parse_txt_reply.c
  70. 36
      src/lib/ares_parse_uri_reply.c
  71. 37
      src/lib/ares_platform.c
  72. 41
      src/lib/ares_platform.h
  73. 41
      src/lib/ares_private.h
  74. 36
      src/lib/ares_process.c
  75. 35
      src/lib/ares_query.c
  76. 34
      src/lib/ares_rand.c
  77. 35
      src/lib/ares_search.c
  78. 35
      src/lib/ares_send.c
  79. 37
      src/lib/ares_setup.h
  80. 36
      src/lib/ares_strcasecmp.c
  81. 40
      src/lib/ares_strcasecmp.h
  82. 36
      src/lib/ares_strdup.c
  83. 40
      src/lib/ares_strdup.h
  84. 35
      src/lib/ares_strerror.c
  85. 33
      src/lib/ares_strsplit.c
  86. 40
      src/lib/ares_strsplit.h
  87. 35
      src/lib/ares_timeout.c
  88. 26
      src/lib/ares_version.c
  89. 1
      src/lib/bitncmp.c
  90. 39
      src/lib/bitncmp.h
  91. 34
      src/lib/cares.rc
  92. 36
      src/lib/config-win32.h
  93. 1
      src/lib/inet_net_pton.c
  94. 37
      src/lib/setup_once.h
  95. 2
      src/lib/windows_port.c
  96. 45
      src/tools/acountry.c
  97. 33
      src/tools/adig.c
  98. 33
      src/tools/ahost.c

@ -1,15 +1,27 @@
# c-ares license # c-ares license
Copyright (c) 2007 - 2018, Daniel Stenberg with many contributors, see AUTHORS MIT License
Copyright (c) 1998 Massachusetts Institute of Technology
Copyright (c) 2007 - 2023 Daniel Stenberg with many contributors, see AUTHORS
file. file.
Copyright 1998 by the Massachusetts Institute of Technology. Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice (including the next
paragraph) shall be included in all copies or substantial portions of the
Software.
Permission to use, copy, modify, and distribute this software and its THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
documentation for any purpose and without fee is hereby granted, provided that IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
the above copyright notice appear in all copies and that both that copyright FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
notice and this permission notice appear in supporting documentation, and that AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
the name of M.I.T. not be used in advertising or publicity pertaining to LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
distribution of the software without specific, written prior permission. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
M.I.T. makes no representations about the suitability of this software for any SOFTWARE.
purpose. It is provided "as is" without express or implied warranty.

@ -1,16 +1,17 @@
MIT License MIT License
Copyright (c) [year] [fullname] Copyright (c) <year> <copyright holders>
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy of
of this software and associated documentation files (the "Software"), to deal this software and associated documentation files (the "Software"), to deal in
in the Software without restriction, including without limitation the rights the Software without restriction, including without limitation the rights to
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
copies of the Software, and to permit persons to whom the Software is the Software, and to permit persons to whom the Software is furnished to do so,
furnished to do so, subject to the following conditions: subject to the following conditions:
The above copyright notice and this permission notice shall be included in all The above copyright notice and this permission notice (including the next
copies or substantial portions of the Software. paragraph) shall be included in all copies or substantial portions of the
Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,

@ -1,17 +1,26 @@
/* Copyright (C) the Massachusetts Institute of Technology. /* MIT License
* Copyright (C) Daniel Stenberg
* *
* Permission to use, copy, modify, and distribute this * Copyright (c) Massachusetts Institute of Technology
* software and its documentation for any purpose and without * Copyright (c) Daniel Stenberg
* fee is hereby granted, provided that the above copyright *
* notice appear in all copies and that both that copyright * Permission is hereby granted, free of charge, to any person obtaining a copy
* notice and this permission notice appear in supporting * of this software and associated documentation files (the "Software"), to deal
* documentation, and that the name of M.I.T. not be used in * in the Software without restriction, including without limitation the rights
* advertising or publicity pertaining to distribution of the * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* software without specific, written prior permission. * copies of the Software, and to permit persons to whom the Software is
* M.I.T. makes no representations about the suitability of * furnished to do so, subject to the following conditions:
* this software for any purpose. It is provided "as is" *
* without express or implied warranty. * The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,21 +1,31 @@
#ifndef __CARES_BUILD_H /* MIT License
#define __CARES_BUILD_H *
* Copyright (c) 2009 Daniel Stenberg
/* Copyright (C) 2009 - 2021 by Daniel Stenberg et al
* *
* Permission to use, copy, modify, and distribute this software and its * Permission is hereby granted, free of charge, to any person obtaining a copy
* documentation for any purpose and without fee is hereby granted, provided * of this software and associated documentation files (the "Software"), to deal
* that the above copyright notice appear in all copies and that both that * in the Software without restriction, including without limitation the rights
* copyright notice and this permission notice appear in supporting * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* documentation, and that the name of M.I.T. not be used in advertising or * copies of the Software, and to permit persons to whom the Software is
* publicity pertaining to distribution of the software without specific, * furnished to do so, subject to the following conditions:
* written prior permission. M.I.T. makes no representations about the *
* suitability of this software for any purpose. It is provided "as is" * The above copyright notice and this permission notice (including the next
* without express or implied warranty. * paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */
#ifndef __CARES_BUILD_H
#define __CARES_BUILD_H
/* ================================================================ */ /* ================================================================ */
/* NOTES FOR CONFIGURE CAPABLE SYSTEMS */ /* NOTES FOR CONFIGURE CAPABLE SYSTEMS */

@ -1,21 +1,30 @@
#ifndef __CARES_BUILD_H /* MIT License
#define __CARES_BUILD_H *
* Copyright (c) 2009 Daniel Stenberg
/* Copyright (C) 2009 - 2021 by Daniel Stenberg et al
* *
* Permission to use, copy, modify, and distribute this software and its * Permission is hereby granted, free of charge, to any person obtaining a copy
* documentation for any purpose and without fee is hereby granted, provided * of this software and associated documentation files (the "Software"), to deal
* that the above copyright notice appear in all copies and that both that * in the Software without restriction, including without limitation the rights
* copyright notice and this permission notice appear in supporting * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* documentation, and that the name of M.I.T. not be used in advertising or * copies of the Software, and to permit persons to whom the Software is
* publicity pertaining to distribution of the software without specific, * furnished to do so, subject to the following conditions:
* written prior permission. M.I.T. makes no representations about the *
* suitability of this software for any purpose. It is provided "as is" * The above copyright notice and this permission notice (including the next
* without express or implied warranty. * paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */
#ifndef __CARES_BUILD_H
#define __CARES_BUILD_H
/* ================================================================ */ /* ================================================================ */
/* NOTES FOR CONFIGURE CAPABLE SYSTEMS */ /* NOTES FOR CONFIGURE CAPABLE SYSTEMS */

@ -1,22 +1,31 @@
#ifndef HEADER_CARES_DNS_H /* MIT License
#define HEADER_CARES_DNS_H *
* Copyright (c) Massachusetts Institute of Technology
/* Copyright 1998, 2011 by the Massachusetts Institute of Technology. * Copyright (c) The c-ares project and its contributors
* *
* Permission to use, copy, modify, and distribute this * Permission is hereby granted, free of charge, to any person obtaining a copy
* software and its documentation for any purpose and without * of this software and associated documentation files (the "Software"), to deal
* fee is hereby granted, provided that the above copyright * in the Software without restriction, including without limitation the rights
* notice appear in all copies and that both that copyright * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* notice and this permission notice appear in supporting * copies of the Software, and to permit persons to whom the Software is
* documentation, and that the name of M.I.T. not be used in * furnished to do so, subject to the following conditions:
* advertising or publicity pertaining to distribution of the *
* software without specific, written prior permission. * The above copyright notice and this permission notice (including the next
* M.I.T. makes no representations about the suitability of * paragraph) shall be included in all copies or substantial portions of the
* this software for any purpose. It is provided "as is" * Software.
* without express or implied warranty. *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */
#ifndef HEADER_CARES_DNS_H
#define HEADER_CARES_DNS_H
/* /*
* NOTE TO INTEGRATORS: * NOTE TO INTEGRATORS:

@ -1,17 +1,26 @@
/* Copyright (C) the Massachusetts Institute of Technology. /* MIT License
* Copyright (C) Daniel Stenberg
* *
* Permission to use, copy, modify, and distribute this * Copyright (c) Massachusetts Institute of Technology
* software and its documentation for any purpose and without * Copyright (c) Daniel Stenberg
* fee is hereby granted, provided that the above copyright *
* notice appear in all copies and that both that copyright * Permission is hereby granted, free of charge, to any person obtaining a copy
* notice and this permission notice appear in supporting * of this software and associated documentation files (the "Software"), to deal
* documentation, and that the name of M.I.T. not be used in * in the Software without restriction, including without limitation the rights
* advertising or publicity pertaining to distribution of the * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* software without specific, written prior permission. * copies of the Software, and to permit persons to whom the Software is
* M.I.T. makes no representations about the suitability of * furnished to do so, subject to the following conditions:
* this software for any purpose. It is provided "as is" *
* without express or implied warranty. * The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,21 +1,30 @@
#ifndef __CARES_RULES_H /* MIT License
#define __CARES_RULES_H *
* Copyright (c) 2009 Daniel Stenberg
/* Copyright (C) 2009 - 2021 by Daniel Stenberg et al
* *
* Permission to use, copy, modify, and distribute this software and its * Permission is hereby granted, free of charge, to any person obtaining a copy
* documentation for any purpose and without fee is hereby granted, provided * of this software and associated documentation files (the "Software"), to deal
* that the above copyright notice appear in all copies and that both that * in the Software without restriction, including without limitation the rights
* copyright notice and this permission notice appear in supporting * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* documentation, and that the name of M.I.T. not be used in advertising or * copies of the Software, and to permit persons to whom the Software is
* publicity pertaining to distribution of the software without specific, * furnished to do so, subject to the following conditions:
* written prior permission. M.I.T. makes no representations about the *
* suitability of this software for any purpose. It is provided "as is" * The above copyright notice and this permission notice (including the next
* without express or implied warranty. * paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */
#ifndef __CARES_RULES_H
#define __CARES_RULES_H
/* ================================================================ */ /* ================================================================ */
/* COMPILE TIME SANITY CHECKS */ /* COMPILE TIME SANITY CHECKS */

@ -1,17 +1,25 @@
/* /* MIT License
* Copyright (C) Daniel Stenberg
* *
* Permission to use, copy, modify, and distribute this * Copyright (c) Daniel Stenberg
* software and its documentation for any purpose and without *
* fee is hereby granted, provided that the above copyright * Permission is hereby granted, free of charge, to any person obtaining a copy
* notice appear in all copies and that both that copyright * of this software and associated documentation files (the "Software"), to deal
* notice and this permission notice appear in supporting * in the Software without restriction, including without limitation the rights
* documentation, and that the name of M.I.T. not be used in * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* advertising or publicity pertaining to distribution of the * copies of the Software, and to permit persons to whom the Software is
* software without specific, written prior permission. * furnished to do so, subject to the following conditions:
* M.I.T. makes no representations about the suitability of *
* this software for any purpose. It is provided "as is" * The above copyright notice and this permission notice (including the next
* without express or implied warranty. * paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,19 +1,28 @@
/* Copyright 1998 by the Massachusetts Institute of Technology. /* MIT License
* Copyright 2005 Dominick Meglio
* Copyright (C) 2019 by Andrew Selivanov
* Copyright (C) 2021 by Brad House
* *
* Permission to use, copy, modify, and distribute this * Copyright (c) 1998 Massachusetts Institute of Technology
* software and its documentation for any purpose and without * Copyright (c) 2005 Dominick Meglio
* fee is hereby granted, provided that the above copyright * Copyright (c) 2019 Andrew Selivanov
* notice appear in all copies and that both that copyright * Copyright (c) 2021 Brad House
* notice and this permission notice appear in supporting *
* documentation, and that the name of M.I.T. not be used in * Permission is hereby granted, free of charge, to any person obtaining a copy
* advertising or publicity pertaining to distribution of the * of this software and associated documentation files (the "Software"), to deal
* software without specific, written prior permission. * in the Software without restriction, including without limitation the rights
* M.I.T. makes no representations about the suitability of * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* this software for any purpose. It is provided "as is" * copies of the Software, and to permit persons to whom the Software is
* without express or implied warranty. * furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,18 +1,26 @@
/* /* MIT License
* Copyright (C) the Massachusetts Institute of Technology.
* Copyright (C) Daniel Stenberg
* *
* Permission to use, copy, modify, and distribute this * Copyright (c) Massachusetts Institute of Technology
* software and its documentation for any purpose and without * Copyright (c) Daniel Stenberg
* fee is hereby granted, provided that the above copyright *
* notice appear in all copies and that both that copyright * Permission is hereby granted, free of charge, to any person obtaining a copy
* notice and this permission notice appear in supporting * of this software and associated documentation files (the "Software"), to deal
* documentation, and that the name of M.I.T. not be used in * in the Software without restriction, including without limitation the rights
* advertising or publicity pertaining to distribution of the * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* software without specific, written prior permission. * copies of the Software, and to permit persons to whom the Software is
* M.I.T. makes no representations about the suitability of * furnished to do so, subject to the following conditions:
* this software for any purpose. It is provided "as is" *
* without express or implied warranty. * The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,16 +1,25 @@
/* Copyright (C) 2023 by Brad House /* MIT License
* *
* Permission to use, copy, modify, and distribute this * Copyright (c) 2023 Brad House
* software and its documentation for any purpose and without *
* fee is hereby granted, provided that the above copyright * Permission is hereby granted, free of charge, to any person obtaining a copy
* notice appear in all copies and that both that copyright * of this software and associated documentation files (the "Software"), to deal
* notice and this permission notice appear in supporting * in the Software without restriction, including without limitation the rights
* documentation, and that the name of M.I.T. not be used in * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* advertising or publicity pertaining to distribution of the * copies of the Software, and to permit persons to whom the Software is
* software without specific, written prior permission. * furnished to do so, subject to the following conditions:
* M.I.T. makes no representations about the suitability of *
* this software for any purpose. It is provided "as is" * The above copyright notice and this permission notice (including the next
* without express or implied warranty. * paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,16 +1,25 @@
/* Copyright (C) 2023 by Brad House /* MIT License
* *
* Permission to use, copy, modify, and distribute this * Copyright (c) 2023 Brad House
* software and its documentation for any purpose and without *
* fee is hereby granted, provided that the above copyright * Permission is hereby granted, free of charge, to any person obtaining a copy
* notice appear in all copies and that both that copyright * of this software and associated documentation files (the "Software"), to deal
* notice and this permission notice appear in supporting * in the Software without restriction, including without limitation the rights
* documentation, and that the name of M.I.T. not be used in * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* advertising or publicity pertaining to distribution of the * copies of the Software, and to permit persons to whom the Software is
* software without specific, written prior permission. * furnished to do so, subject to the following conditions:
* M.I.T. makes no representations about the suitability of *
* this software for any purpose. It is provided "as is" * The above copyright notice and this permission notice (including the next
* without express or implied warranty. * paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,17 +1,26 @@
/* MIT License
/* Copyright 1998 by the Massachusetts Institute of Technology. *
* Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (c) The c-ares project and its contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
* *
* Permission to use, copy, modify, and distribute this * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* software and its documentation for any purpose and without * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* fee is hereby granted, provided that the above copyright * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* notice appear in all copies and that both that copyright * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* notice and this permission notice appear in supporting * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* documentation, and that the name of M.I.T. not be used in * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* advertising or publicity pertaining to distribution of the * SOFTWARE.
* software without specific, written prior permission.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,17 +1,26 @@
/* MIT License
/* Copyright 1998, 2011 by the Massachusetts Institute of Technology. *
* Copyright (c) 1998, 2011 Massachusetts Institute of Technology
* Copyright (c) The c-ares project and its contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
* *
* Permission to use, copy, modify, and distribute this * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* software and its documentation for any purpose and without * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* fee is hereby granted, provided that the above copyright * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* notice appear in all copies and that both that copyright * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* notice and this permission notice appear in supporting * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* documentation, and that the name of M.I.T. not be used in * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* advertising or publicity pertaining to distribution of the * SOFTWARE.
* software without specific, written prior permission.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,16 +1,25 @@
/* Copyright (C) 2023 by Brad House /* MIT License
* *
* Permission to use, copy, modify, and distribute this * Copyright (c) 2023 Brad House
* software and its documentation for any purpose and without *
* fee is hereby granted, provided that the above copyright * Permission is hereby granted, free of charge, to any person obtaining a copy
* notice appear in all copies and that both that copyright * of this software and associated documentation files (the "Software"), to deal
* notice and this permission notice appear in supporting * in the Software without restriction, including without limitation the rights
* documentation, and that the name of M.I.T. not be used in * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* advertising or publicity pertaining to distribution of the * copies of the Software, and to permit persons to whom the Software is
* software without specific, written prior permission. * furnished to do so, subject to the following conditions:
* M.I.T. makes no representations about the suitability of *
* this software for any purpose. It is provided "as is" * The above copyright notice and this permission notice (including the next
* without express or implied warranty. * paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,16 +1,25 @@
/* Copyright (C) 2023 by Brad House /* MIT License
* *
* Permission to use, copy, modify, and distribute this * Copyright (c) 2023 Brad House
* software and its documentation for any purpose and without *
* fee is hereby granted, provided that the above copyright * Permission is hereby granted, free of charge, to any person obtaining a copy
* notice appear in all copies and that both that copyright * of this software and associated documentation files (the "Software"), to deal
* notice and this permission notice appear in supporting * in the Software without restriction, including without limitation the rights
* documentation, and that the name of M.I.T. not be used in * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* advertising or publicity pertaining to distribution of the * copies of the Software, and to permit persons to whom the Software is
* software without specific, written prior permission. * furnished to do so, subject to the following conditions:
* M.I.T. makes no representations about the suitability of *
* this software for any purpose. It is provided "as is" * The above copyright notice and this permission notice (including the next
* without express or implied warranty. * paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,16 +1,25 @@
/* Copyright (C) 2023 by Brad House /* MIT License
* *
* Permission to use, copy, modify, and distribute this * Copyright (c) 2023 Brad House
* software and its documentation for any purpose and without *
* fee is hereby granted, provided that the above copyright * Permission is hereby granted, free of charge, to any person obtaining a copy
* notice appear in all copies and that both that copyright * of this software and associated documentation files (the "Software"), to deal
* notice and this permission notice appear in supporting * in the Software without restriction, including without limitation the rights
* documentation, and that the name of M.I.T. not be used in * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* advertising or publicity pertaining to distribution of the * copies of the Software, and to permit persons to whom the Software is
* software without specific, written prior permission. * furnished to do so, subject to the following conditions:
* M.I.T. makes no representations about the suitability of *
* this software for any purpose. It is provided "as is" * The above copyright notice and this permission notice (including the next
* without express or implied warranty. * paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,16 +1,25 @@
/* Copyright (C) 2023 by Brad House /* MIT License
* *
* Permission to use, copy, modify, and distribute this * Copyright (c) 2023 Brad House
* software and its documentation for any purpose and without *
* fee is hereby granted, provided that the above copyright * Permission is hereby granted, free of charge, to any person obtaining a copy
* notice appear in all copies and that both that copyright * of this software and associated documentation files (the "Software"), to deal
* notice and this permission notice appear in supporting * in the Software without restriction, including without limitation the rights
* documentation, and that the name of M.I.T. not be used in * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* advertising or publicity pertaining to distribution of the * copies of the Software, and to permit persons to whom the Software is
* software without specific, written prior permission. * furnished to do so, subject to the following conditions:
* M.I.T. makes no representations about the suitability of *
* this software for any purpose. It is provided "as is" * The above copyright notice and this permission notice (including the next
* without express or implied warranty. * paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,16 +1,25 @@
/* Copyright (C) 2023 by Brad House /* MIT License
* *
* Permission to use, copy, modify, and distribute this * Copyright (c) 2023 Brad House
* software and its documentation for any purpose and without *
* fee is hereby granted, provided that the above copyright * Permission is hereby granted, free of charge, to any person obtaining a copy
* notice appear in all copies and that both that copyright * of this software and associated documentation files (the "Software"), to deal
* notice and this permission notice appear in supporting * in the Software without restriction, including without limitation the rights
* documentation, and that the name of M.I.T. not be used in * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* advertising or publicity pertaining to distribution of the * copies of the Software, and to permit persons to whom the Software is
* software without specific, written prior permission. * furnished to do so, subject to the following conditions:
* M.I.T. makes no representations about the suitability of *
* this software for any purpose. It is provided "as is" * The above copyright notice and this permission notice (including the next
* without express or implied warranty. * paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,16 +1,25 @@
/* Copyright (C) 2023 by Brad House /* MIT License
* *
* Permission to use, copy, modify, and distribute this * Copyright (c) 2023 Brad House
* software and its documentation for any purpose and without *
* fee is hereby granted, provided that the above copyright * Permission is hereby granted, free of charge, to any person obtaining a copy
* notice appear in all copies and that both that copyright * of this software and associated documentation files (the "Software"), to deal
* notice and this permission notice appear in supporting * in the Software without restriction, including without limitation the rights
* documentation, and that the name of M.I.T. not be used in * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* advertising or publicity pertaining to distribution of the * copies of the Software, and to permit persons to whom the Software is
* software without specific, written prior permission. * furnished to do so, subject to the following conditions:
* M.I.T. makes no representations about the suitability of *
* this software for any purpose. It is provided "as is" * The above copyright notice and this permission notice (including the next
* without express or implied warranty. * paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,16 +1,25 @@
/* Copyright (C) 2023 by Brad House /* MIT License
* *
* Permission to use, copy, modify, and distribute this * Copyright (c) 2023 Brad House
* software and its documentation for any purpose and without *
* fee is hereby granted, provided that the above copyright * Permission is hereby granted, free of charge, to any person obtaining a copy
* notice appear in all copies and that both that copyright * of this software and associated documentation files (the "Software"), to deal
* notice and this permission notice appear in supporting * in the Software without restriction, including without limitation the rights
* documentation, and that the name of M.I.T. not be used in * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* advertising or publicity pertaining to distribution of the * copies of the Software, and to permit persons to whom the Software is
* software without specific, written prior permission. * furnished to do so, subject to the following conditions:
* M.I.T. makes no representations about the suitability of *
* this software for any purpose. It is provided "as is" * The above copyright notice and this permission notice (including the next
* without express or implied warranty. * paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,16 +1,25 @@
/* Copyright (C) 2023 by Brad House /* MIT License
* *
* Permission to use, copy, modify, and distribute this * Copyright (c) 2023 Brad House
* software and its documentation for any purpose and without *
* fee is hereby granted, provided that the above copyright * Permission is hereby granted, free of charge, to any person obtaining a copy
* notice appear in all copies and that both that copyright * of this software and associated documentation files (the "Software"), to deal
* notice and this permission notice appear in supporting * in the Software without restriction, including without limitation the rights
* documentation, and that the name of M.I.T. not be used in * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* advertising or publicity pertaining to distribution of the * copies of the Software, and to permit persons to whom the Software is
* software without specific, written prior permission. * furnished to do so, subject to the following conditions:
* M.I.T. makes no representations about the suitability of *
* this software for any purpose. It is provided "as is" * The above copyright notice and this permission notice (including the next
* without express or implied warranty. * paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,20 +1,28 @@
/* Copyright (C) 2019 by Andrew Selivanov /* MIT License
* *
* Permission to use, copy, modify, and distribute this * Copyright (c) 2019 Andrew Selivanov
* software and its documentation for any purpose and without *
* fee is hereby granted, provided that the above copyright * Permission is hereby granted, free of charge, to any person obtaining a copy
* notice appear in all copies and that both that copyright * of this software and associated documentation files (the "Software"), to deal
* notice and this permission notice appear in supporting * in the Software without restriction, including without limitation the rights
* documentation, and that the name of M.I.T. not be used in * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* advertising or publicity pertaining to distribution of the * copies of the Software, and to permit persons to whom the Software is
* software without specific, written prior permission. * furnished to do so, subject to the following conditions:
* M.I.T. makes no representations about the suitability of *
* this software for any purpose. It is provided "as is" * The above copyright notice and this permission notice (including the next
* without express or implied warranty. * paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */
#include "ares_setup.h" #include "ares_setup.h"
#ifdef HAVE_NETINET_IN_H #ifdef HAVE_NETINET_IN_H

@ -1,17 +1,26 @@
/* MIT License
/* Copyright 1998 by the Massachusetts Institute of Technology. *
* Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (c) The c-ares project and its contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
* *
* Permission to use, copy, modify, and distribute this * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* software and its documentation for any purpose and without * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* fee is hereby granted, provided that the above copyright * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* notice appear in all copies and that both that copyright * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* notice and this permission notice appear in supporting * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* documentation, and that the name of M.I.T. not be used in * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* advertising or publicity pertaining to distribution of the * SOFTWARE.
* software without specific, written prior permission.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,16 +1,25 @@
/* Copyright (C) 2019 by Andrew Selivanov /* MIT License
* *
* Permission to use, copy, modify, and distribute this * Copyright (c) 2019 Andrew Selivanov
* software and its documentation for any purpose and without *
* fee is hereby granted, provided that the above copyright * Permission is hereby granted, free of charge, to any person obtaining a copy
* notice appear in all copies and that both that copyright * of this software and associated documentation files (the "Software"), to deal
* notice and this permission notice appear in supporting * in the Software without restriction, including without limitation the rights
* documentation, and that the name of M.I.T. not be used in * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* advertising or publicity pertaining to distribution of the * copies of the Software, and to permit persons to whom the Software is
* software without specific, written prior permission. * furnished to do so, subject to the following conditions:
* M.I.T. makes no representations about the suitability of *
* this software for any purpose. It is provided "as is" * The above copyright notice and this permission notice (including the next
* without express or implied warranty. * paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,16 +1,25 @@
/* Copyright (C) 2023 by Brad House /* MIT License
* *
* Permission to use, copy, modify, and distribute this * Copyright (c) 2023 Brad House
* software and its documentation for any purpose and without *
* fee is hereby granted, provided that the above copyright * Permission is hereby granted, free of charge, to any person obtaining a copy
* notice appear in all copies and that both that copyright * of this software and associated documentation files (the "Software"), to deal
* notice and this permission notice appear in supporting * in the Software without restriction, including without limitation the rights
* documentation, and that the name of M.I.T. not be used in * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* advertising or publicity pertaining to distribution of the * copies of the Software, and to permit persons to whom the Software is
* software without specific, written prior permission. * furnished to do so, subject to the following conditions:
* M.I.T. makes no representations about the suitability of *
* this software for any purpose. It is provided "as is" * The above copyright notice and this permission notice (including the next
* without express or implied warranty. * paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,16 +1,25 @@
/* Copyright (C) 2023 by Brad House /* MIT License
* *
* Permission to use, copy, modify, and distribute this * Copyright (c) 2023 Brad House
* software and its documentation for any purpose and without *
* fee is hereby granted, provided that the above copyright * Permission is hereby granted, free of charge, to any person obtaining a copy
* notice appear in all copies and that both that copyright * of this software and associated documentation files (the "Software"), to deal
* notice and this permission notice appear in supporting * in the Software without restriction, including without limitation the rights
* documentation, and that the name of M.I.T. not be used in * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* advertising or publicity pertaining to distribution of the * copies of the Software, and to permit persons to whom the Software is
* software without specific, written prior permission. * furnished to do so, subject to the following conditions:
* M.I.T. makes no representations about the suitability of *
* this software for any purpose. It is provided "as is" * The above copyright notice and this permission notice (including the next
* without express or implied warranty. * paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -6,7 +6,7 @@
/* /*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
* Copyright (C) 2018 The Android Open Source Project * Copyright (C) 2018 The Android Open Source Project
* Copyright (C) 2019 by Andrew Selivanov * Copyright (C) 2019 Andrew Selivanov
* All rights reserved. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without

@ -1,15 +1,25 @@
/* MIT License
/* Copyright (C) 2008 by Daniel Stenberg et al *
* Copyright (c) 2008 Daniel Stenberg
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
* *
* Permission to use, copy, modify, and distribute this software and its * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* documentation for any purpose and without fee is hereby granted, provided * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* that the above copyright notice appear in all copies and that both that * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* copyright notice and this permission notice appear in supporting * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* documentation, and that the name of M.I.T. not be used in advertising or * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* publicity pertaining to distribution of the software without specific, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* written prior permission. M.I.T. makes no representations about the * SOFTWARE.
* suitability of this software for any purpose. It is provided "as is"
* without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,16 +1,25 @@
/* Copyright (C) 2017 by John Schember <john@nachtimwald.com> /* MIT License
* *
* Permission to use, copy, modify, and distribute this * Copyright (c) John Schember
* software and its documentation for any purpose and without *
* fee is hereby granted, provided that the above copyright * Permission is hereby granted, free of charge, to any person obtaining a copy
* notice appear in all copies and that both that copyright * of this software and associated documentation files (the "Software"), to deal
* notice and this permission notice appear in supporting * in the Software without restriction, including without limitation the rights
* documentation, and that the name of M.I.T. not be used in * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* advertising or publicity pertaining to distribution of the * copies of the Software, and to permit persons to whom the Software is
* software without specific, written prior permission. * furnished to do so, subject to the following conditions:
* M.I.T. makes no representations about the suitability of *
* this software for any purpose. It is provided "as is" * The above copyright notice and this permission notice (including the next
* without express or implied warranty. * paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,16 +1,25 @@
/* Copyright (C) 2017 by John Schember <john@nachtimwald.com> /* MIT License
* *
* Permission to use, copy, modify, and distribute this * Copyright (c) John Schember
* software and its documentation for any purpose and without *
* fee is hereby granted, provided that the above copyright * Permission is hereby granted, free of charge, to any person obtaining a copy
* notice appear in all copies and that both that copyright * of this software and associated documentation files (the "Software"), to deal
* notice and this permission notice appear in supporting * in the Software without restriction, including without limitation the rights
* documentation, and that the name of M.I.T. not be used in * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* advertising or publicity pertaining to distribution of the * copies of the Software, and to permit persons to whom the Software is
* software without specific, written prior permission. * furnished to do so, subject to the following conditions:
* M.I.T. makes no representations about the suitability of *
* this software for any purpose. It is provided "as is" * The above copyright notice and this permission notice (including the next
* without express or implied warranty. * paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,15 +1,25 @@
/* MIT License
/* Copyright (C) 2004 by Daniel Stenberg et al *
* Copyright (c) 2004 Daniel Stenberg
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
* *
* Permission to use, copy, modify, and distribute this software and its * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* documentation for any purpose and without fee is hereby granted, provided * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* that the above copyright notice appear in all copies and that both that * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* copyright notice and this permission notice appear in supporting * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* documentation, and that the name of M.I.T. not be used in advertising or * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* publicity pertaining to distribution of the software without specific, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* written prior permission. M.I.T. makes no representations about the * SOFTWARE.
* suitability of this software for any purpose. It is provided "as is"
* without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,17 +1,26 @@
/* MIT License
/* Copyright 1998 by the Massachusetts Institute of Technology. *
* Copyright (c) Massachusetts Institute of Technology
* Copyright (c) The c-ares project and its contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
* *
* Permission to use, copy, modify, and distribute this * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* software and its documentation for any purpose and without * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* fee is hereby granted, provided that the above copyright * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* notice appear in all copies and that both that copyright * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* notice and this permission notice appear in supporting * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* documentation, and that the name of M.I.T. not be used in * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* advertising or publicity pertaining to distribution of the * SOFTWARE.
* software without specific, written prior permission.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,17 +1,25 @@
/* MIT License
/* Copyright (C) 2009-2013 by Daniel Stenberg *
* Copyright (c) 2009 Daniel Stenberg
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
* *
* Permission to use, copy, modify, and distribute this * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* software and its documentation for any purpose and without * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* fee is hereby granted, provided that the above copyright * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* notice appear in all copies and that both that copyright * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* notice and this permission notice appear in supporting * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* documentation, and that the name of M.I.T. not be used in * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* advertising or publicity pertaining to distribution of the * SOFTWARE.
* software without specific, written prior permission.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,23 +1,30 @@
#ifndef __ARES_DATA_H /* MIT License
#define __ARES_DATA_H *
* Copyright (c) 2009 Daniel Stenberg
/* Copyright (C) 2009-2013 by Daniel Stenberg
* *
* Permission to use, copy, modify, and distribute this * Permission is hereby granted, free of charge, to any person obtaining a copy
* software and its documentation for any purpose and without * of this software and associated documentation files (the "Software"), to deal
* fee is hereby granted, provided that the above copyright * in the Software without restriction, including without limitation the rights
* notice appear in all copies and that both that copyright * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* notice and this permission notice appear in supporting * copies of the Software, and to permit persons to whom the Software is
* documentation, and that the name of M.I.T. not be used in * furnished to do so, subject to the following conditions:
* advertising or publicity pertaining to distribution of the *
* software without specific, written prior permission. * The above copyright notice and this permission notice (including the next
* M.I.T. makes no representations about the suitability of * paragraph) shall be included in all copies or substantial portions of the
* this software for any purpose. It is provided "as is" * Software.
* without express or implied warranty. *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */
#ifndef __ARES_DATA_H
#define __ARES_DATA_H
typedef enum { typedef enum {
ARES_DATATYPE_UNKNOWN = 1, /* unknown data type - introduced in 1.7.0 */ ARES_DATATYPE_UNKNOWN = 1, /* unknown data type - introduced in 1.7.0 */

@ -1,18 +1,26 @@
/* MIT License
/* Copyright 1998 by the Massachusetts Institute of Technology. *
* Copyright (C) 2004-2011 by Daniel Stenberg * Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (c) 2004 Daniel Stenberg
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
* *
* Permission to use, copy, modify, and distribute this * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* software and its documentation for any purpose and without * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* fee is hereby granted, provided that the above copyright * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* notice appear in all copies and that both that copyright * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* notice and this permission notice appear in supporting * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* documentation, and that the name of M.I.T. not be used in * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* advertising or publicity pertaining to distribution of the * SOFTWARE.
* software without specific, written prior permission.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,17 +1,26 @@
/* MIT License
/* Copyright 1998, 2011 by the Massachusetts Institute of Technology. *
* Copyright (c) 1998, 2011 Massachusetts Institute of Technology
* Copyright (c) The c-ares project and its contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
* *
* Permission to use, copy, modify, and distribute this * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* software and its documentation for any purpose and without * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* fee is hereby granted, provided that the above copyright * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* notice appear in all copies and that both that copyright * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* notice and this permission notice appear in supporting * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* documentation, and that the name of M.I.T. not be used in * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* advertising or publicity pertaining to distribution of the * SOFTWARE.
* software without specific, written prior permission.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,17 +1,26 @@
/* MIT License
/* Copyright 1998 by the Massachusetts Institute of Technology. *
* Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (c) The c-ares project and its contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
* *
* Permission to use, copy, modify, and distribute this * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* software and its documentation for any purpose and without * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* fee is hereby granted, provided that the above copyright * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* notice appear in all copies and that both that copyright * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* notice and this permission notice appear in supporting * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* documentation, and that the name of M.I.T. not be used in * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* advertising or publicity pertaining to distribution of the * SOFTWARE.
* software without specific, written prior permission.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,17 +1,26 @@
/* MIT License
/* Copyright 1998 by the Massachusetts Institute of Technology. *
* Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (c) The c-ares project and its contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
* *
* Permission to use, copy, modify, and distribute this * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* software and its documentation for any purpose and without * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* fee is hereby granted, provided that the above copyright * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* notice appear in all copies and that both that copyright * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* notice and this permission notice appear in supporting * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* documentation, and that the name of M.I.T. not be used in * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* advertising or publicity pertaining to distribution of the * SOFTWARE.
* software without specific, written prior permission.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,17 +1,26 @@
/* MIT License
/* Copyright 1998 by the Massachusetts Institute of Technology. *
* Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (c) The c-ares project and its contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
* *
* Permission to use, copy, modify, and distribute this * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* software and its documentation for any purpose and without * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* fee is hereby granted, provided that the above copyright * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* notice appear in all copies and that both that copyright * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* notice and this permission notice appear in supporting * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* documentation, and that the name of M.I.T. not be used in * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* advertising or publicity pertaining to distribution of the * SOFTWARE.
* software without specific, written prior permission.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,17 +1,26 @@
/* MIT License
/* Copyright 2000 by the Massachusetts Institute of Technology. *
* Copyright (c) 2000 Massachusetts Institute of Technology
* Copyright (c) The c-ares project and its contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
* *
* Permission to use, copy, modify, and distribute this * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* software and its documentation for any purpose and without * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* fee is hereby granted, provided that the above copyright * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* notice appear in all copies and that both that copyright * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* notice and this permission notice appear in supporting * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* documentation, and that the name of M.I.T. not be used in * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* advertising or publicity pertaining to distribution of the * SOFTWARE.
* software without specific, written prior permission.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,18 +1,26 @@
/* MIT License
/* Copyright 1998 by the Massachusetts Institute of Technology. *
* Copyright (C) 2019 by Andrew Selivanov * Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (c) 2019 Andrew Selivanov
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
* *
* Permission to use, copy, modify, and distribute this * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* software and its documentation for any purpose and without * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* fee is hereby granted, provided that the above copyright * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* notice appear in all copies and that both that copyright * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* notice and this permission notice appear in supporting * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* documentation, and that the name of M.I.T. not be used in * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* advertising or publicity pertaining to distribution of the * SOFTWARE.
* software without specific, written prior permission.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,19 +1,27 @@
/* MIT License
/* Copyright 1998, 2011, 2013 by the Massachusetts Institute of Technology. *
* Copyright (C) 2017 - 2018 by Christian Ammer * Copyright (c) 1998, 2011, 2013 Massachusetts Institute of Technology
* Copyright (C) 2019 by Andrew Selivanov * Copyright (c) 2017 Christian Ammer
* Copyright (c) 2019 Andrew Selivanov
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
* *
* Permission to use, copy, modify, and distribute this * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* software and its documentation for any purpose and without * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* fee is hereby granted, provided that the above copyright * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* notice appear in all copies and that both that copyright * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* notice and this permission notice appear in supporting * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* documentation, and that the name of M.I.T. not be used in * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* advertising or publicity pertaining to distribution of the * SOFTWARE.
* software without specific, written prior permission.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,18 +1,26 @@
/* MIT License
*
/* Copyright 1998 by the Massachusetts Institute of Technology. * Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (c) The c-ares project and its contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
* *
* Permission to use, copy, modify, and distribute this * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* software and its documentation for any purpose and without * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* fee is hereby granted, provided that the above copyright * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* notice appear in all copies and that both that copyright * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* notice and this permission notice appear in supporting * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* documentation, and that the name of M.I.T. not be used in * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* advertising or publicity pertaining to distribution of the * SOFTWARE.
* software without specific, written prior permission.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,23 +1,31 @@
#ifndef HEADER_CARES_GETENV_H /* MIT License
#define HEADER_CARES_GETENV_H *
* Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (c) The c-ares project and its contributors
/* Copyright 1998 by the Massachusetts Institute of Technology.
* *
* Permission to use, copy, modify, and distribute this * Permission is hereby granted, free of charge, to any person obtaining a copy
* software and its documentation for any purpose and without * of this software and associated documentation files (the "Software"), to deal
* fee is hereby granted, provided that the above copyright * in the Software without restriction, including without limitation the rights
* notice appear in all copies and that both that copyright * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* notice and this permission notice appear in supporting * copies of the Software, and to permit persons to whom the Software is
* documentation, and that the name of M.I.T. not be used in * furnished to do so, subject to the following conditions:
* advertising or publicity pertaining to distribution of the *
* software without specific, written prior permission. * The above copyright notice and this permission notice (including the next
* M.I.T. makes no representations about the suitability of * paragraph) shall be included in all copies or substantial portions of the
* this software for any purpose. It is provided "as is" * Software.
* without express or implied warranty. *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */
#ifndef HEADER_CARES_GETENV_H
#define HEADER_CARES_GETENV_H
#include "ares_setup.h" #include "ares_setup.h"

@ -1,20 +1,30 @@
/* MIT License
/* Copyright 1998 by the Massachusetts Institute of Technology. *
* Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (c) The c-ares project and its contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
* *
* Permission to use, copy, modify, and distribute this * The above copyright notice and this permission notice (including the next
* software and its documentation for any purpose and without * paragraph) shall be included in all copies or substantial portions of the
* fee is hereby granted, provided that the above copyright * Software.
* notice appear in all copies and that both that copyright *
* notice and this permission notice appear in supporting * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* documentation, and that the name of M.I.T. not be used in * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* advertising or publicity pertaining to distribution of the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* software without specific, written prior permission. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* M.I.T. makes no representations about the suitability of * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* this software for any purpose. It is provided "as is" * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* without express or implied warranty. * SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */
#include "ares_setup.h" #include "ares_setup.h"
#ifdef HAVE_NETINET_IN_H #ifdef HAVE_NETINET_IN_H

@ -1,16 +1,26 @@
/* Copyright 1998, 2011, 2013 by the Massachusetts Institute of Technology. /* MIT License
* *
* Permission to use, copy, modify, and distribute this * Copyright (c) 1998, 2011, 2013 Massachusetts Institute of Technology
* software and its documentation for any purpose and without * Copyright (c) The c-ares project and its contributors
* fee is hereby granted, provided that the above copyright *
* notice appear in all copies and that both that copyright * Permission is hereby granted, free of charge, to any person obtaining a copy
* notice and this permission notice appear in supporting * of this software and associated documentation files (the "Software"), to deal
* documentation, and that the name of M.I.T. not be used in * in the Software without restriction, including without limitation the rights
* advertising or publicity pertaining to distribution of the * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* software without specific, written prior permission. * copies of the Software, and to permit persons to whom the Software is
* M.I.T. makes no representations about the suitability of * furnished to do so, subject to the following conditions:
* this software for any purpose. It is provided "as is" *
* without express or implied warranty. * The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,17 +1,25 @@
/* MIT License
/* Copyright 2005, 2023 by Dominick Meglio *
* Copyright (c) 2005, 2013 Dominick Meglio
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
* *
* Permission to use, copy, modify, and distribute this * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* software and its documentation for any purpose and without * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* fee is hereby granted, provided that the above copyright * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* notice appear in all copies and that both that copyright * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* notice and this permission notice appear in supporting * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* documentation, and that the name of M.I.T. not be used in * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* advertising or publicity pertaining to distribution of the * SOFTWARE.
* software without specific, written prior permission.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,15 +1,25 @@
/* MIT License
/* Copyright (C) 2005 - 2010, Daniel Stenberg *
* Copyright (c) 2005 Daniel Stenberg
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
* *
* Permission to use, copy, modify, and distribute this software and its * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* documentation for any purpose and without fee is hereby granted, provided * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* that the above copyright notice appear in all copies and that both that * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* copyright notice and this permission notice appear in supporting * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* documentation, and that the name of M.I.T. not be used in advertising or * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* publicity pertaining to distribution of the software without specific, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* written prior permission. M.I.T. makes no representations about the * SOFTWARE.
* suitability of this software for any purpose. It is provided "as is"
* without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,22 +1,30 @@
#ifndef HEADER_CARES_INET_NET_PTON_H /* MIT License
#define HEADER_CARES_INET_NET_PTON_H *
* Copyright (c) 2005 Daniel Stenberg
/* Copyright (C) 2005-2013 by Daniel Stenberg et al
* *
* Permission to use, copy, modify, and distribute this * Permission is hereby granted, free of charge, to any person obtaining a copy
* software and its documentation for any purpose and without * of this software and associated documentation files (the "Software"), to deal
* fee is hereby granted, provided that the above copyright * in the Software without restriction, including without limitation the rights
* notice appear in all copies and that both that copyright * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* notice and this permission notice appear in supporting * copies of the Software, and to permit persons to whom the Software is
* documentation, and that the name of M.I.T. not be used in * furnished to do so, subject to the following conditions:
* advertising or publicity pertaining to distribution of the *
* software without specific, written prior permission. * The above copyright notice and this permission notice (including the next
* M.I.T. makes no representations about the suitability of * paragraph) shall be included in all copies or substantial portions of the
* this software for any purpose. It is provided "as is" * Software.
* without express or implied warranty. *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */
#ifndef HEADER_CARES_INET_NET_PTON_H
#define HEADER_CARES_INET_NET_PTON_H
#ifdef HAVE_INET_NET_PTON #ifdef HAVE_INET_NET_PTON
#define ares_inet_net_pton(w,x,y,z) inet_net_pton(w,x,y,z) #define ares_inet_net_pton(w,x,y,z) inet_net_pton(w,x,y,z)

@ -1,18 +1,26 @@
/* MIT License
/* Copyright 1998 by the Massachusetts Institute of Technology. *
* Copyright (C) 2007-2013 by Daniel Stenberg * Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (c) 2007 Daniel Stenberg
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
* *
* Permission to use, copy, modify, and distribute this * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* software and its documentation for any purpose and without * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* fee is hereby granted, provided that the above copyright * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* notice appear in all copies and that both that copyright * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* notice and this permission notice appear in supporting * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* documentation, and that the name of M.I.T. not be used in * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* advertising or publicity pertaining to distribution of the * SOFTWARE.
* software without specific, written prior permission.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,23 +1,31 @@
#ifndef HEADER_CARES_IPHLPAPI_H /* MIT License
#define HEADER_CARES_IPHLPAPI_H *
* Copyright (c) 1998 Massachusetts Institute of Technology
/* Copyright 1998 by the Massachusetts Institute of Technology. * Copyright (c) 2004 Daniel Stenberg
* Copyright (C) 2004 - 2011 by Daniel Stenberg et al
* *
* Permission to use, copy, modify, and distribute this * Permission is hereby granted, free of charge, to any person obtaining a copy
* software and its documentation for any purpose and without * of this software and associated documentation files (the "Software"), to deal
* fee is hereby granted, provided that the above copyright * in the Software without restriction, including without limitation the rights
* notice appear in all copies and that both that copyright * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* notice and this permission notice appear in supporting * copies of the Software, and to permit persons to whom the Software is
* documentation, and that the name of M.I.T. not be used in * furnished to do so, subject to the following conditions:
* advertising or publicity pertaining to distribution of the *
* software without specific, written prior permission. * The above copyright notice and this permission notice (including the next
* M.I.T. makes no representations about the suitability of * paragraph) shall be included in all copies or substantial portions of the
* this software for any purpose. It is provided "as is" * Software.
* without express or implied warranty. *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */
#ifndef HEADER_CARES_IPHLPAPI_H
#define HEADER_CARES_IPHLPAPI_H
#if defined(USE_WINSOCK) #if defined(USE_WINSOCK)

@ -1,17 +1,25 @@
/* MIT License
/* Copyright (C) 2005 by Dominick Meglio *
* Copyright (c) 2005 Dominick Meglio
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
* *
* Permission to use, copy, modify, and distribute this * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* software and its documentation for any purpose and without * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* fee is hereby granted, provided that the above copyright * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* notice appear in all copies and that both that copyright * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* notice and this permission notice appear in supporting * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* documentation, and that the name of M.I.T. not be used in * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* advertising or publicity pertaining to distribution of the * SOFTWARE.
* software without specific, written prior permission.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,18 +1,26 @@
/* MIT License
/* Copyright 1998 by the Massachusetts Institute of Technology. *
* Copyright (C) 2004-2009 by Daniel Stenberg * Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (c) 2004 Daniel Stenberg
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
* *
* Permission to use, copy, modify, and distribute this * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* software and its documentation for any purpose and without * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* fee is hereby granted, provided that the above copyright * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* notice appear in all copies and that both that copyright * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* notice and this permission notice appear in supporting * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* documentation, and that the name of M.I.T. not be used in * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* advertising or publicity pertaining to distribution of the * SOFTWARE.
* software without specific, written prior permission.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,17 +1,26 @@
/* MIT License
/* Copyright 1998 by the Massachusetts Institute of Technology. *
* Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (c) The c-ares project and its contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
* *
* Permission to use, copy, modify, and distribute this * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* software and its documentation for any purpose and without * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* fee is hereby granted, provided that the above copyright * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* notice appear in all copies and that both that copyright * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* notice and this permission notice appear in supporting * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* documentation, and that the name of M.I.T. not be used in * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* advertising or publicity pertaining to distribution of the * SOFTWARE.
* software without specific, written prior permission.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,22 +1,29 @@
/* MIT License
/* Copyright (C) 2010-2013 by Daniel Stenberg *
* Copyright (c) 2010 Daniel Stenberg
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
* *
* Permission to use, copy, modify, and distribute this * The above copyright notice and this permission notice (including the next
* software and its documentation for any purpose and without * paragraph) shall be included in all copies or substantial portions of the
* fee is hereby granted, provided that the above copyright * Software.
* notice appear in all copies and that both that copyright *
* notice and this permission notice appear in supporting * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* documentation, and that the name of M.I.T. not be used in * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* advertising or publicity pertaining to distribution of the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* software without specific, written prior permission. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* M.I.T. makes no representations about the suitability of * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* this software for any purpose. It is provided "as is" * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* without express or implied warranty. * SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */
#include "ares_setup.h" #include "ares_setup.h"
#ifdef HAVE_ASSERT_H #ifdef HAVE_ASSERT_H

@ -1,23 +1,30 @@
#ifndef HEADER_CARES_NOWARN_H /* MIT License
#define HEADER_CARES_NOWARN_H *
* Copyright (c) 2010 Daniel Stenberg
/* Copyright (C) 2010-2012 by Daniel Stenberg
* *
* Permission to use, copy, modify, and distribute this * Permission is hereby granted, free of charge, to any person obtaining a copy
* software and its documentation for any purpose and without * of this software and associated documentation files (the "Software"), to deal
* fee is hereby granted, provided that the above copyright * in the Software without restriction, including without limitation the rights
* notice appear in all copies and that both that copyright * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* notice and this permission notice appear in supporting * copies of the Software, and to permit persons to whom the Software is
* documentation, and that the name of M.I.T. not be used in * furnished to do so, subject to the following conditions:
* advertising or publicity pertaining to distribution of the *
* software without specific, written prior permission. * The above copyright notice and this permission notice (including the next
* M.I.T. makes no representations about the suitability of * paragraph) shall be included in all copies or substantial portions of the
* this software for any purpose. It is provided "as is" * Software.
* without express or implied warranty. *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */
#ifndef HEADER_CARES_NOWARN_H
#define HEADER_CARES_NOWARN_H
long aresx_uztosl(size_t uznum); long aresx_uztosl(size_t uznum);
int aresx_uztosi(size_t uznum); int aresx_uztosi(size_t uznum);

@ -1,23 +1,30 @@
/* MIT License
/* Copyright 1998 by the Massachusetts Institute of Technology. *
* Copyright (C) 2008-2013 by Daniel Stenberg * Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (c) 2008 Daniel Stenberg
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
* *
* Permission to use, copy, modify, and distribute this * The above copyright notice and this permission notice (including the next
* software and its documentation for any purpose and without * paragraph) shall be included in all copies or substantial portions of the
* fee is hereby granted, provided that the above copyright * Software.
* notice appear in all copies and that both that copyright *
* notice and this permission notice appear in supporting * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* documentation, and that the name of M.I.T. not be used in * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* advertising or publicity pertaining to distribution of the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* software without specific, written prior permission. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* M.I.T. makes no representations about the suitability of * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* this software for any purpose. It is provided "as is" * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* without express or implied warranty. * SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */
#include "ares_setup.h" #include "ares_setup.h"
#ifdef HAVE_ARPA_INET_H #ifdef HAVE_ARPA_INET_H

@ -1,18 +1,26 @@
/* MIT License
/* Copyright 1998 by the Massachusetts Institute of Technology. *
* Copyright (C) 2019 by Andrew Selivanov * Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (c) 2019 Andrew Selivanov
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
* *
* Permission to use, copy, modify, and distribute this * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* software and its documentation for any purpose and without * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* fee is hereby granted, provided that the above copyright * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* notice appear in all copies and that both that copyright * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* notice and this permission notice appear in supporting * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* documentation, and that the name of M.I.T. not be used in * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* advertising or publicity pertaining to distribution of the * SOFTWARE.
* software without specific, written prior permission.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,19 +1,27 @@
/* MIT License
/* Copyright 1998 by the Massachusetts Institute of Technology. *
* Copyright 2005 Dominick Meglio * Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (C) 2019 by Andrew Selivanov * Copyright (c) 2005 Dominick Meglio
* Copyright (c) 2019 Andrew Selivanov
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
* *
* Permission to use, copy, modify, and distribute this * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* software and its documentation for any purpose and without * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* fee is hereby granted, provided that the above copyright * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* notice appear in all copies and that both that copyright * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* notice and this permission notice appear in supporting * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* documentation, and that the name of M.I.T. not be used in * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* advertising or publicity pertaining to distribution of the * SOFTWARE.
* software without specific, written prior permission.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,5 +1,37 @@
/* MIT License
*
* Copyright (c) The c-ares project and its contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
* SPDX-License-Identifier: MIT
*/
/* Copyright 2020 by <danny.sonnenschein@platynum.ch> /* =============================================================================
* NOTE: The below copyright is preserved from the original author. In
* October 2023, there were attempts made to contact the author in order
* gain approval for relicensing to the modern MIT license from the
* below 1989 variant, but all contact information for the author is
* no longer valid.
*
* Copyright (c) 2020 <danny.sonnenschein@platynum.ch>
* *
* Permission to use, copy, modify, and distribute this * Permission to use, copy, modify, and distribute this
* software and its documentation for any purpose and without * software and its documentation for any purpose and without
@ -13,7 +45,7 @@
* this software for any purpose. It is provided "as is" * this software for any purpose. It is provided "as is"
* without express or implied warranty. * without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * =============================================================================
*/ */
#include "ares_setup.h" #include "ares_setup.h"

@ -1,18 +1,26 @@
/* MIT License
/* Copyright 1998 by the Massachusetts Institute of Technology. *
* Copyright (C) 2010 Jeremy Lal <kapouer@melix.org> * Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (c) 2010 Jeremy Lal
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
* *
* Permission to use, copy, modify, and distribute this * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* software and its documentation for any purpose and without * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* fee is hereby granted, provided that the above copyright * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* notice appear in all copies and that both that copyright * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* notice and this permission notice appear in supporting * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* documentation, and that the name of M.I.T. not be used in * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* advertising or publicity pertaining to distribution of the * SOFTWARE.
* software without specific, written prior permission.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,22 +1,29 @@
/* MIT License
/* Copyright 1998 by the Massachusetts Institute of Technology. *
* Copyright (C) 2009 by Jakub Hrozek <jhrozek@redhat.com> * Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (c) 2009 Jakub Hrozek
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
* *
* Permission to use, copy, modify, and distribute this * The above copyright notice and this permission notice (including the next
* software and its documentation for any purpose and without * paragraph) shall be included in all copies or substantial portions of the
* fee is hereby granted, provided that the above copyright * Software.
* notice appear in all copies and that both that copyright *
* notice and this permission notice appear in supporting * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* documentation, and that the name of M.I.T. not be used in * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* advertising or publicity pertaining to distribution of the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* software without specific, written prior permission. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* M.I.T. makes no representations about the suitability of * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* this software for any purpose. It is provided "as is" * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* without express or implied warranty. * SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */
#include "ares_setup.h" #include "ares_setup.h"
#ifdef HAVE_NETINET_IN_H #ifdef HAVE_NETINET_IN_H

@ -1,16 +1,26 @@
/* Copyright 1998 by the Massachusetts Institute of Technology. /* MIT License
* *
* Permission to use, copy, modify, and distribute this * Copyright (c) 1998 Massachusetts Institute of Technology
* software and its documentation for any purpose and without * Copyright (c) The c-ares project and its contributors
* fee is hereby granted, provided that the above copyright *
* notice appear in all copies and that both that copyright * Permission is hereby granted, free of charge, to any person obtaining a copy
* notice and this permission notice appear in supporting * of this software and associated documentation files (the "Software"), to deal
* documentation, and that the name of M.I.T. not be used in * in the Software without restriction, including without limitation the rights
* advertising or publicity pertaining to distribution of the * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* software without specific, written prior permission. * copies of the Software, and to permit persons to whom the Software is
* M.I.T. makes no representations about the suitability of * furnished to do so, subject to the following conditions:
* this software for any purpose. It is provided "as is" *
* without express or implied warranty. * The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,17 +1,26 @@
/* MIT License
/* Copyright 1998 by the Massachusetts Institute of Technology. *
* Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (c) The c-ares project and its contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
* *
* Permission to use, copy, modify, and distribute this * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* software and its documentation for any purpose and without * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* fee is hereby granted, provided that the above copyright * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* notice appear in all copies and that both that copyright * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* notice and this permission notice appear in supporting * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* documentation, and that the name of M.I.T. not be used in * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* advertising or publicity pertaining to distribution of the * SOFTWARE.
* software without specific, written prior permission.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,18 +1,26 @@
/* MIT License
/* Copyright 1998 by the Massachusetts Institute of Technology. *
* Copyright (C) 2012 Marko Kreen <markokr@gmail.com> * Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (c) 2012 Marko Kreen
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
* *
* Permission to use, copy, modify, and distribute this * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* software and its documentation for any purpose and without * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* fee is hereby granted, provided that the above copyright * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* notice appear in all copies and that both that copyright * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* notice and this permission notice appear in supporting * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* documentation, and that the name of M.I.T. not be used in * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* advertising or publicity pertaining to distribution of the * SOFTWARE.
* software without specific, written prior permission.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,18 +1,26 @@
/* MIT License
/* Copyright 1998 by the Massachusetts Institute of Technology. *
* Copyright (C) 2009 by Jakub Hrozek <jhrozek@redhat.com> * Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (c) 2009 Jakub Hrozek
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
* *
* Permission to use, copy, modify, and distribute this * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* software and its documentation for any purpose and without * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* fee is hereby granted, provided that the above copyright * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* notice appear in all copies and that both that copyright * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* notice and this permission notice appear in supporting * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* documentation, and that the name of M.I.T. not be used in * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* advertising or publicity pertaining to distribution of the * SOFTWARE.
* software without specific, written prior permission.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,18 +1,26 @@
/* MIT License
/* Copyright 1998 by the Massachusetts Institute of Technology. *
* Copyright (C) 2009 by Jakub Hrozek <jhrozek@redhat.com> * Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (c) 2009 Jakub Hrozek
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
* *
* Permission to use, copy, modify, and distribute this * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* software and its documentation for any purpose and without * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* fee is hereby granted, provided that the above copyright * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* notice appear in all copies and that both that copyright * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* notice and this permission notice appear in supporting * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* documentation, and that the name of M.I.T. not be used in * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* advertising or publicity pertaining to distribution of the * SOFTWARE.
* software without specific, written prior permission.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,18 +1,26 @@
/* MIT License
/* Copyright 1998 by the Massachusetts Institute of Technology. *
* Copyright (C) 2009 by Jakub Hrozek <jhrozek@redhat.com> * Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (c) 2009 Jakub Hrozek
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
* *
* Permission to use, copy, modify, and distribute this * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* software and its documentation for any purpose and without * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* fee is hereby granted, provided that the above copyright * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* notice appear in all copies and that both that copyright * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* notice and this permission notice appear in supporting * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* documentation, and that the name of M.I.T. not be used in * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* advertising or publicity pertaining to distribution of the * SOFTWARE.
* software without specific, written prior permission.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,19 +1,26 @@
/* MIT License
*
/* Copyright 1998 by the Massachusetts Institute of Technology. * Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (C) 2004 - 2011 by Daniel Stenberg et al * Copyright (c) 2004 Daniel Stenberg
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
* *
* Permission to use, copy, modify, and distribute this * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* software and its documentation for any purpose and without * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* fee is hereby granted, provided that the above copyright * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* notice appear in all copies and that both that copyright * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* notice and this permission notice appear in supporting * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* documentation, and that the name of M.I.T. not be used in * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* advertising or publicity pertaining to distribution of the * SOFTWARE.
* software without specific, written prior permission.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,24 +1,31 @@
#ifndef HEADER_CARES_PLATFORM_H /* MIT License
#define HEADER_CARES_PLATFORM_H *
* Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (c) 2004 Daniel Stenberg
/* Copyright 1998, 2023 by the Massachusetts Institute of Technology.
* Copyright (C) 2004 - 2011 by Daniel Stenberg et al
* *
* Permission to use, copy, modify, and distribute this * Permission is hereby granted, free of charge, to any person obtaining a copy
* software and its documentation for any purpose and without * of this software and associated documentation files (the "Software"), to deal
* fee is hereby granted, provided that the above copyright * in the Software without restriction, including without limitation the rights
* notice appear in all copies and that both that copyright * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* notice and this permission notice appear in supporting * copies of the Software, and to permit persons to whom the Software is
* documentation, and that the name of M.I.T. not be used in * furnished to do so, subject to the following conditions:
* advertising or publicity pertaining to distribution of the *
* software without specific, written prior permission. * The above copyright notice and this permission notice (including the next
* M.I.T. makes no representations about the suitability of * paragraph) shall be included in all copies or substantial portions of the
* this software for any purpose. It is provided "as is" * Software.
* without express or implied warranty. *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */
#ifndef HEADER_CARES_PLATFORM_H
#define HEADER_CARES_PLATFORM_H
#include "ares_setup.h" #include "ares_setup.h"

@ -1,24 +1,31 @@
#ifndef __ARES_PRIVATE_H /* MIT License
#define __ARES_PRIVATE_H *
* Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (c) 2010 Daniel Stenberg
/* Copyright 1998 by the Massachusetts Institute of Technology.
* Copyright (C) 2004-2010 by Daniel Stenberg
* *
* Permission to use, copy, modify, and distribute this * Permission is hereby granted, free of charge, to any person obtaining a copy
* software and its documentation for any purpose and without * of this software and associated documentation files (the "Software"), to deal
* fee is hereby granted, provided that the above copyright * in the Software without restriction, including without limitation the rights
* notice appear in all copies and that both that copyright * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* notice and this permission notice appear in supporting * copies of the Software, and to permit persons to whom the Software is
* documentation, and that the name of M.I.T. not be used in * furnished to do so, subject to the following conditions:
* advertising or publicity pertaining to distribution of the *
* software without specific, written prior permission. * The above copyright notice and this permission notice (including the next
* M.I.T. makes no representations about the suitability of * paragraph) shall be included in all copies or substantial portions of the
* this software for any purpose. It is provided "as is" * Software.
* without express or implied warranty. *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */
#ifndef __ARES_PRIVATE_H
#define __ARES_PRIVATE_H
/* /*
* Define WIN32 when build target is Win32 API * Define WIN32 when build target is Win32 API

@ -1,18 +1,26 @@
/* MIT License
/* Copyright 1998 by the Massachusetts Institute of Technology. *
* Copyright (C) 2004-2017 by Daniel Stenberg * Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (c) 2010 Daniel Stenberg
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
* *
* Permission to use, copy, modify, and distribute this * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* software and its documentation for any purpose and without * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* fee is hereby granted, provided that the above copyright * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* notice appear in all copies and that both that copyright * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* notice and this permission notice appear in supporting * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* documentation, and that the name of M.I.T. not be used in * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* advertising or publicity pertaining to distribution of the * SOFTWARE.
* software without specific, written prior permission.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,17 +1,26 @@
/* MIT License
/* Copyright 1998 by the Massachusetts Institute of Technology. *
* Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (c) The c-ares project and its contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
* *
* Permission to use, copy, modify, and distribute this * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* software and its documentation for any purpose and without * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* fee is hereby granted, provided that the above copyright * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* notice appear in all copies and that both that copyright * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* notice and this permission notice appear in supporting * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* documentation, and that the name of M.I.T. not be used in * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* advertising or publicity pertaining to distribution of the * SOFTWARE.
* software without specific, written prior permission.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,17 +1,25 @@
/* Copyright 1998 by the Massachusetts Institute of Technology. /* MIT License
* Copyright (C) 2007-2013 by Daniel Stenberg
* *
* Permission to use, copy, modify, and distribute this * Copyright (c) 2023 Brad House
* software and its documentation for any purpose and without *
* fee is hereby granted, provided that the above copyright * Permission is hereby granted, free of charge, to any person obtaining a copy
* notice appear in all copies and that both that copyright * of this software and associated documentation files (the "Software"), to deal
* notice and this permission notice appear in supporting * in the Software without restriction, including without limitation the rights
* documentation, and that the name of M.I.T. not be used in * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* advertising or publicity pertaining to distribution of the * copies of the Software, and to permit persons to whom the Software is
* software without specific, written prior permission. * furnished to do so, subject to the following conditions:
* M.I.T. makes no representations about the suitability of *
* this software for any purpose. It is provided "as is" * The above copyright notice and this permission notice (including the next
* without express or implied warranty. * paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,17 +1,26 @@
/* MIT License
/* Copyright 1998 by the Massachusetts Institute of Technology. *
* Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (c) The c-ares project and its contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
* *
* Permission to use, copy, modify, and distribute this * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* software and its documentation for any purpose and without * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* fee is hereby granted, provided that the above copyright * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* notice appear in all copies and that both that copyright * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* notice and this permission notice appear in supporting * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* documentation, and that the name of M.I.T. not be used in * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* advertising or publicity pertaining to distribution of the * SOFTWARE.
* software without specific, written prior permission.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,17 +1,26 @@
/* MIT License
/* Copyright 1998 by the Massachusetts Institute of Technology. *
* Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (c) The c-ares project and its contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
* *
* Permission to use, copy, modify, and distribute this * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* software and its documentation for any purpose and without * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* fee is hereby granted, provided that the above copyright * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* notice appear in all copies and that both that copyright * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* notice and this permission notice appear in supporting * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* documentation, and that the name of M.I.T. not be used in * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* advertising or publicity pertaining to distribution of the * SOFTWARE.
* software without specific, written prior permission.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,21 +1,30 @@
#ifndef HEADER_CARES_SETUP_H /* MIT License
#define HEADER_CARES_SETUP_H *
* Copyright (c) 2004 Daniel Stenberg
/* Copyright (C) 2004 - 2012 by Daniel Stenberg et al
* *
* Permission to use, copy, modify, and distribute this software and its * Permission is hereby granted, free of charge, to any person obtaining a copy
* documentation for any purpose and without fee is hereby granted, provided * of this software and associated documentation files (the "Software"), to deal
* that the above copyright notice appear in all copies and that both that * in the Software without restriction, including without limitation the rights
* copyright notice and this permission notice appear in supporting * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* documentation, and that the name of M.I.T. not be used in advertising or * copies of the Software, and to permit persons to whom the Software is
* publicity pertaining to distribution of the software without specific, * furnished to do so, subject to the following conditions:
* written prior permission. M.I.T. makes no representations about the *
* suitability of this software for any purpose. It is provided "as is" * The above copyright notice and this permission notice (including the next
* without express or implied warranty. * paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */
#ifndef HEADER_CARES_SETUP_H
#define HEADER_CARES_SETUP_H
/* /*
* Define WIN32 when build target is Win32 API * Define WIN32 when build target is Win32 API

@ -1,18 +1,26 @@
/* MIT License
*
/* Copyright 1998 by the Massachusetts Institute of Technology. * Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (c) The c-ares project and its contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
* *
* Permission to use, copy, modify, and distribute this * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* software and its documentation for any purpose and without * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* fee is hereby granted, provided that the above copyright * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* notice appear in all copies and that both that copyright * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* notice and this permission notice appear in supporting * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* documentation, and that the name of M.I.T. not be used in * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* advertising or publicity pertaining to distribution of the * SOFTWARE.
* software without specific, written prior permission.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,23 +1,31 @@
#ifndef HEADER_CARES_STRCASECMP_H /* MIT License
#define HEADER_CARES_STRCASECMP_H *
* Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (c) The c-ares project and its contributors
/* Copyright 1998 by the Massachusetts Institute of Technology.
* *
* Permission to use, copy, modify, and distribute this * Permission is hereby granted, free of charge, to any person obtaining a copy
* software and its documentation for any purpose and without * of this software and associated documentation files (the "Software"), to deal
* fee is hereby granted, provided that the above copyright * in the Software without restriction, including without limitation the rights
* notice appear in all copies and that both that copyright * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* notice and this permission notice appear in supporting * copies of the Software, and to permit persons to whom the Software is
* documentation, and that the name of M.I.T. not be used in * furnished to do so, subject to the following conditions:
* advertising or publicity pertaining to distribution of the *
* software without specific, written prior permission. * The above copyright notice and this permission notice (including the next
* M.I.T. makes no representations about the suitability of * paragraph) shall be included in all copies or substantial portions of the
* this software for any purpose. It is provided "as is" * Software.
* without express or implied warranty. *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */
#ifndef HEADER_CARES_STRCASECMP_H
#define HEADER_CARES_STRCASECMP_H
#include "ares_setup.h" #include "ares_setup.h"

@ -1,18 +1,26 @@
/* MIT License
*
/* Copyright 1998 by the Massachusetts Institute of Technology. * Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (c) The c-ares project and its contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
* *
* Permission to use, copy, modify, and distribute this * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* software and its documentation for any purpose and without * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* fee is hereby granted, provided that the above copyright * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* notice appear in all copies and that both that copyright * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* notice and this permission notice appear in supporting * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* documentation, and that the name of M.I.T. not be used in * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* advertising or publicity pertaining to distribution of the * SOFTWARE.
* software without specific, written prior permission.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,23 +1,31 @@
#ifndef HEADER_CARES_STRDUP_H /* MIT License
#define HEADER_CARES_STRDUP_H *
* Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (c) The c-ares project and its contributors
/* Copyright 1998 by the Massachusetts Institute of Technology.
* *
* Permission to use, copy, modify, and distribute this * Permission is hereby granted, free of charge, to any person obtaining a copy
* software and its documentation for any purpose and without * of this software and associated documentation files (the "Software"), to deal
* fee is hereby granted, provided that the above copyright * in the Software without restriction, including without limitation the rights
* notice appear in all copies and that both that copyright * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* notice and this permission notice appear in supporting * copies of the Software, and to permit persons to whom the Software is
* documentation, and that the name of M.I.T. not be used in * furnished to do so, subject to the following conditions:
* advertising or publicity pertaining to distribution of the *
* software without specific, written prior permission. * The above copyright notice and this permission notice (including the next
* M.I.T. makes no representations about the suitability of * paragraph) shall be included in all copies or substantial portions of the
* this software for any purpose. It is provided "as is" * Software.
* without express or implied warranty. *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */
#ifndef HEADER_CARES_STRDUP_H
#define HEADER_CARES_STRDUP_H
#include "ares_setup.h" #include "ares_setup.h"

@ -1,17 +1,26 @@
/* MIT License
/* Copyright 1998 by the Massachusetts Institute of Technology. *
* Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (c) The c-ares project and its contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
* *
* Permission to use, copy, modify, and distribute this * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* software and its documentation for any purpose and without * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* fee is hereby granted, provided that the above copyright * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* notice appear in all copies and that both that copyright * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* notice and this permission notice appear in supporting * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* documentation, and that the name of M.I.T. not be used in * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* advertising or publicity pertaining to distribution of the * SOFTWARE.
* software without specific, written prior permission.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,16 +1,25 @@
/* Copyright (C) 2018 by John Schember <john@nachtimwald.com> /* MIT License
* *
* Permission to use, copy, modify, and distribute this * Copyright (c) 2018 John Schember
* software and its documentation for any purpose and without *
* fee is hereby granted, provided that the above copyright * Permission is hereby granted, free of charge, to any person obtaining a copy
* notice appear in all copies and that both that copyright * of this software and associated documentation files (the "Software"), to deal
* notice and this permission notice appear in supporting * in the Software without restriction, including without limitation the rights
* documentation, and that the name of M.I.T. not be used in * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* advertising or publicity pertaining to distribution of the * copies of the Software, and to permit persons to whom the Software is
* software without specific, written prior permission. * furnished to do so, subject to the following conditions:
* M.I.T. makes no representations about the suitability of *
* this software for any purpose. It is provided "as is" * The above copyright notice and this permission notice (including the next
* without express or implied warranty. * paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,22 +1,30 @@
#ifndef HEADER_CARES_STRSPLIT_H /* MIT License
#define HEADER_CARES_STRSPLIT_H *
* Copyright (c) 2018 John Schember
/* Copyright (C) 2018 by John Schember <john@nachtimwald.com> *
* * Permission is hereby granted, free of charge, to any person obtaining a copy
* Permission to use, copy, modify, and distribute this * of this software and associated documentation files (the "Software"), to deal
* software and its documentation for any purpose and without * in the Software without restriction, including without limitation the rights
* fee is hereby granted, provided that the above copyright * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* notice appear in all copies and that both that copyright * copies of the Software, and to permit persons to whom the Software is
* notice and this permission notice appear in supporting * furnished to do so, subject to the following conditions:
* documentation, and that the name of M.I.T. not be used in *
* advertising or publicity pertaining to distribution of the * The above copyright notice and this permission notice (including the next
* software without specific, written prior permission. * paragraph) shall be included in all copies or substantial portions of the
* M.I.T. makes no representations about the suitability of * Software.
* this software for any purpose. It is provided "as is" *
* without express or implied warranty. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */
#ifndef HEADER_CARES_STRSPLIT_H
#define HEADER_CARES_STRSPLIT_H
#include "ares_setup.h" #include "ares_setup.h"

@ -1,17 +1,26 @@
/* MIT License
/* Copyright 1998 by the Massachusetts Institute of Technology. *
* Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (c) The c-ares project and its contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
* *
* Permission to use, copy, modify, and distribute this * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* software and its documentation for any purpose and without * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* fee is hereby granted, provided that the above copyright * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* notice appear in all copies and that both that copyright * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* notice and this permission notice appear in supporting * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* documentation, and that the name of M.I.T. not be used in * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* advertising or publicity pertaining to distribution of the * SOFTWARE.
* software without specific, written prior permission.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,6 +1,26 @@
/*********************** /* MIT License
* Copyright (C) the Massachusetts Institute of Technology. *
* Copyright (C) Daniel Stenberg * Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (c) The c-ares project and its contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,4 +1,3 @@
/* /*
* Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC") * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 1996,1999 by Internet Software Consortium. * Copyright (c) 1996,1999 by Internet Software Consortium.

@ -1,23 +1,30 @@
#ifndef __ARES_BITNCMP_H /* MIT License
#define __ARES_BITNCMP_H *
* Copyright (c) 2005 Dominick Meglio
/* Copyright (C) 2005, 2013 by Dominick Meglio
* *
* Permission to use, copy, modify, and distribute this * Permission is hereby granted, free of charge, to any person obtaining a copy
* software and its documentation for any purpose and without * of this software and associated documentation files (the "Software"), to deal
* fee is hereby granted, provided that the above copyright * in the Software without restriction, including without limitation the rights
* notice appear in all copies and that both that copyright * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* notice and this permission notice appear in supporting * copies of the Software, and to permit persons to whom the Software is
* documentation, and that the name of M.I.T. not be used in * furnished to do so, subject to the following conditions:
* advertising or publicity pertaining to distribution of the *
* software without specific, written prior permission. * The above copyright notice and this permission notice (including the next
* M.I.T. makes no representations about the suitability of * paragraph) shall be included in all copies or substantial portions of the
* this software for any purpose. It is provided "as is" * Software.
* without express or implied warranty. *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */
#ifndef __ARES_BITNCMP_H
#define __ARES_BITNCMP_H
#ifndef HAVE_BITNCMP #ifndef HAVE_BITNCMP
int ares__bitncmp(const void *l, const void *r, int n); int ares__bitncmp(const void *l, const void *r, int n);

@ -1,17 +1,25 @@
/* MIT License
/* Copyright (C) 2009-2021 by Daniel Stenberg *
* Copyright (c) 2009 Daniel Stenberg
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
* *
* Permission to use, copy, modify, and distribute this * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* software and its documentation for any purpose and without * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* fee is hereby granted, provided that the above copyright * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* notice appear in all copies and that both that copyright * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* notice and this permission notice appear in supporting * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* documentation, and that the name of M.I.T. not be used in * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* advertising or publicity pertaining to distribution of the * SOFTWARE.
* software without specific, written prior permission.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,20 +1,30 @@
#ifndef HEADER_CARES_CONFIG_WIN32_H /* MIT License
#define HEADER_CARES_CONFIG_WIN32_H *
* Copyright (c) 2004 Daniel Stenberg
/* Copyright (C) 2004 - 2011 by Daniel Stenberg et al
* *
* Permission to use, copy, modify, and distribute this software and its * Permission is hereby granted, free of charge, to any person obtaining a copy
* documentation for any purpose and without fee is hereby granted, provided * of this software and associated documentation files (the "Software"), to deal
* that the above copyright notice appear in all copies and that both that * in the Software without restriction, including without limitation the rights
* copyright notice and this permission notice appear in supporting * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* documentation, and that the name of M.I.T. not be used in advertising or * copies of the Software, and to permit persons to whom the Software is
* publicity pertaining to distribution of the software without specific, * furnished to do so, subject to the following conditions:
* written prior permission. M.I.T. makes no representations about the *
* suitability of this software for any purpose. It is provided "as is" * The above copyright notice and this permission notice (including the next
* without express or implied warranty. * paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */
#ifndef HEADER_CARES_CONFIG_WIN32_H
#define HEADER_CARES_CONFIG_WIN32_H
/* ================================================================ */ /* ================================================================ */
/* c-ares/config-win32.h - Hand crafted config file for Windows */ /* c-ares/config-win32.h - Hand crafted config file for Windows */

@ -1,4 +1,3 @@
/* /*
* Copyright (c) 2012 by Gilles Chehade <gilles@openbsd.org> * Copyright (c) 2012 by Gilles Chehade <gilles@openbsd.org>
* Copyright (c) 1996,1999 by Internet Software Consortium. * Copyright (c) 1996,1999 by Internet Software Consortium.

@ -1,21 +1,30 @@
#ifndef __SETUP_ONCE_H /* MIT License
#define __SETUP_ONCE_H *
* Copyright (c) 2004 Daniel Stenberg
/* Copyright (C) 2004 - 2013 by Daniel Stenberg et al
* *
* Permission to use, copy, modify, and distribute this software and its * Permission is hereby granted, free of charge, to any person obtaining a copy
* documentation for any purpose and without fee is hereby granted, provided * of this software and associated documentation files (the "Software"), to deal
* that the above copyright notice appear in all copies and that both that * in the Software without restriction, including without limitation the rights
* copyright notice and this permission notice appear in supporting * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* documentation, and that the name of M.I.T. not be used in advertising or * copies of the Software, and to permit persons to whom the Software is
* publicity pertaining to distribution of the software without specific, * furnished to do so, subject to the following conditions:
* written prior permission. M.I.T. makes no representations about the *
* suitability of this software for any purpose. It is provided "as is" * The above copyright notice and this permission notice (including the next
* without express or implied warranty. * paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */
#ifndef __SETUP_ONCE_H
#define __SETUP_ONCE_H
/******************************************************************** /********************************************************************

@ -1,6 +1,6 @@
/********************************************************************** /**********************************************************************
* *
* Copyright (C) the Massachusetts Institute of Technology. * Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (C) Daniel Stenberg * Copyright (C) Daniel Stenberg
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT

@ -1,6 +1,34 @@
/* MIT License
*
* Copyright (c) G. Vanem
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
* SPDX-License-Identifier: MIT
*/
/* NOTE: As of late 2022, nerd.dk has been down, and is still down as of 10/2023. /* NOTE: As of late 2022, nerd.dk has been down, and is still down as of 10/2023.
* As there is no similar service. This file remains for historic purposes. * As there is no similar service. This file remains for historic purposes.
* It is no longer built or tested. */ * It is no longer built or tested.
*/
/* /*
* *
* IP-address/hostname to country converter. * IP-address/hostname to country converter.
@ -18,23 +46,8 @@
* *
* Ref: http://countries.nerd.dk/more.html * Ref: http://countries.nerd.dk/more.html
* *
* Copyright (C) G. Vanem <gvanem@yahoo.no>
*
* NB! This program may not be big-endian aware. * NB! This program may not be big-endian aware.
* *
* Permission to use, copy, modify, and distribute this
* software and its documentation for any purpose and without
* fee is hereby granted, provided that the above copyright
* notice appear in all copies and that both that copyright
* notice and this permission notice appear in supporting
* documentation, and that the name of M.I.T. not be used in
* advertising or publicity pertaining to distribution of the
* software without specific, written prior permission.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
*
* SPDX-License-Identifier: MIT
*/ */
#include "ares_setup.h" #include "ares_setup.h"

@ -1,17 +1,26 @@
/* Copyright 1998 by the Massachusetts Institute of Technology. /* MIT License
* *
* Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (c) The c-ares project and its contributors
* *
* Permission to use, copy, modify, and distribute this * Permission is hereby granted, free of charge, to any person obtaining a copy
* software and its documentation for any purpose and without * of this software and associated documentation files (the "Software"), to deal
* fee is hereby granted, provided that the above copyright * in the Software without restriction, including without limitation the rights
* notice appear in all copies and that both that copyright * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* notice and this permission notice appear in supporting * copies of the Software, and to permit persons to whom the Software is
* documentation, and that the name of M.I.T. not be used in * furnished to do so, subject to the following conditions:
* advertising or publicity pertaining to distribution of the *
* software without specific, written prior permission. * The above copyright notice and this permission notice (including the next
* M.I.T. makes no representations about the suitability of * paragraph) shall be included in all copies or substantial portions of the
* this software for any purpose. It is provided "as is" * Software.
* without express or implied warranty. *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

@ -1,17 +1,26 @@
/* Copyright 1998 by the Massachusetts Institute of Technology. /* MIT License
* *
* Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (c) The c-ares project and its contributors
* *
* Permission to use, copy, modify, and distribute this * Permission is hereby granted, free of charge, to any person obtaining a copy
* software and its documentation for any purpose and without * of this software and associated documentation files (the "Software"), to deal
* fee is hereby granted, provided that the above copyright * in the Software without restriction, including without limitation the rights
* notice appear in all copies and that both that copyright * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* notice and this permission notice appear in supporting * copies of the Software, and to permit persons to whom the Software is
* documentation, and that the name of M.I.T. not be used in * furnished to do so, subject to the following conditions:
* advertising or publicity pertaining to distribution of the *
* software without specific, written prior permission. * The above copyright notice and this permission notice (including the next
* M.I.T. makes no representations about the suitability of * paragraph) shall be included in all copies or substantial portions of the
* this software for any purpose. It is provided "as is" * Software.
* without express or implied warranty. *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */

Loading…
Cancel
Save