grpc 1.6.7 → 1.7.0.pre1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of grpc might be problematic. Click here for more details.

Files changed (277) hide show
  1. checksums.yaml +4 -4
  2. data/Makefile +579 -77
  3. data/include/grpc/byte_buffer.h +1 -63
  4. data/include/grpc/compression.h +27 -5
  5. data/include/grpc/fork.h +24 -0
  6. data/include/grpc/grpc.h +12 -6
  7. data/include/grpc/grpc_security.h +28 -7
  8. data/include/grpc/impl/codegen/atm.h +1 -0
  9. data/include/grpc/impl/codegen/byte_buffer.h +86 -0
  10. data/include/grpc/impl/codegen/compression_types.h +63 -5
  11. data/include/grpc/impl/codegen/fork.h +48 -0
  12. data/include/grpc/impl/codegen/grpc_types.h +26 -9
  13. data/include/grpc/impl/codegen/port_platform.h +11 -4
  14. data/include/grpc/impl/codegen/slice.h +6 -1
  15. data/include/grpc/impl/codegen/sync.h +3 -1
  16. data/include/grpc/impl/codegen/sync_custom.h +36 -0
  17. data/include/grpc/module.modulemap +75 -3
  18. data/include/grpc/slice.h +1 -5
  19. data/include/grpc/support/sync_custom.h +24 -0
  20. data/src/core/ext/census/base_resources.c +14 -14
  21. data/src/core/ext/census/context.c +7 -5
  22. data/src/core/ext/census/grpc_filter.c +12 -14
  23. data/src/core/ext/census/mlog.c +2 -1
  24. data/src/core/ext/census/resource.c +13 -9
  25. data/src/core/ext/filters/client_channel/channel_connectivity.c +15 -8
  26. data/src/core/ext/filters/client_channel/client_channel.c +418 -439
  27. data/src/core/ext/filters/client_channel/client_channel_factory.c +4 -5
  28. data/src/core/ext/filters/client_channel/client_channel_plugin.c +2 -2
  29. data/src/core/ext/filters/client_channel/http_connect_handshaker.c +7 -5
  30. data/src/core/ext/filters/client_channel/http_proxy.c +17 -21
  31. data/src/core/ext/filters/client_channel/lb_policy.c +1 -1
  32. data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.c +7 -7
  33. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.c +371 -257
  34. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.c +7 -5
  35. data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.c +25 -14
  36. data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.c +16 -16
  37. data/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.c +33 -28
  38. data/src/core/ext/filters/client_channel/lb_policy_factory.c +10 -8
  39. data/src/core/ext/filters/client_channel/lb_policy_factory.h +1 -1
  40. data/src/core/ext/filters/client_channel/proxy_mapper_registry.c +1 -1
  41. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.c +7 -6
  42. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.c +62 -28
  43. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.c +29 -23
  44. data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.c +25 -14
  45. data/src/core/ext/filters/client_channel/retry_throttle.c +9 -6
  46. data/src/core/ext/filters/client_channel/subchannel.c +30 -30
  47. data/src/core/ext/filters/client_channel/subchannel.h +1 -4
  48. data/src/core/ext/filters/client_channel/subchannel_index.c +31 -15
  49. data/src/core/ext/filters/client_channel/subchannel_index.h +7 -0
  50. data/src/core/ext/filters/client_channel/uri_parser.c +4 -3
  51. data/src/core/ext/filters/deadline/deadline_filter.c +78 -39
  52. data/src/core/ext/filters/deadline/deadline_filter.h +7 -1
  53. data/src/core/ext/filters/http/client/http_client_filter.c +14 -14
  54. data/src/core/ext/filters/http/http_filters_plugin.c +1 -1
  55. data/src/core/ext/filters/http/message_compress/message_compress_filter.c +240 -175
  56. data/src/core/ext/filters/http/server/http_server_filter.c +48 -36
  57. data/src/core/ext/filters/load_reporting/{load_reporting_filter.c → server_load_reporting_filter.c} +11 -12
  58. data/src/core/ext/filters/load_reporting/{load_reporting_filter.h → server_load_reporting_filter.h} +6 -5
  59. data/src/core/ext/filters/load_reporting/{load_reporting.c → server_load_reporting_plugin.c} +19 -13
  60. data/src/core/ext/filters/load_reporting/{load_reporting.h → server_load_reporting_plugin.h} +4 -3
  61. data/src/core/ext/filters/max_age/max_age_filter.c +2 -3
  62. data/src/core/ext/filters/message_size/message_size_filter.c +4 -2
  63. data/src/core/ext/filters/workarounds/workaround_cronet_compression_filter.c +0 -1
  64. data/src/core/ext/transport/chttp2/client/chttp2_connector.c +5 -5
  65. data/src/core/ext/transport/chttp2/client/insecure/channel_create.c +1 -1
  66. data/src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c +1 -1
  67. data/src/core/ext/transport/chttp2/server/chttp2_server.c +20 -18
  68. data/src/core/ext/transport/chttp2/transport/chttp2_plugin.c +1 -0
  69. data/src/core/ext/transport/chttp2/transport/chttp2_transport.c +493 -210
  70. data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +1 -0
  71. data/src/core/ext/transport/chttp2/transport/flow_control.c +9 -8
  72. data/src/core/ext/transport/chttp2/transport/frame_data.c +2 -2
  73. data/src/core/ext/transport/chttp2/transport/frame_goaway.c +2 -2
  74. data/src/core/ext/transport/chttp2/transport/frame_ping.c +5 -4
  75. data/src/core/ext/transport/chttp2/transport/frame_rst_stream.c +1 -1
  76. data/src/core/ext/transport/chttp2/transport/frame_settings.c +10 -9
  77. data/src/core/ext/transport/chttp2/transport/frame_window_update.c +9 -5
  78. data/src/core/ext/transport/chttp2/transport/hpack_encoder.c +62 -41
  79. data/src/core/ext/transport/chttp2/transport/hpack_parser.c +52 -8
  80. data/src/core/ext/transport/chttp2/transport/hpack_table.c +2 -2
  81. data/src/core/ext/transport/chttp2/transport/incoming_metadata.c +3 -2
  82. data/src/core/ext/transport/chttp2/transport/internal.h +60 -30
  83. data/src/core/ext/transport/chttp2/transport/parsing.c +16 -5
  84. data/src/core/ext/transport/chttp2/transport/stream_lists.c +36 -16
  85. data/src/core/ext/transport/chttp2/transport/stream_map.c +6 -4
  86. data/src/core/ext/transport/chttp2/transport/writing.c +133 -105
  87. data/src/core/ext/transport/inproc/inproc_transport.c +61 -65
  88. data/src/core/lib/channel/channel_args.c +112 -12
  89. data/src/core/lib/channel/channel_args.h +31 -0
  90. data/src/core/lib/channel/channel_stack.c +1 -15
  91. data/src/core/lib/channel/channel_stack.h +3 -10
  92. data/src/core/lib/channel/channel_stack_builder.c +41 -10
  93. data/src/core/lib/channel/channel_stack_builder.h +10 -0
  94. data/src/core/lib/channel/connected_channel.c +94 -23
  95. data/src/core/lib/channel/handshaker.c +8 -6
  96. data/src/core/lib/channel/handshaker_registry.c +1 -1
  97. data/src/core/lib/compression/algorithm_metadata.h +14 -0
  98. data/src/core/lib/compression/compression.c +101 -1
  99. data/src/core/lib/compression/stream_compression.c +32 -146
  100. data/src/core/lib/compression/stream_compression.h +28 -4
  101. data/src/core/lib/compression/stream_compression_gzip.c +228 -0
  102. data/src/core/lib/{iomgr/ev_epoll_thread_pool_linux.h → compression/stream_compression_gzip.h} +5 -7
  103. data/src/core/lib/compression/stream_compression_identity.c +94 -0
  104. data/src/core/lib/{iomgr/ev_epoll_limited_pollers_linux.h → compression/stream_compression_identity.h} +7 -8
  105. data/src/core/lib/debug/stats.c +174 -0
  106. data/src/core/lib/debug/stats.h +61 -0
  107. data/src/core/lib/debug/stats_data.c +687 -0
  108. data/src/core/lib/debug/stats_data.h +470 -0
  109. data/src/core/lib/debug/trace.c +3 -3
  110. data/src/core/lib/debug/trace.h +1 -1
  111. data/src/core/lib/http/format_request.c +1 -1
  112. data/src/core/lib/http/httpcli.c +8 -7
  113. data/src/core/lib/http/httpcli_security_connector.c +2 -1
  114. data/src/core/lib/http/parser.c +4 -3
  115. data/src/core/lib/iomgr/call_combiner.c +202 -0
  116. data/src/core/lib/iomgr/call_combiner.h +121 -0
  117. data/src/core/lib/iomgr/closure.c +18 -4
  118. data/src/core/lib/iomgr/combiner.c +11 -4
  119. data/src/core/lib/iomgr/error.c +26 -24
  120. data/src/core/lib/iomgr/ev_epoll1_linux.c +395 -212
  121. data/src/core/lib/iomgr/ev_epollex_linux.c +141 -128
  122. data/src/core/lib/iomgr/ev_epollsig_linux.c +44 -41
  123. data/src/core/lib/iomgr/ev_poll_posix.c +99 -75
  124. data/src/core/lib/iomgr/ev_posix.c +5 -9
  125. data/src/core/lib/iomgr/ev_posix.h +1 -1
  126. data/src/core/lib/iomgr/exec_ctx.h +6 -1
  127. data/src/core/lib/iomgr/executor.c +142 -36
  128. data/src/core/lib/iomgr/executor.h +6 -1
  129. data/src/core/lib/iomgr/fork_posix.c +88 -0
  130. data/src/core/lib/iomgr/fork_windows.c +39 -0
  131. data/src/core/lib/iomgr/iocp_windows.c +2 -0
  132. data/src/core/lib/iomgr/iomgr.c +2 -8
  133. data/src/core/lib/iomgr/is_epollexclusive_available.c +6 -6
  134. data/src/core/lib/iomgr/load_file.c +2 -1
  135. data/src/core/lib/iomgr/polling_entity.c +9 -9
  136. data/src/core/lib/iomgr/polling_entity.h +7 -1
  137. data/src/core/lib/iomgr/pollset.h +1 -1
  138. data/src/core/lib/iomgr/pollset_uv.c +1 -1
  139. data/src/core/lib/iomgr/pollset_windows.c +3 -3
  140. data/src/core/lib/iomgr/port.h +4 -0
  141. data/src/core/lib/iomgr/resolve_address_posix.c +8 -7
  142. data/src/core/lib/iomgr/resolve_address_windows.c +1 -1
  143. data/src/core/lib/iomgr/resource_quota.c +24 -19
  144. data/src/core/lib/iomgr/socket_factory_posix.c +4 -4
  145. data/src/core/lib/iomgr/socket_mutator.c +4 -4
  146. data/src/core/lib/iomgr/socket_utils_windows.c +0 -4
  147. data/src/core/lib/iomgr/tcp_client_posix.c +5 -4
  148. data/src/core/lib/iomgr/tcp_posix.c +181 -20
  149. data/src/core/lib/iomgr/tcp_server_posix.c +8 -7
  150. data/src/core/lib/iomgr/tcp_server_utils_posix_common.c +1 -1
  151. data/src/core/lib/iomgr/timer.h +4 -0
  152. data/src/core/lib/iomgr/timer_generic.c +138 -3
  153. data/src/core/lib/iomgr/timer_generic.h +3 -0
  154. data/src/core/lib/iomgr/timer_heap.c +4 -4
  155. data/src/core/lib/iomgr/timer_manager.c +2 -2
  156. data/src/core/lib/iomgr/timer_uv.c +2 -0
  157. data/src/core/lib/iomgr/udp_server.c +10 -8
  158. data/src/core/lib/iomgr/unix_sockets_posix.c +4 -2
  159. data/src/core/lib/iomgr/wakeup_fd_cv.c +9 -8
  160. data/src/core/lib/iomgr/wakeup_fd_cv.h +2 -2
  161. data/src/core/lib/json/json.c +1 -1
  162. data/src/core/lib/json/json_string.c +13 -13
  163. data/src/core/lib/profiling/timers.h +18 -8
  164. data/src/core/lib/security/credentials/composite/composite_credentials.c +4 -10
  165. data/src/core/lib/security/credentials/google_default/google_default_credentials.c +2 -1
  166. data/src/core/lib/security/credentials/jwt/jwt_verifier.c +11 -6
  167. data/src/core/lib/security/credentials/oauth2/oauth2_credentials.c +4 -4
  168. data/src/core/lib/security/credentials/plugin/plugin_credentials.c +132 -50
  169. data/src/core/lib/security/credentials/plugin/plugin_credentials.h +2 -0
  170. data/src/core/lib/security/transport/client_auth_filter.c +68 -135
  171. data/src/core/lib/security/transport/secure_endpoint.c +110 -90
  172. data/src/core/lib/security/transport/secure_endpoint.h +8 -3
  173. data/src/core/lib/security/transport/security_connector.c +10 -12
  174. data/src/core/lib/security/transport/security_handshaker.c +45 -24
  175. data/src/core/lib/security/transport/server_auth_filter.c +71 -20
  176. data/src/core/lib/slice/b64.c +2 -2
  177. data/src/core/lib/slice/slice.c +16 -14
  178. data/src/core/lib/slice/slice_buffer.c +5 -4
  179. data/src/core/lib/slice/slice_hash_table.c +3 -2
  180. data/src/core/lib/slice/slice_intern.c +8 -5
  181. data/src/core/lib/support/block_annotate.h +22 -0
  182. data/src/core/lib/support/fork.c +62 -0
  183. data/src/core/lib/support/fork.h +35 -0
  184. data/src/core/lib/support/log_linux.c +1 -1
  185. data/src/core/lib/support/string.c +15 -1
  186. data/src/core/lib/support/string.h +3 -0
  187. data/src/core/lib/support/thd_internal.h +6 -0
  188. data/src/core/lib/support/thd_posix.c +56 -0
  189. data/src/core/lib/support/thd_windows.c +2 -0
  190. data/src/core/lib/surface/alarm.c +22 -15
  191. data/src/core/lib/surface/byte_buffer.c +4 -2
  192. data/src/core/lib/surface/call.c +442 -141
  193. data/src/core/lib/surface/call.h +6 -6
  194. data/src/core/lib/surface/call_log_batch.c +1 -1
  195. data/src/core/lib/surface/call_test_only.h +12 -0
  196. data/src/core/lib/surface/channel.c +39 -4
  197. data/src/core/lib/surface/channel_init.c +6 -6
  198. data/src/core/lib/surface/channel_ping.c +2 -2
  199. data/src/core/lib/surface/completion_queue.c +56 -57
  200. data/src/core/lib/surface/init.c +17 -3
  201. data/src/core/lib/surface/init_secure.c +5 -1
  202. data/src/core/lib/surface/lame_client.cc +9 -10
  203. data/src/core/lib/surface/server.c +81 -72
  204. data/src/core/lib/surface/version.c +2 -2
  205. data/src/core/lib/transport/byte_stream.c +1 -0
  206. data/src/core/lib/transport/byte_stream.h +3 -1
  207. data/src/core/lib/transport/connectivity_state.c +2 -1
  208. data/src/core/lib/transport/metadata.c +7 -4
  209. data/src/core/lib/transport/metadata_batch.c +18 -16
  210. data/src/core/lib/transport/metadata_batch.h +1 -0
  211. data/src/core/lib/transport/service_config.c +5 -3
  212. data/src/core/lib/transport/static_metadata.c +395 -614
  213. data/src/core/lib/transport/static_metadata.h +165 -133
  214. data/src/core/lib/transport/status_conversion.c +1 -1
  215. data/src/core/lib/transport/transport.c +20 -20
  216. data/src/core/lib/transport/transport.h +8 -5
  217. data/src/core/lib/transport/transport_impl.h +0 -3
  218. data/src/core/lib/transport/transport_op_string.c +8 -1
  219. data/src/core/plugin_registry/grpc_plugin_registry.c +4 -4
  220. data/src/core/tsi/fake_transport_security.c +133 -2
  221. data/src/core/tsi/fake_transport_security.h +5 -0
  222. data/src/core/tsi/ssl_transport_security.c +105 -8
  223. data/src/core/tsi/ssl_transport_security.h +30 -7
  224. data/src/core/tsi/transport_security.h +8 -2
  225. data/src/core/tsi/transport_security_grpc.c +20 -13
  226. data/src/core/tsi/transport_security_grpc.h +13 -9
  227. data/src/ruby/ext/grpc/rb_call_credentials.c +6 -2
  228. data/src/ruby/ext/grpc/rb_grpc.c +1 -1
  229. data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +30 -20
  230. data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +50 -35
  231. data/src/ruby/lib/grpc.rb +1 -0
  232. data/src/ruby/lib/grpc/generic/active_call.rb +34 -9
  233. data/src/ruby/lib/grpc/generic/bidi_call.rb +19 -10
  234. data/src/ruby/lib/grpc/generic/client_stub.rb +95 -38
  235. data/src/ruby/lib/grpc/generic/interceptor_registry.rb +53 -0
  236. data/src/ruby/lib/grpc/generic/interceptors.rb +186 -0
  237. data/src/ruby/lib/grpc/generic/rpc_desc.rb +66 -20
  238. data/src/ruby/lib/grpc/generic/rpc_server.rb +15 -3
  239. data/src/ruby/lib/grpc/google_rpc_status_utils.rb +1 -2
  240. data/src/ruby/lib/grpc/version.rb +1 -1
  241. data/src/ruby/pb/grpc/testing/duplicate/echo_duplicate_services_pb.rb +1 -0
  242. data/src/ruby/spec/channel_connection_spec.rb +1 -34
  243. data/src/ruby/spec/client_server_spec.rb +188 -82
  244. data/src/ruby/spec/generic/active_call_spec.rb +65 -11
  245. data/src/ruby/spec/generic/client_interceptors_spec.rb +153 -0
  246. data/src/ruby/spec/generic/interceptor_registry_spec.rb +65 -0
  247. data/src/ruby/spec/generic/rpc_desc_spec.rb +38 -0
  248. data/src/ruby/spec/generic/rpc_server_spec.rb +1 -34
  249. data/src/ruby/spec/generic/server_interceptors_spec.rb +218 -0
  250. data/src/ruby/spec/spec_helper.rb +4 -0
  251. data/src/ruby/spec/support/helpers.rb +73 -0
  252. data/src/ruby/spec/support/services.rb +147 -0
  253. data/third_party/cares/ares_build.h +21 -62
  254. data/third_party/cares/cares/ares.h +23 -1
  255. data/third_party/cares/cares/ares__close_sockets.c +2 -2
  256. data/third_party/cares/cares/ares_create_query.c +3 -3
  257. data/third_party/cares/cares/ares_expand_name.c +6 -2
  258. data/third_party/cares/cares/ares_expand_string.c +1 -1
  259. data/third_party/cares/cares/ares_getnameinfo.c +27 -7
  260. data/third_party/cares/cares/ares_init.c +407 -39
  261. data/third_party/cares/cares/ares_library_init.c +10 -0
  262. data/third_party/cares/cares/ares_library_init.h +2 -1
  263. data/third_party/cares/cares/ares_nowarn.c +6 -6
  264. data/third_party/cares/cares/ares_nowarn.h +2 -2
  265. data/third_party/cares/cares/ares_parse_naptr_reply.c +6 -1
  266. data/third_party/cares/cares/ares_private.h +11 -0
  267. data/third_party/cares/cares/ares_process.c +126 -37
  268. data/third_party/cares/cares/ares_version.h +2 -2
  269. data/third_party/cares/cares/ares_writev.c +2 -2
  270. data/third_party/cares/cares/config-win32.h +8 -34
  271. data/third_party/cares/cares/inet_net_pton.c +2 -2
  272. data/third_party/cares/cares/setup_once.h +5 -5
  273. data/third_party/cares/config_darwin/ares_config.h +98 -196
  274. data/third_party/cares/config_linux/ares_config.h +103 -203
  275. metadata +47 -20
  276. data/src/core/lib/iomgr/ev_epoll_limited_pollers_linux.c +0 -1957
  277. data/src/core/lib/iomgr/ev_epoll_thread_pool_linux.c +0 -1182
