Sha256: d99f1930e1b657d1d3ac0a19e6e2a2a186de85864e47a757527d3ac7fcbac2d3

Contents?: true

Size: 1.01 KB

Versions: 6

Compression:

Stored size: 1.01 KB

Contents

/*
 *
 * Copyright 2018 gRPC authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */
#include <grpc/support/port_platform.h>

#include "src/core/lib/iomgr/resolve_address.h"

#include <grpc/event_engine/event_engine.h>
#include <grpc/support/alloc.h>

namespace grpc_core {
const char* kDefaultSecurePort = "https";

namespace {
DNSResolver* g_dns_resolver;
}

void SetDNSResolver(DNSResolver* resolver) { g_dns_resolver = resolver; }

DNSResolver* GetDNSResolver() { return g_dns_resolver; }

}  // namespace grpc_core

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
grpc-1.46.3-x86_64-linux src/core/lib/iomgr/resolve_address.cc
grpc-1.46.3 src/core/lib/iomgr/resolve_address.cc
grpc-1.46.2 src/core/lib/iomgr/resolve_address.cc
grpc-1.46.2-x86_64-linux src/core/lib/iomgr/resolve_address.cc
grpc-1.45.0 src/core/lib/iomgr/resolve_address.cc
grpc-1.44.0.pre2 src/core/lib/iomgr/resolve_address.cc