chromium/third_party/grpc/src/src/core/lib/gprpp/global_config_env.cc

//
//
// Copyright 2019 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/gprpp/global_config_env.h"

#include <ctype.h>
#include <stdlib.h>

#include <initializer_list>
#include <memory>
#include <string>
#include <type_traits>

#include "absl/strings/str_format.h"
#include "absl/types/optional.h"

#include <grpc/support/log.h>
#include <grpc/support/string_util.h>

#include "src/core/lib/gpr/string.h"
#include "src/core/lib/gprpp/env.h"

namespace grpc_core {

namespace {

void DefaultGlobalConfigEnvErrorFunction(const char* error_message) {}

GlobalConfigEnvErrorFunctionType g_global_config_env_error_func =;

void LogParsingError(const char* name, const char* value) {}

}  // namespace

void SetGlobalConfigEnvErrorFunction(GlobalConfigEnvErrorFunctionType func) {}

UniquePtr<char> GlobalConfigEnv::GetValue() {}

void GlobalConfigEnv::SetValue(const char* value) {}

void GlobalConfigEnv::Unset() {}

char* GlobalConfigEnv::GetName() {}
static_assert;

bool GlobalConfigEnvBool::Get() {}

void GlobalConfigEnvBool::Set(bool value) {}

static_assert;

int32_t GlobalConfigEnvInt32::Get() {}

void GlobalConfigEnvInt32::Set(int32_t value) {}

static_assert;

UniquePtr<char> GlobalConfigEnvString::Get() {}

void GlobalConfigEnvString::Set(const char* value) {}

}  // namespace grpc_core