@@ -6,12 +6,12 @@
6
6
  #define ARES_COPYRIGHT "2004 - 2016 Daniel Stenberg, <daniel@haxx.se>."
7
7
 
8
8
  #define ARES_VERSION_MAJOR 1
9
- #define ARES_VERSION_MINOR 11
9
+ #define ARES_VERSION_MINOR 12
10
10
  #define ARES_VERSION_PATCH 1
11
11
  #define ARES_VERSION ((ARES_VERSION_MAJOR<<16)|\
12
12
  (ARES_VERSION_MINOR<<8)|\
13
13
  (ARES_VERSION_PATCH))
14
- #define ARES_VERSION_STR "1.11.1-DEV"
14
+ #define ARES_VERSION_STR "1.12.1-DEV"
15
15
 
16
16
  #if (ARES_VERSION >= 0x010700)
17
17
  # define CARES_HAVE_ARES_LIBRARY_INIT 1
@@ -25,12 +25,12 @@
25
25
  #include "ares_private.h"
26
26
 
27
27
  #ifndef HAVE_WRITEV
28
- ssize_t ares_writev(ares_socket_t s, const struct iovec *iov, int iovcnt)
28
+ ares_ssize_t ares_writev(ares_socket_t s, const struct iovec *iov, int iovcnt)
29
29
  {
30
30
  char *buffer, *bp;
31
31
  int i;
32
32
  size_t bytes = 0;
33
- ssize_t result;
33
+ ares_ssize_t result;
34
34
 
35
35
  /* Validate iovcnt */
36
36
  if (iovcnt <= 0)
@@ -216,20 +216,6 @@
216
216
  #define HAVE_BOOL_T
217
217
  #endif
218
218
 
219
- /* Define if ssize_t is not an available 'typedefed' type. */
220
- #ifndef _SSIZE_T_DEFINED
221
- # if (defined(__WATCOMC__) && (__WATCOMC__ >= 1240)) || \
222
- defined(__POCC__) || \
223
- defined(__MINGW32__)
224
- # elif defined(_WIN64)
225
- # define _SSIZE_T_DEFINED
226
- # define ssize_t __int64
227
- # else
228
- # define _SSIZE_T_DEFINED
229
- # define ssize_t int
230
- # endif
231
- #endif
232
-
233
219
  /* ---------------------------------------------------------------- */
234
220
  /* TYPE SIZES */
235
221
  /* ---------------------------------------------------------------- */
@@ -259,31 +245,19 @@
259
245
  # define _CRT_NONSTDC_NO_DEPRECATE 1
260
246
  #endif
261
247
 
262
- /* Officially, Microsoft's Windows SDK versions 6.X do not support Windows
263
- 2000 as a supported build target. VS2008 default installations provide
264
- an embedded Windows SDK v6.0A along with the claim that Windows 2000 is
265
- a valid build target for VS2008. Popular belief is that binaries built
266
- with VS2008 using Windows SDK versions 6.X and Windows 2000 as a build
267
- target are functional. */
268
- #if defined(_MSC_VER) && (_MSC_VER >= 1500)
269
- # define VS2008_MIN_TARGET 0x0500
270
- #endif
271
-
272
- /* When no build target is specified VS2008 default build target is Windows
273
- Vista, which leaves out even Winsows XP. If no build target has been given
274
- for VS2008 we will target the minimum Officially supported build target,
275
- which happens to be Windows XP. */
248
+ /* Set the Target to Vista. However, any symbols required above Win2000
249
+ * should be loaded via LoadLibrary() */
276
250
  #if defined(_MSC_VER) && (_MSC_VER >= 1500)
277
- # define VS2008_DEF_TARGET 0x0501
251
+ # define VS2008_MIN_TARGET 0x0600
278
252
  #endif
279
253
 
280
254
  /* VS2008 default target settings and minimum build target check. */
281
255
  #if defined(_MSC_VER) && (_MSC_VER >= 1500)
282
256
  # ifndef _WIN32_WINNT
283
- # define _WIN32_WINNT VS2008_DEF_TARGET
257
+ # define _WIN32_WINNT VS2008_MIN_TARGET
284
258
  # endif
285
259
  # ifndef WINVER
286
- # define WINVER VS2008_DEF_TARGET
260
+ # define WINVER VS2008_MIN_TARGET
287
261
  # endif
288
262
  # if (_WIN32_WINNT < VS2008_MIN_TARGET) || (WINVER < VS2008_MIN_TARGET)
289
263
  # error VS2008 does not support Windows build targets prior to Windows 2000
@@ -291,13 +265,13 @@
291
265
  #endif
292
266
 
293
267
  /* When no build target is specified Pelles C 5.00 and later default build
294
- target is Windows Vista. We override default target to be Windows 2000. */
268
+ target is Windows Vista. */
295
269
  #if defined(__POCC__) && (__POCC__ >= 500)
296
270
  # ifndef _WIN32_WINNT
297
- # define _WIN32_WINNT 0x0500
271
+ # define _WIN32_WINNT 0x0600
298
272
  # endif
299
273
  # ifndef WINVER
300
- # define WINVER 0x0500
274
+ # define WINVER 0x0600
301
275
  # endif
302
276
  #endif
303
277
 
@@ -357,8 +357,8 @@ inet_net_pton_ipv6(const char *src, unsigned char *dst, size_t size)
357
357
  * Since some memmove()'s erroneously fail to handle
358
358
  * overlapping regions, we'll do the shift by hand.
359
359
  */
360
- const ssize_t n = tp - colonp;
361
- ssize_t i;
360
+ const ares_ssize_t n = tp - colonp;
361
+ ares_ssize_t i;
362
362
 
363
363
  if (tp == endp)
364
364
  goto enoent;
@@ -131,7 +131,7 @@ struct timeval {
131
131
 
132
132
  #if defined(__minix)
133
133
  /* Minix doesn't support recv on TCP sockets */
134
- #define sread(x,y,z) (ssize_t)read((RECV_TYPE_ARG1)(x), \
134
+ #define sread(x,y,z) (ares_ssize_t)read((RECV_TYPE_ARG1)(x), \
135
135
  (RECV_TYPE_ARG2)(y), \
136
136
  (RECV_TYPE_ARG3)(z))
137
137
 
@@ -167,7 +167,7 @@ struct timeval {
167
167
  Error Missing_definition_of_return_and_arguments_types_of_recv
168
168
  /* */
169
169
  #else
170
- #define sread(x,y,z) (ssize_t)recv((RECV_TYPE_ARG1)(x), \
170
+ #define sread(x,y,z) (ares_ssize_t)recv((RECV_TYPE_ARG1)(x), \
171
171
  (RECV_TYPE_ARG2)(y), \
172
172
  (RECV_TYPE_ARG3)(z), \
173
173
  (RECV_TYPE_ARG4)(0))
@@ -183,7 +183,7 @@ struct timeval {
183
183
 
184
184
  #if defined(__minix)
185
185
  /* Minix doesn't support send on TCP sockets */
186
- #define swrite(x,y,z) (ssize_t)write((SEND_TYPE_ARG1)(x), \
186
+ #define swrite(x,y,z) (ares_ssize_t)write((SEND_TYPE_ARG1)(x), \
187
187
  (SEND_TYPE_ARG2)(y), \
188
188
  (SEND_TYPE_ARG3)(z))
189
189
 
@@ -198,7 +198,7 @@ struct timeval {
198
198
  Error Missing_definition_of_return_and_arguments_types_of_send
199
199
  /* */
200
200
  #else
201
- #define swrite(x,y,z) (ssize_t)send((SEND_TYPE_ARG1)(x), \
201
+ #define swrite(x,y,z) (ares_ssize_t)send((SEND_TYPE_ARG1)(x), \
202
202
  (SEND_TYPE_ARG2)(y), \
203
203
  (SEND_TYPE_ARG3)(z), \
204
204
  (SEND_TYPE_ARG4)(SEND_4TH_ARG))
@@ -228,7 +228,7 @@ struct timeval {
228
228
  Error Missing_definition_of_return_and_arguments_types_of_recvfrom
229
229
  /* */
230
230
  #else
231
- #define sreadfrom(s,b,bl,f,fl) (ssize_t)recvfrom((RECVFROM_TYPE_ARG1) (s), \
231
+ #define sreadfrom(s,b,bl,f,fl) (ares_ssize_t)recvfrom((RECVFROM_TYPE_ARG1) (s), \
232
232
  (RECVFROM_TYPE_ARG2 *)(b), \
233
233
  (RECVFROM_TYPE_ARG3) (bl), \
234
234
  (RECVFROM_TYPE_ARG4) (0), \
@@ -1,35 +1,34 @@
1
- /* ares_config.h. Generated from ares_config.h.in by configure. */
2
- /* ares_config.h.in. Generated from configure.ac by autoheader. */
1
+ /* Generated from ares_config.h.cmake*/
3
2
 
4
3
  /* Define if building universal (internal helper macro) */
5
- /* #undef AC_APPLE_UNIVERSAL_BUILD */
4
+ #undef AC_APPLE_UNIVERSAL_BUILD
6
5
 
7
6
  /* define this if ares is built for a big endian system */
8
- /* #undef ARES_BIG_ENDIAN */
7
+ #undef ARES_BIG_ENDIAN
9
8
 
10
9
  /* when building as static part of libcurl */
11
- /* #undef BUILDING_LIBCURL */
10
+ #undef BUILDING_LIBCURL
12
11
 
13
12
  /* Defined for build that exposes internal static functions for testing. */
14
- /* #undef CARES_EXPOSE_STATICS */
13
+ #undef CARES_EXPOSE_STATICS
15
14
 
16
15
  /* Defined for build with symbol hiding. */
17
- #define CARES_SYMBOL_HIDING 1
16
+ #undef CARES_SYMBOL_HIDING
18
17
 
19
18
  /* Definition to make a library symbol externally visible. */
20
- #define CARES_SYMBOL_SCOPE_EXTERN __attribute__ ((__visibility__ ("default")))
19
+ #undef CARES_SYMBOL_SCOPE_EXTERN
21
20
 
22
21
  /* Use resolver library to configure cares */
23
22
  /* #undef CARES_USE_LIBRESOLV */
24
23
 
25
24
  /* if a /etc/inet dir is being used */
26
- /* #undef ETC_INET */
25
+ #undef ETC_INET
27
26
 
28
27
  /* Define to the type of arg 2 for gethostname. */
29
28
  #define GETHOSTNAME_TYPE_ARG2 size_t
30
29
 
31
30
  /* Define to the type qualifier of arg 1 for getnameinfo. */
32
- #define GETNAMEINFO_QUAL_ARG1 const
31
+ #define GETNAMEINFO_QUAL_ARG1
33
32
 
34
33
  /* Define to the type of arg 1 for getnameinfo. */
35
34
  #define GETNAMEINFO_TYPE_ARG1 struct sockaddr *
@@ -44,33 +43,32 @@
44
43
  #define GETNAMEINFO_TYPE_ARG7 int
45
44
 
46
45
  /* Specifies the number of arguments to getservbyport_r */
47
- /* #undef GETSERVBYPORT_R_ARGS */
48
-
49
- /* Specifies the size of the buffer to pass to getservbyport_r */
50
- /* #undef GETSERVBYPORT_R_BUFSIZE */
46
+ #define GETSERVBYPORT_R_ARGS
51
47
 
52
48
  /* Define to 1 if you have AF_INET6. */
53
- #define HAVE_AF_INET6 1
49
+ #define HAVE_AF_INET6
54
50
 
55
51
  /* Define to 1 if you have the <arpa/inet.h> header file. */
56
- #define HAVE_ARPA_INET_H 1
52
+ #define HAVE_ARPA_INET_H
57
53
 
58
54
  /* Define to 1 if you have the <arpa/nameser_compat.h> header file. */
59
- #define HAVE_ARPA_NAMESER_COMPAT_H 1
55
+ #define HAVE_ARPA_NAMESER_COMPAT_H
60
56
 
61
57
  /* Define to 1 if you have the <arpa/nameser.h> header file. */
62
- #define HAVE_ARPA_NAMESER_H 1
58
+ #define HAVE_ARPA_NAMESER_H
63
59
 
64
60
  /* Define to 1 if you have the <assert.h> header file. */
65
- #define HAVE_ASSERT_H 1
61
+ #define HAVE_ASSERT_H
66
62
 
67
63
  /* Define to 1 if you have the `bitncmp' function. */
68
64
  /* #undef HAVE_BITNCMP */
69
65
 
70
66
  /* Define to 1 if bool is an available type. */
71
- #define HAVE_BOOL_T 1
67
+ #define HAVE_BOOL_T
72
68
 
73
69
  /* Define to 1 if you have the clock_gettime function and monotonic timer. */
70
+ /* IMPORTANT: gRPC MANUAL EDIT HERE!
71
+ * defining HAVE_CLOCK_GETTIME_MONOTONIC breaks the MacOS build on gRPC CI */
74
72
  /* #undef HAVE_CLOCK_GETTIME_MONOTONIC */
75
73
 
76
74
  /* Define to 1 if you have the closesocket function. */
@@ -80,73 +78,73 @@
80
78
  /* #undef HAVE_CLOSESOCKET_CAMEL */
81
79
 
82
80
  /* Define to 1 if you have the connect function. */
83
- #define HAVE_CONNECT 1
81
+ #define HAVE_CONNECT
84
82
 
85
83
  /* define if the compiler supports basic C++11 syntax */
86
- #define HAVE_CXX11 1
84
+ /* #undef HAVE_CXX11 */
87
85
 
88
86
  /* Define to 1 if you have the <dlfcn.h> header file. */
89
- #define HAVE_DLFCN_H 1
87
+ #define HAVE_DLFCN_H
90
88
 
91
89
  /* Define to 1 if you have the <errno.h> header file. */
92
- #define HAVE_ERRNO_H 1
90
+ #define HAVE_ERRNO_H
93
91
 
94
92
  /* Define to 1 if you have the fcntl function. */
95
- #define HAVE_FCNTL 1
93
+ #define HAVE_FCNTL
96
94
 
97
95
  /* Define to 1 if you have the <fcntl.h> header file. */
98
- #define HAVE_FCNTL_H 1
96
+ #define HAVE_FCNTL_H
99
97
 
100
98
  /* Define to 1 if you have a working fcntl O_NONBLOCK function. */
101
- #define HAVE_FCNTL_O_NONBLOCK 1
99
+ #define HAVE_FCNTL_O_NONBLOCK
102
100
 
103
101
  /* Define to 1 if you have the freeaddrinfo function. */
104
- #define HAVE_FREEADDRINFO 1
102
+ #define HAVE_FREEADDRINFO
105
103
 
106
104
  /* Define to 1 if you have a working getaddrinfo function. */
107
- #define HAVE_GETADDRINFO 1
105
+ #define HAVE_GETADDRINFO
108
106
 
109
107
  /* Define to 1 if the getaddrinfo function is threadsafe. */
110
- #define HAVE_GETADDRINFO_THREADSAFE 1
108
+ #define HAVE_GETADDRINFO_THREADSAFE
111
109
 
112
110
  /* Define to 1 if you have the getenv function. */
113
- #define HAVE_GETENV 1
111
+ #define HAVE_GETENV
114
112
 
115
113
  /* Define to 1 if you have the gethostbyaddr function. */
116
- #define HAVE_GETHOSTBYADDR 1
114
+ #define HAVE_GETHOSTBYADDR
117
115
 
118
116
  /* Define to 1 if you have the gethostbyname function. */
119
- #define HAVE_GETHOSTBYNAME 1
117
+ #define HAVE_GETHOSTBYNAME
120
118
 
121
119
  /* Define to 1 if you have the gethostname function. */
122
- #define HAVE_GETHOSTNAME 1
120
+ #define HAVE_GETHOSTNAME
123
121
 
124
122
  /* Define to 1 if you have the getnameinfo function. */
125
- #define HAVE_GETNAMEINFO 1
123
+ #define HAVE_GETNAMEINFO
126
124
 
127
125
  /* Define to 1 if you have the getservbyport_r function. */
128
126
  /* #undef HAVE_GETSERVBYPORT_R */
129
127
 
130
128
  /* Define to 1 if you have the `gettimeofday' function. */
131
- #define HAVE_GETTIMEOFDAY 1
129
+ #define HAVE_GETTIMEOFDAY
132
130
 
133
131
  /* Define to 1 if you have the `if_indextoname' function. */
134
- #define HAVE_IF_INDEXTONAME 1
132
+ #define HAVE_IF_INDEXTONAME
135
133
 
136
134
  /* Define to 1 if you have a IPv6 capable working inet_net_pton function. */
137
- #define HAVE_INET_NET_PTON 1
135
+ #define HAVE_INET_NET_PTON
138
136
 
139
137
  /* Define to 1 if you have a IPv6 capable working inet_ntop function. */
140
- #define HAVE_INET_NTOP 1
138
+ #define HAVE_INET_NTOP
141
139
 
142
140
  /* Define to 1 if you have a IPv6 capable working inet_pton function. */
143
- #define HAVE_INET_PTON 1
141
+ #define HAVE_INET_PTON
144
142
 
145
143
  /* Define to 1 if you have the <inttypes.h> header file. */
146
- #define HAVE_INTTYPES_H 1
144
+ #define HAVE_INTTYPES_H
147
145
 
148
146
  /* Define to 1 if you have the ioctl function. */
149
- #define HAVE_IOCTL 1
147
+ #define HAVE_IOCTL
150
148
 
151
149
  /* Define to 1 if you have the ioctlsocket function. */
152
150
  /* #undef HAVE_IOCTLSOCKET */
@@ -162,109 +160,109 @@
162
160
  /* #undef HAVE_IOCTLSOCKET_FIONBIO */
163
161
 
164
162
  /* Define to 1 if you have a working ioctl FIONBIO function. */
165
- #define HAVE_IOCTL_FIONBIO 1
163
+ #define HAVE_IOCTL_FIONBIO
166
164
 
167
165
  /* Define to 1 if you have a working ioctl SIOCGIFADDR function. */
168
- #define HAVE_IOCTL_SIOCGIFADDR 1
166
+ #define HAVE_IOCTL_SIOCGIFADDR
169
167
 
170
168
  /* Define to 1 if you have the `resolve' library (-lresolve). */
171
- /* #undef HAVE_LIBRESOLVE */
169
+ #define HAVE_LIBRESOLV
172
170
 
173
171
  /* Define to 1 if you have the <limits.h> header file. */
174
- #define HAVE_LIMITS_H 1
172
+ #define HAVE_LIMITS_H
175
173
 
176
174
  /* if your compiler supports LL */
177
- #define HAVE_LL 1
175
+ #define HAVE_LL
178
176
 
179
177
  /* Define to 1 if the compiler supports the 'long long' data type. */
180
- #define HAVE_LONGLONG 1
178
+ #define HAVE_LONGLONG
181
179
 
182
180
  /* Define to 1 if you have the malloc.h header file. */
183
181
  /* #undef HAVE_MALLOC_H */
184
182
 
185
183
  /* Define to 1 if you have the memory.h header file. */
186
- #define HAVE_MEMORY_H 1
184
+ #define HAVE_MEMORY_H
187
185
 
188
186
  /* Define to 1 if you have the MSG_NOSIGNAL flag. */
189
187
  /* #undef HAVE_MSG_NOSIGNAL */
190
188
 
191
189
  /* Define to 1 if you have the <netdb.h> header file. */
192
- #define HAVE_NETDB_H 1
190
+ #define HAVE_NETDB_H
193
191
 
194
192
  /* Define to 1 if you have the <netinet/in.h> header file. */
195
- #define HAVE_NETINET_IN_H 1
193
+ #define HAVE_NETINET_IN_H
196
194
 
197
195
  /* Define to 1 if you have the <netinet/tcp.h> header file. */
198
- #define HAVE_NETINET_TCP_H 1
196
+ #define HAVE_NETINET_TCP_H
199
197
 
200
198
  /* Define to 1 if you have the <net/if.h> header file. */
201
- #define HAVE_NET_IF_H 1
199
+ #define HAVE_NET_IF_H
202
200
 
203
201
  /* Define to 1 if you have PF_INET6. */
204
- #define HAVE_PF_INET6 1
202
+ #define HAVE_PF_INET6
205
203
 
206
204
  /* Define to 1 if you have the recv function. */
207
- #define HAVE_RECV 1
205
+ #define HAVE_RECV
208
206
 
209
207
  /* Define to 1 if you have the recvfrom function. */
210
- #define HAVE_RECVFROM 1
208
+ #define HAVE_RECVFROM
211
209
 
212
210
  /* Define to 1 if you have the send function. */
213
- #define HAVE_SEND 1
211
+ #define HAVE_SEND
214
212
 
215
213
  /* Define to 1 if you have the setsockopt function. */
216
- #define HAVE_SETSOCKOPT 1
214
+ #define HAVE_SETSOCKOPT
217
215
 
218
216
  /* Define to 1 if you have a working setsockopt SO_NONBLOCK function. */
219
217
  /* #undef HAVE_SETSOCKOPT_SO_NONBLOCK */
220
218
 
221
219
  /* Define to 1 if you have the <signal.h> header file. */
222
- #define HAVE_SIGNAL_H 1
220
+ #define HAVE_SIGNAL_H
223
221
 
224
222
  /* Define to 1 if sig_atomic_t is an available typedef. */
225
- #define HAVE_SIG_ATOMIC_T 1
223
+ #define HAVE_SIG_ATOMIC_T
226
224
 
227
225
  /* Define to 1 if sig_atomic_t is already defined as volatile. */
228
226
  /* #undef HAVE_SIG_ATOMIC_T_VOLATILE */
229
227
 
230
228
  /* Define to 1 if your struct sockaddr_in6 has sin6_scope_id. */
231
- #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
229
+ #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID
232
230
 
233
231
  /* Define to 1 if you have the socket function. */
234
- #define HAVE_SOCKET 1
232
+ #define HAVE_SOCKET
235
233
 
236
234
  /* Define to 1 if you have the <socket.h> header file. */
237
235
  /* #undef HAVE_SOCKET_H */
238
236
 
239
237
  /* Define to 1 if you have the <stdbool.h> header file. */
240
- #define HAVE_STDBOOL_H 1
238
+ #define HAVE_STDBOOL_H
241
239
 
242
240
  /* Define to 1 if you have the <stdint.h> header file. */
243
- #define HAVE_STDINT_H 1
241
+ #define HAVE_STDINT_H
244
242
 
245
243
  /* Define to 1 if you have the <stdlib.h> header file. */
246
- #define HAVE_STDLIB_H 1
244
+ #define HAVE_STDLIB_H
247
245
 
248
246
  /* Define to 1 if you have the strcasecmp function. */
249
- #define HAVE_STRCASECMP 1
247
+ #define HAVE_STRCASECMP
250
248
 
251
249
  /* Define to 1 if you have the strcmpi function. */
252
250
  /* #undef HAVE_STRCMPI */
253
251
 
254
252
  /* Define to 1 if you have the strdup function. */
255
- #define HAVE_STRDUP 1
253
+ #define HAVE_STRDUP
256
254
 
257
255
  /* Define to 1 if you have the stricmp function. */
258
256
  /* #undef HAVE_STRICMP */
259
257
 
260
258
  /* Define to 1 if you have the <strings.h> header file. */
261
- #define HAVE_STRINGS_H 1
259
+ #define HAVE_STRINGS_H
262
260
 
263
261
  /* Define to 1 if you have the <string.h> header file. */
264
- #define HAVE_STRING_H 1
262
+ #define HAVE_STRING_H
265
263
 
266
264
  /* Define to 1 if you have the strncasecmp function. */
267
- #define HAVE_STRNCASECMP 1
265
+ #define HAVE_STRNCASECMP
268
266
 
269
267
  /* Define to 1 if you have the strncmpi function. */
270
268
  /* #undef HAVE_STRNCMPI */
@@ -276,49 +274,49 @@
276
274
  /* #undef HAVE_STROPTS_H */
277
275
 
278
276
  /* Define to 1 if you have struct addrinfo. */
279
- #define HAVE_STRUCT_ADDRINFO 1
277
+ #define HAVE_STRUCT_ADDRINFO
280
278
 
281
279
  /* Define to 1 if you have struct in6_addr. */
282
- #define HAVE_STRUCT_IN6_ADDR 1
280
+ #define HAVE_STRUCT_IN6_ADDR
283
281
 
284
282
  /* Define to 1 if you have struct sockaddr_in6. */
285
- #define HAVE_STRUCT_SOCKADDR_IN6 1
283
+ #define HAVE_STRUCT_SOCKADDR_IN6
286
284
 
287
285
  /* if struct sockaddr_storage is defined */
288
- #define HAVE_STRUCT_SOCKADDR_STORAGE 1
286
+ #define HAVE_STRUCT_SOCKADDR_STORAGE
289
287
 
290
288
  /* Define to 1 if you have the timeval struct. */
291
- #define HAVE_STRUCT_TIMEVAL 1
289
+ #define HAVE_STRUCT_TIMEVAL
292
290
 
293
291
  /* Define to 1 if you have the <sys/ioctl.h> header file. */
294
- #define HAVE_SYS_IOCTL_H 1
292
+ #define HAVE_SYS_IOCTL_H
295
293
 
296
294
  /* Define to 1 if you have the <sys/param.h> header file. */
297
- #define HAVE_SYS_PARAM_H 1
295
+ #define HAVE_SYS_PARAM_H
298
296
 
299
297
  /* Define to 1 if you have the <sys/select.h> header file. */
300
- #define HAVE_SYS_SELECT_H 1
298
+ #define HAVE_SYS_SELECT_H
301
299
 
302
300
  /* Define to 1 if you have the <sys/socket.h> header file. */
303
- #define HAVE_SYS_SOCKET_H 1
301
+ #define HAVE_SYS_SOCKET_H
304
302
 
305
303
  /* Define to 1 if you have the <sys/stat.h> header file. */
306
- #define HAVE_SYS_STAT_H 1
304
+ #define HAVE_SYS_STAT_H
307
305
 
308
306
  /* Define to 1 if you have the <sys/time.h> header file. */
309
- #define HAVE_SYS_TIME_H 1
307
+ #define HAVE_SYS_TIME_H
310
308
 
311
309
  /* Define to 1 if you have the <sys/types.h> header file. */
312
- #define HAVE_SYS_TYPES_H 1
310
+ #define HAVE_SYS_TYPES_H
313
311
 
314
312
  /* Define to 1 if you have the <sys/uio.h> header file. */
315
- #define HAVE_SYS_UIO_H 1
313
+ #define HAVE_SYS_UIO_H
316
314
 
317
315
  /* Define to 1 if you have the <time.h> header file. */
318
- #define HAVE_TIME_H 1
316
+ #define HAVE_TIME_H
319
317
 
320
318
  /* Define to 1 if you have the <unistd.h> header file. */
321
- #define HAVE_UNISTD_H 1
319
+ #define HAVE_UNISTD_H
322
320
 
323
321
  /* Define to 1 if you have the windows.h header file. */
324
322
  /* #undef HAVE_WINDOWS_H */
@@ -330,64 +328,31 @@
330
328
  /* #undef HAVE_WINSOCK_H */
331
329
 
332
330
  /* Define to 1 if you have the writev function. */
333
- #define HAVE_WRITEV 1
331
+ #define HAVE_WRITEV
334
332
 
335
333
  /* Define to 1 if you have the ws2tcpip.h header file. */
336
334
  /* #undef HAVE_WS2TCPIP_H */
337
335
 
338
- /* Define to the sub-directory where libtool stores uninstalled libraries. */
339
- #define LT_OBJDIR ".libs/"
340
-
341
336
  /* Define to 1 if you need the malloc.h header file even with stdlib.h */
342
337
  /* #undef NEED_MALLOC_H */
343
338
 
344
339
  /* Define to 1 if you need the memory.h header file even with stdlib.h */
345
340
  /* #undef NEED_MEMORY_H */
346
341
 
347
- /* Define to 1 if _REENTRANT preprocessor symbol must be defined. */
348
- /* #undef NEED_REENTRANT */
349
-
350
- /* Define to 1 if _THREAD_SAFE preprocessor symbol must be defined. */
351
- /* #undef NEED_THREAD_SAFE */
352
-
353
- /* cpu-machine-OS */
354
- #define OS "i386-apple-darwin9.8.0"
355
-
356
- /* Name of package */
357
- #define PACKAGE "c-ares"
358
-
359
- /* Define to the address where bug reports for this package should be sent. */
360
- #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
361
-
362
- /* Define to the full name of this package. */
363
- #define PACKAGE_NAME "c-ares"
364
-
365
- /* Define to the full name and version of this package. */
366
- #define PACKAGE_STRING "c-ares -"
367
-
368
- /* Define to the one symbol short name of this package. */
369
- #define PACKAGE_TARNAME "c-ares"
370
-
371
- /* Define to the home page for this package. */
372
- #define PACKAGE_URL ""
373
-
374
- /* Define to the version of this package. */
375
- #define PACKAGE_VERSION "-"
376
-
377
342
  /* a suitable file/device to read random data from */
378
- #define RANDOM_FILE "/dev/urandom"
343
+ /* #undef RANDOM_FILE */
379
344
 
380
345
  /* Define to the type qualifier pointed by arg 5 for recvfrom. */
381
- #define RECVFROM_QUAL_ARG5
346
+ #define RECVFROM_QUAL_ARG5
382
347
 
383
348
  /* Define to the type of arg 1 for recvfrom. */
384
349
  #define RECVFROM_TYPE_ARG1 int
385
350
 
386
351
  /* Define to the type pointed by arg 2 for recvfrom. */
387
- #define RECVFROM_TYPE_ARG2 void
352
+ #define RECVFROM_TYPE_ARG2 void *
388
353
 
389
354
  /* Define to 1 if the type pointed by arg 2 for recvfrom is void. */
390
- #define RECVFROM_TYPE_ARG2_IS_VOID 1
355
+ #define RECVFROM_TYPE_ARG2_IS_VOID 0
391
356
 
392
357
  /* Define to the type of arg 3 for recvfrom. */
393
358
  #define RECVFROM_TYPE_ARG3 size_t
@@ -396,16 +361,16 @@
396
361
  #define RECVFROM_TYPE_ARG4 int
397
362
 
398
363
  /* Define to the type pointed by arg 5 for recvfrom. */
399
- #define RECVFROM_TYPE_ARG5 struct sockaddr
364
+ #define RECVFROM_TYPE_ARG5 struct sockaddr *
400
365
 
401
366
  /* Define to 1 if the type pointed by arg 5 for recvfrom is void. */
402
- /* #undef RECVFROM_TYPE_ARG5_IS_VOID */
367
+ #define RECVFROM_TYPE_ARG5_IS_VOID 0
403
368
 
404
369
  /* Define to the type pointed by arg 6 for recvfrom. */
405
- #define RECVFROM_TYPE_ARG6 socklen_t
370
+ #define RECVFROM_TYPE_ARG6 socklen_t *
406
371
 
407
372
  /* Define to 1 if the type pointed by arg 6 for recvfrom is void. */
408
- /* #undef RECVFROM_TYPE_ARG6_IS_VOID */
373
+ #define RECVFROM_TYPE_ARG6_IS_VOID 0
409
374
 
410
375
  /* Define to the function return type for recvfrom. */
411
376
  #define RECVFROM_TYPE_RETV ssize_t
@@ -426,10 +391,10 @@
426
391
  #define RECV_TYPE_RETV ssize_t
427
392
 
428
393
  /* Define as the return type of signal handlers (`int' or `void'). */
429
- #define RETSIGTYPE void
394
+ #define RETSIGTYPE
430
395
 
431
396
  /* Define to the type qualifier of arg 2 for send. */
432
- #define SEND_QUAL_ARG2 const
397
+ #define SEND_QUAL_ARG2
433
398
 
434
399
  /* Define to the type of arg 1 for send. */
435
400
  #define SEND_TYPE_ARG1 int
@@ -446,78 +411,15 @@
446
411
  /* Define to the function return type for send. */
447
412
  #define SEND_TYPE_RETV ssize_t
448
413
 
449
- /* The size of `int', as computed by sizeof. */
450
- #define SIZEOF_INT 4
451
-
452
- /* The size of `long', as computed by sizeof. */
453
- #define SIZEOF_LONG 4
454
-
455
- /* The size of `short', as computed by sizeof. */
456
- #define SIZEOF_SHORT 2
457
-
458
- /* The size of `size_t', as computed by sizeof. */
459
- #define SIZEOF_SIZE_T 4
460
-
461
- /* The size of `struct in6_addr', as computed by sizeof. */
462
- #define SIZEOF_STRUCT_IN6_ADDR 16
463
-
464
- /* The size of `struct in_addr', as computed by sizeof. */
465
- #define SIZEOF_STRUCT_IN_ADDR 4
466
-
467
- /* The size of `time_t', as computed by sizeof. */
468
- #define SIZEOF_TIME_T 4
469
-
470
- /* Define to 1 if you have the ANSI C header files. */
471
- #define STDC_HEADERS 1
472
-
473
414
  /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
474
- #define TIME_WITH_SYS_TIME 1
415
+ #define TIME_WITH_SYS_TIME
475
416
 
476
417
  /* Define to disable non-blocking sockets. */
477
- /* #undef USE_BLOCKING_SOCKETS */
478
-
479
- /* Version number of package */
480
- #define VERSION "-"
418
+ #undef USE_BLOCKING_SOCKETS
481
419
 
482
420
  /* Define to avoid automatic inclusion of winsock.h */
483
- /* #undef WIN32_LEAN_AND_MEAN */
484
-
485
- /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
486
- significant byte first (like Motorola and SPARC, unlike Intel). */
487
- #if defined AC_APPLE_UNIVERSAL_BUILD
488
- # if defined __BIG_ENDIAN__
489
- # define WORDS_BIGENDIAN 1
490
- # endif
491
- #else
492
- # ifndef WORDS_BIGENDIAN
493
- /* # undef WORDS_BIGENDIAN */
494
- # endif
495
- #endif
496
-
497
- /* Define to 1 if OS is AIX. */
498
- #ifndef _ALL_SOURCE
499
- /* # undef _ALL_SOURCE */
500
- #endif
501
-
502
- /* Enable large inode numbers on Mac OS X 10.5. */
503
- #ifndef _DARWIN_USE_64_BIT_INODE
504
- # define _DARWIN_USE_64_BIT_INODE 1
505
- #endif
506
-
507
- /* Number of bits in a file offset, on hosts where this is settable. */
508
- /* #undef _FILE_OFFSET_BITS */
509
-
510
- /* Define for large files, on AIX-style hosts. */
511
- /* #undef _LARGE_FILES */
512
-
513
- /* Define to empty if `const' does not conform to ANSI C. */
514
- /* #undef const */
421
+ #undef WIN32_LEAN_AND_MEAN
515
422
 
516
423
  /* Type to use in place of in_addr_t when system does not provide it. */
517
- /* #undef in_addr_t */
518
-
519
- /* Define to `unsigned int' if <sys/types.h> does not define. */
520
- /* #undef size_t */
424
+ #undef in_addr_t
521
425
 
522
- /* the signed version of size_t */
523
- /* #undef ssize_t */