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.
- checksums.yaml +4 -4
- data/Makefile +579 -77
- data/include/grpc/byte_buffer.h +1 -63
- data/include/grpc/compression.h +27 -5
- data/include/grpc/fork.h +24 -0
- data/include/grpc/grpc.h +12 -6
- data/include/grpc/grpc_security.h +28 -7
- data/include/grpc/impl/codegen/atm.h +1 -0
- data/include/grpc/impl/codegen/byte_buffer.h +86 -0
- data/include/grpc/impl/codegen/compression_types.h +63 -5
- data/include/grpc/impl/codegen/fork.h +48 -0
- data/include/grpc/impl/codegen/grpc_types.h +26 -9
- data/include/grpc/impl/codegen/port_platform.h +11 -4
- data/include/grpc/impl/codegen/slice.h +6 -1
- data/include/grpc/impl/codegen/sync.h +3 -1
- data/include/grpc/impl/codegen/sync_custom.h +36 -0
- data/include/grpc/module.modulemap +75 -3
- data/include/grpc/slice.h +1 -5
- data/include/grpc/support/sync_custom.h +24 -0
- data/src/core/ext/census/base_resources.c +14 -14
- data/src/core/ext/census/context.c +7 -5
- data/src/core/ext/census/grpc_filter.c +12 -14
- data/src/core/ext/census/mlog.c +2 -1
- data/src/core/ext/census/resource.c +13 -9
- data/src/core/ext/filters/client_channel/channel_connectivity.c +15 -8
- data/src/core/ext/filters/client_channel/client_channel.c +418 -439
- data/src/core/ext/filters/client_channel/client_channel_factory.c +4 -5
- data/src/core/ext/filters/client_channel/client_channel_plugin.c +2 -2
- data/src/core/ext/filters/client_channel/http_connect_handshaker.c +7 -5
- data/src/core/ext/filters/client_channel/http_proxy.c +17 -21
- data/src/core/ext/filters/client_channel/lb_policy.c +1 -1
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.c +7 -7
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.c +371 -257
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.c +7 -5
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.c +25 -14
- data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.c +16 -16
- data/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.c +33 -28
- data/src/core/ext/filters/client_channel/lb_policy_factory.c +10 -8
- data/src/core/ext/filters/client_channel/lb_policy_factory.h +1 -1
- data/src/core/ext/filters/client_channel/proxy_mapper_registry.c +1 -1
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.c +7 -6
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.c +62 -28
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.c +29 -23
- data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.c +25 -14
- data/src/core/ext/filters/client_channel/retry_throttle.c +9 -6
- data/src/core/ext/filters/client_channel/subchannel.c +30 -30
- data/src/core/ext/filters/client_channel/subchannel.h +1 -4
- data/src/core/ext/filters/client_channel/subchannel_index.c +31 -15
- data/src/core/ext/filters/client_channel/subchannel_index.h +7 -0
- data/src/core/ext/filters/client_channel/uri_parser.c +4 -3
- data/src/core/ext/filters/deadline/deadline_filter.c +78 -39
- data/src/core/ext/filters/deadline/deadline_filter.h +7 -1
- data/src/core/ext/filters/http/client/http_client_filter.c +14 -14
- data/src/core/ext/filters/http/http_filters_plugin.c +1 -1
- data/src/core/ext/filters/http/message_compress/message_compress_filter.c +240 -175
- data/src/core/ext/filters/http/server/http_server_filter.c +48 -36
- data/src/core/ext/filters/load_reporting/{load_reporting_filter.c → server_load_reporting_filter.c} +11 -12
- data/src/core/ext/filters/load_reporting/{load_reporting_filter.h → server_load_reporting_filter.h} +6 -5
- data/src/core/ext/filters/load_reporting/{load_reporting.c → server_load_reporting_plugin.c} +19 -13
- data/src/core/ext/filters/load_reporting/{load_reporting.h → server_load_reporting_plugin.h} +4 -3
- data/src/core/ext/filters/max_age/max_age_filter.c +2 -3
- data/src/core/ext/filters/message_size/message_size_filter.c +4 -2
- data/src/core/ext/filters/workarounds/workaround_cronet_compression_filter.c +0 -1
- data/src/core/ext/transport/chttp2/client/chttp2_connector.c +5 -5
- data/src/core/ext/transport/chttp2/client/insecure/channel_create.c +1 -1
- data/src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c +1 -1
- data/src/core/ext/transport/chttp2/server/chttp2_server.c +20 -18
- data/src/core/ext/transport/chttp2/transport/chttp2_plugin.c +1 -0
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.c +493 -210
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +1 -0
- data/src/core/ext/transport/chttp2/transport/flow_control.c +9 -8
- data/src/core/ext/transport/chttp2/transport/frame_data.c +2 -2
- data/src/core/ext/transport/chttp2/transport/frame_goaway.c +2 -2
- data/src/core/ext/transport/chttp2/transport/frame_ping.c +5 -4
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.c +1 -1
- data/src/core/ext/transport/chttp2/transport/frame_settings.c +10 -9
- data/src/core/ext/transport/chttp2/transport/frame_window_update.c +9 -5
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.c +62 -41
- data/src/core/ext/transport/chttp2/transport/hpack_parser.c +52 -8
- data/src/core/ext/transport/chttp2/transport/hpack_table.c +2 -2
- data/src/core/ext/transport/chttp2/transport/incoming_metadata.c +3 -2
- data/src/core/ext/transport/chttp2/transport/internal.h +60 -30
- data/src/core/ext/transport/chttp2/transport/parsing.c +16 -5
- data/src/core/ext/transport/chttp2/transport/stream_lists.c +36 -16
- data/src/core/ext/transport/chttp2/transport/stream_map.c +6 -4
- data/src/core/ext/transport/chttp2/transport/writing.c +133 -105
- data/src/core/ext/transport/inproc/inproc_transport.c +61 -65
- data/src/core/lib/channel/channel_args.c +112 -12
- data/src/core/lib/channel/channel_args.h +31 -0
- data/src/core/lib/channel/channel_stack.c +1 -15
- data/src/core/lib/channel/channel_stack.h +3 -10
- data/src/core/lib/channel/channel_stack_builder.c +41 -10
- data/src/core/lib/channel/channel_stack_builder.h +10 -0
- data/src/core/lib/channel/connected_channel.c +94 -23
- data/src/core/lib/channel/handshaker.c +8 -6
- data/src/core/lib/channel/handshaker_registry.c +1 -1
- data/src/core/lib/compression/algorithm_metadata.h +14 -0
- data/src/core/lib/compression/compression.c +101 -1
- data/src/core/lib/compression/stream_compression.c +32 -146
- data/src/core/lib/compression/stream_compression.h +28 -4
- data/src/core/lib/compression/stream_compression_gzip.c +228 -0
- data/src/core/lib/{iomgr/ev_epoll_thread_pool_linux.h → compression/stream_compression_gzip.h} +5 -7
- data/src/core/lib/compression/stream_compression_identity.c +94 -0
- data/src/core/lib/{iomgr/ev_epoll_limited_pollers_linux.h → compression/stream_compression_identity.h} +7 -8
- data/src/core/lib/debug/stats.c +174 -0
- data/src/core/lib/debug/stats.h +61 -0
- data/src/core/lib/debug/stats_data.c +687 -0
- data/src/core/lib/debug/stats_data.h +470 -0
- data/src/core/lib/debug/trace.c +3 -3
- data/src/core/lib/debug/trace.h +1 -1
- data/src/core/lib/http/format_request.c +1 -1
- data/src/core/lib/http/httpcli.c +8 -7
- data/src/core/lib/http/httpcli_security_connector.c +2 -1
- data/src/core/lib/http/parser.c +4 -3
- data/src/core/lib/iomgr/call_combiner.c +202 -0
- data/src/core/lib/iomgr/call_combiner.h +121 -0
- data/src/core/lib/iomgr/closure.c +18 -4
- data/src/core/lib/iomgr/combiner.c +11 -4
- data/src/core/lib/iomgr/error.c +26 -24
- data/src/core/lib/iomgr/ev_epoll1_linux.c +395 -212
- data/src/core/lib/iomgr/ev_epollex_linux.c +141 -128
- data/src/core/lib/iomgr/ev_epollsig_linux.c +44 -41
- data/src/core/lib/iomgr/ev_poll_posix.c +99 -75
- data/src/core/lib/iomgr/ev_posix.c +5 -9
- data/src/core/lib/iomgr/ev_posix.h +1 -1
- data/src/core/lib/iomgr/exec_ctx.h +6 -1
- data/src/core/lib/iomgr/executor.c +142 -36
- data/src/core/lib/iomgr/executor.h +6 -1
- data/src/core/lib/iomgr/fork_posix.c +88 -0
- data/src/core/lib/iomgr/fork_windows.c +39 -0
- data/src/core/lib/iomgr/iocp_windows.c +2 -0
- data/src/core/lib/iomgr/iomgr.c +2 -8
- data/src/core/lib/iomgr/is_epollexclusive_available.c +6 -6
- data/src/core/lib/iomgr/load_file.c +2 -1
- data/src/core/lib/iomgr/polling_entity.c +9 -9
- data/src/core/lib/iomgr/polling_entity.h +7 -1
- data/src/core/lib/iomgr/pollset.h +1 -1
- data/src/core/lib/iomgr/pollset_uv.c +1 -1
- data/src/core/lib/iomgr/pollset_windows.c +3 -3
- data/src/core/lib/iomgr/port.h +4 -0
- data/src/core/lib/iomgr/resolve_address_posix.c +8 -7
- data/src/core/lib/iomgr/resolve_address_windows.c +1 -1
- data/src/core/lib/iomgr/resource_quota.c +24 -19
- data/src/core/lib/iomgr/socket_factory_posix.c +4 -4
- data/src/core/lib/iomgr/socket_mutator.c +4 -4
- data/src/core/lib/iomgr/socket_utils_windows.c +0 -4
- data/src/core/lib/iomgr/tcp_client_posix.c +5 -4
- data/src/core/lib/iomgr/tcp_posix.c +181 -20
- data/src/core/lib/iomgr/tcp_server_posix.c +8 -7
- data/src/core/lib/iomgr/tcp_server_utils_posix_common.c +1 -1
- data/src/core/lib/iomgr/timer.h +4 -0
- data/src/core/lib/iomgr/timer_generic.c +138 -3
- data/src/core/lib/iomgr/timer_generic.h +3 -0
- data/src/core/lib/iomgr/timer_heap.c +4 -4
- data/src/core/lib/iomgr/timer_manager.c +2 -2
- data/src/core/lib/iomgr/timer_uv.c +2 -0
- data/src/core/lib/iomgr/udp_server.c +10 -8
- data/src/core/lib/iomgr/unix_sockets_posix.c +4 -2
- data/src/core/lib/iomgr/wakeup_fd_cv.c +9 -8
- data/src/core/lib/iomgr/wakeup_fd_cv.h +2 -2
- data/src/core/lib/json/json.c +1 -1
- data/src/core/lib/json/json_string.c +13 -13
- data/src/core/lib/profiling/timers.h +18 -8
- data/src/core/lib/security/credentials/composite/composite_credentials.c +4 -10
- data/src/core/lib/security/credentials/google_default/google_default_credentials.c +2 -1
- data/src/core/lib/security/credentials/jwt/jwt_verifier.c +11 -6
- data/src/core/lib/security/credentials/oauth2/oauth2_credentials.c +4 -4
- data/src/core/lib/security/credentials/plugin/plugin_credentials.c +132 -50
- data/src/core/lib/security/credentials/plugin/plugin_credentials.h +2 -0
- data/src/core/lib/security/transport/client_auth_filter.c +68 -135
- data/src/core/lib/security/transport/secure_endpoint.c +110 -90
- data/src/core/lib/security/transport/secure_endpoint.h +8 -3
- data/src/core/lib/security/transport/security_connector.c +10 -12
- data/src/core/lib/security/transport/security_handshaker.c +45 -24
- data/src/core/lib/security/transport/server_auth_filter.c +71 -20
- data/src/core/lib/slice/b64.c +2 -2
- data/src/core/lib/slice/slice.c +16 -14
- data/src/core/lib/slice/slice_buffer.c +5 -4
- data/src/core/lib/slice/slice_hash_table.c +3 -2
- data/src/core/lib/slice/slice_intern.c +8 -5
- data/src/core/lib/support/block_annotate.h +22 -0
- data/src/core/lib/support/fork.c +62 -0
- data/src/core/lib/support/fork.h +35 -0
- data/src/core/lib/support/log_linux.c +1 -1
- data/src/core/lib/support/string.c +15 -1
- data/src/core/lib/support/string.h +3 -0
- data/src/core/lib/support/thd_internal.h +6 -0
- data/src/core/lib/support/thd_posix.c +56 -0
- data/src/core/lib/support/thd_windows.c +2 -0
- data/src/core/lib/surface/alarm.c +22 -15
- data/src/core/lib/surface/byte_buffer.c +4 -2
- data/src/core/lib/surface/call.c +442 -141
- data/src/core/lib/surface/call.h +6 -6
- data/src/core/lib/surface/call_log_batch.c +1 -1
- data/src/core/lib/surface/call_test_only.h +12 -0
- data/src/core/lib/surface/channel.c +39 -4
- data/src/core/lib/surface/channel_init.c +6 -6
- data/src/core/lib/surface/channel_ping.c +2 -2
- data/src/core/lib/surface/completion_queue.c +56 -57
- data/src/core/lib/surface/init.c +17 -3
- data/src/core/lib/surface/init_secure.c +5 -1
- data/src/core/lib/surface/lame_client.cc +9 -10
- data/src/core/lib/surface/server.c +81 -72
- data/src/core/lib/surface/version.c +2 -2
- data/src/core/lib/transport/byte_stream.c +1 -0
- data/src/core/lib/transport/byte_stream.h +3 -1
- data/src/core/lib/transport/connectivity_state.c +2 -1
- data/src/core/lib/transport/metadata.c +7 -4
- data/src/core/lib/transport/metadata_batch.c +18 -16
- data/src/core/lib/transport/metadata_batch.h +1 -0
- data/src/core/lib/transport/service_config.c +5 -3
- data/src/core/lib/transport/static_metadata.c +395 -614
- data/src/core/lib/transport/static_metadata.h +165 -133
- data/src/core/lib/transport/status_conversion.c +1 -1
- data/src/core/lib/transport/transport.c +20 -20
- data/src/core/lib/transport/transport.h +8 -5
- data/src/core/lib/transport/transport_impl.h +0 -3
- data/src/core/lib/transport/transport_op_string.c +8 -1
- data/src/core/plugin_registry/grpc_plugin_registry.c +4 -4
- data/src/core/tsi/fake_transport_security.c +133 -2
- data/src/core/tsi/fake_transport_security.h +5 -0
- data/src/core/tsi/ssl_transport_security.c +105 -8
- data/src/core/tsi/ssl_transport_security.h +30 -7
- data/src/core/tsi/transport_security.h +8 -2
- data/src/core/tsi/transport_security_grpc.c +20 -13
- data/src/core/tsi/transport_security_grpc.h +13 -9
- data/src/ruby/ext/grpc/rb_call_credentials.c +6 -2
- data/src/ruby/ext/grpc/rb_grpc.c +1 -1
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +30 -20
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +50 -35
- data/src/ruby/lib/grpc.rb +1 -0
- data/src/ruby/lib/grpc/generic/active_call.rb +34 -9
- data/src/ruby/lib/grpc/generic/bidi_call.rb +19 -10
- data/src/ruby/lib/grpc/generic/client_stub.rb +95 -38
- data/src/ruby/lib/grpc/generic/interceptor_registry.rb +53 -0
- data/src/ruby/lib/grpc/generic/interceptors.rb +186 -0
- data/src/ruby/lib/grpc/generic/rpc_desc.rb +66 -20
- data/src/ruby/lib/grpc/generic/rpc_server.rb +15 -3
- data/src/ruby/lib/grpc/google_rpc_status_utils.rb +1 -2
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/src/ruby/pb/grpc/testing/duplicate/echo_duplicate_services_pb.rb +1 -0
- data/src/ruby/spec/channel_connection_spec.rb +1 -34
- data/src/ruby/spec/client_server_spec.rb +188 -82
- data/src/ruby/spec/generic/active_call_spec.rb +65 -11
- data/src/ruby/spec/generic/client_interceptors_spec.rb +153 -0
- data/src/ruby/spec/generic/interceptor_registry_spec.rb +65 -0
- data/src/ruby/spec/generic/rpc_desc_spec.rb +38 -0
- data/src/ruby/spec/generic/rpc_server_spec.rb +1 -34
- data/src/ruby/spec/generic/server_interceptors_spec.rb +218 -0
- data/src/ruby/spec/spec_helper.rb +4 -0
- data/src/ruby/spec/support/helpers.rb +73 -0
- data/src/ruby/spec/support/services.rb +147 -0
- data/third_party/cares/ares_build.h +21 -62
- data/third_party/cares/cares/ares.h +23 -1
- data/third_party/cares/cares/ares__close_sockets.c +2 -2
- data/third_party/cares/cares/ares_create_query.c +3 -3
- data/third_party/cares/cares/ares_expand_name.c +6 -2
- data/third_party/cares/cares/ares_expand_string.c +1 -1
- data/third_party/cares/cares/ares_getnameinfo.c +27 -7
- data/third_party/cares/cares/ares_init.c +407 -39
- data/third_party/cares/cares/ares_library_init.c +10 -0
- data/third_party/cares/cares/ares_library_init.h +2 -1
- data/third_party/cares/cares/ares_nowarn.c +6 -6
- data/third_party/cares/cares/ares_nowarn.h +2 -2
- data/third_party/cares/cares/ares_parse_naptr_reply.c +6 -1
- data/third_party/cares/cares/ares_private.h +11 -0
- data/third_party/cares/cares/ares_process.c +126 -37
- data/third_party/cares/cares/ares_version.h +2 -2
- data/third_party/cares/cares/ares_writev.c +2 -2
- data/third_party/cares/cares/config-win32.h +8 -34
- data/third_party/cares/cares/inet_net_pton.c +2 -2
- data/third_party/cares/cares/setup_once.h +5 -5
- data/third_party/cares/config_darwin/ares_config.h +98 -196
- data/third_party/cares/config_linux/ares_config.h +103 -203
- metadata +47 -20
- data/src/core/lib/iomgr/ev_epoll_limited_pollers_linux.c +0 -1957
- 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
|
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.
|
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
|
-
|
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
|
-
|
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
|
-
/*
|
263
|
-
|
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
|
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
|
257
|
+
# define _WIN32_WINNT VS2008_MIN_TARGET
|
284
258
|
# endif
|
285
259
|
# ifndef WINVER
|
286
|
-
# define WINVER
|
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.
|
268
|
+
target is Windows Vista. */
|
295
269
|
#if defined(__POCC__) && (__POCC__ >= 500)
|
296
270
|
# ifndef _WIN32_WINNT
|
297
|
-
# define _WIN32_WINNT
|
271
|
+
# define _WIN32_WINNT 0x0600
|
298
272
|
# endif
|
299
273
|
# ifndef WINVER
|
300
|
-
# define WINVER
|
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
|
361
|
-
|
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) (
|
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) (
|
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) (
|
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) (
|
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) (
|
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
|
-
/*
|
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
|
-
|
4
|
+
#undef AC_APPLE_UNIVERSAL_BUILD
|
6
5
|
|
7
6
|
/* define this if ares is built for a big endian system */
|
8
|
-
|
7
|
+
#undef ARES_BIG_ENDIAN
|
9
8
|
|
10
9
|
/* when building as static part of libcurl */
|
11
|
-
|
10
|
+
#undef BUILDING_LIBCURL
|
12
11
|
|
13
12
|
/* Defined for build that exposes internal static functions for testing. */
|
14
|
-
|
13
|
+
#undef CARES_EXPOSE_STATICS
|
15
14
|
|
16
15
|
/* Defined for build with symbol hiding. */
|
17
|
-
#
|
16
|
+
#undef CARES_SYMBOL_HIDING
|
18
17
|
|
19
18
|
/* Definition to make a library symbol externally visible. */
|
20
|
-
#
|
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
|
-
|
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
|
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
|
-
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
81
|
+
#define HAVE_CONNECT
|
84
82
|
|
85
83
|
/* define if the compiler supports basic C++11 syntax */
|
86
|
-
#
|
84
|
+
/* #undef HAVE_CXX11 */
|
87
85
|
|
88
86
|
/* Define to 1 if you have the <dlfcn.h> header file. */
|
89
|
-
#define HAVE_DLFCN_H
|
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
|
90
|
+
#define HAVE_ERRNO_H
|
93
91
|
|
94
92
|
/* Define to 1 if you have the fcntl function. */
|
95
|
-
#define HAVE_FCNTL
|
93
|
+
#define HAVE_FCNTL
|
96
94
|
|
97
95
|
/* Define to 1 if you have the <fcntl.h> header file. */
|
98
|
-
#define HAVE_FCNTL_H
|
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
|
99
|
+
#define HAVE_FCNTL_O_NONBLOCK
|
102
100
|
|
103
101
|
/* Define to 1 if you have the freeaddrinfo function. */
|
104
|
-
#define HAVE_FREEADDRINFO
|
102
|
+
#define HAVE_FREEADDRINFO
|
105
103
|
|
106
104
|
/* Define to 1 if you have a working getaddrinfo function. */
|
107
|
-
#define HAVE_GETADDRINFO
|
105
|
+
#define HAVE_GETADDRINFO
|
108
106
|
|
109
107
|
/* Define to 1 if the getaddrinfo function is threadsafe. */
|
110
|
-
#define HAVE_GETADDRINFO_THREADSAFE
|
108
|
+
#define HAVE_GETADDRINFO_THREADSAFE
|
111
109
|
|
112
110
|
/* Define to 1 if you have the getenv function. */
|
113
|
-
#define HAVE_GETENV
|
111
|
+
#define HAVE_GETENV
|
114
112
|
|
115
113
|
/* Define to 1 if you have the gethostbyaddr function. */
|
116
|
-
#define HAVE_GETHOSTBYADDR
|
114
|
+
#define HAVE_GETHOSTBYADDR
|
117
115
|
|
118
116
|
/* Define to 1 if you have the gethostbyname function. */
|
119
|
-
#define HAVE_GETHOSTBYNAME
|
117
|
+
#define HAVE_GETHOSTBYNAME
|
120
118
|
|
121
119
|
/* Define to 1 if you have the gethostname function. */
|
122
|
-
#define HAVE_GETHOSTNAME
|
120
|
+
#define HAVE_GETHOSTNAME
|
123
121
|
|
124
122
|
/* Define to 1 if you have the getnameinfo function. */
|
125
|
-
#define HAVE_GETNAMEINFO
|
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
|
129
|
+
#define HAVE_GETTIMEOFDAY
|
132
130
|
|
133
131
|
/* Define to 1 if you have the `if_indextoname' function. */
|
134
|
-
#define HAVE_IF_INDEXTONAME
|
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
|
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
|
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
|
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
|
144
|
+
#define HAVE_INTTYPES_H
|
147
145
|
|
148
146
|
/* Define to 1 if you have the ioctl function. */
|
149
|
-
#define HAVE_IOCTL
|
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
|
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
|
166
|
+
#define HAVE_IOCTL_SIOCGIFADDR
|
169
167
|
|
170
168
|
/* Define to 1 if you have the `resolve' library (-lresolve). */
|
171
|
-
|
169
|
+
#define HAVE_LIBRESOLV
|
172
170
|
|
173
171
|
/* Define to 1 if you have the <limits.h> header file. */
|
174
|
-
#define HAVE_LIMITS_H
|
172
|
+
#define HAVE_LIMITS_H
|
175
173
|
|
176
174
|
/* if your compiler supports LL */
|
177
|
-
#define HAVE_LL
|
175
|
+
#define HAVE_LL
|
178
176
|
|
179
177
|
/* Define to 1 if the compiler supports the 'long long' data type. */
|
180
|
-
#define HAVE_LONGLONG
|
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
|
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
|
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
|
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
|
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
|
199
|
+
#define HAVE_NET_IF_H
|
202
200
|
|
203
201
|
/* Define to 1 if you have PF_INET6. */
|
204
|
-
#define HAVE_PF_INET6
|
202
|
+
#define HAVE_PF_INET6
|
205
203
|
|
206
204
|
/* Define to 1 if you have the recv function. */
|
207
|
-
#define HAVE_RECV
|
205
|
+
#define HAVE_RECV
|
208
206
|
|
209
207
|
/* Define to 1 if you have the recvfrom function. */
|
210
|
-
#define HAVE_RECVFROM
|
208
|
+
#define HAVE_RECVFROM
|
211
209
|
|
212
210
|
/* Define to 1 if you have the send function. */
|
213
|
-
#define HAVE_SEND
|
211
|
+
#define HAVE_SEND
|
214
212
|
|
215
213
|
/* Define to 1 if you have the setsockopt function. */
|
216
|
-
#define HAVE_SETSOCKOPT
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
244
|
+
#define HAVE_STDLIB_H
|
247
245
|
|
248
246
|
/* Define to 1 if you have the strcasecmp function. */
|
249
|
-
#define HAVE_STRCASECMP
|
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
|
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
|
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
|
262
|
+
#define HAVE_STRING_H
|
265
263
|
|
266
264
|
/* Define to 1 if you have the strncasecmp function. */
|
267
|
-
#define HAVE_STRNCASECMP
|
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
|
277
|
+
#define HAVE_STRUCT_ADDRINFO
|
280
278
|
|
281
279
|
/* Define to 1 if you have struct in6_addr. */
|
282
|
-
#define HAVE_STRUCT_IN6_ADDR
|
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
|
283
|
+
#define HAVE_STRUCT_SOCKADDR_IN6
|
286
284
|
|
287
285
|
/* if struct sockaddr_storage is defined */
|
288
|
-
#define HAVE_STRUCT_SOCKADDR_STORAGE
|
286
|
+
#define HAVE_STRUCT_SOCKADDR_STORAGE
|
289
287
|
|
290
288
|
/* Define to 1 if you have the timeval struct. */
|
291
|
-
#define HAVE_STRUCT_TIMEVAL
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
-
#
|
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
|
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
|
-
|
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
|
-
|
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
|
394
|
+
#define RETSIGTYPE
|
430
395
|
|
431
396
|
/* Define to the type qualifier of arg 2 for send. */
|
432
|
-
#define SEND_QUAL_ARG2
|
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
|
415
|
+
#define TIME_WITH_SYS_TIME
|
475
416
|
|
476
417
|
/* Define to disable non-blocking sockets. */
|
477
|
-
|
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
|
-
|
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
|
-
|
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 */
|