chromium/third_party/openscreen/src/discovery/dnssd/public/dns_sd_txt_record.cc

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "discovery/dnssd/public/dns_sd_txt_record.h"

#include <cctype>
#include <utility>

#include "util/span_util.h"

namespace openscreen::discovery {

// static
bool DnsSdTxtRecord::IsValidTxtValue(const std::string& key, ByteView value) {}

// static
bool DnsSdTxtRecord::IsValidTxtValue(const std::string& key, uint8_t value) {}

// static
bool DnsSdTxtRecord::IsValidTxtValue(const std::string& key,
                                     const std::string& value) {}

Error DnsSdTxtRecord::SetValue(const std::string& key, ByteView value) {}

Error DnsSdTxtRecord::SetValue(const std::string& key,
                               const std::string& value) {}

Error DnsSdTxtRecord::SetFlag(const std::string& key, bool value) {}

ErrorOr<ByteView> DnsSdTxtRecord::GetValue(const std::string& key) const {}

ErrorOr<std::string> DnsSdTxtRecord::GetStringValue(
    const std::string& key) const {}

ErrorOr<bool> DnsSdTxtRecord::GetFlag(const std::string& key) const {}

Error DnsSdTxtRecord::ClearValue(const std::string& key) {}

Error DnsSdTxtRecord::ClearFlag(const std::string& key) {}

// static
bool DnsSdTxtRecord::IsKeyValid(const std::string& key) {}

std::vector<std::vector<uint8_t>> DnsSdTxtRecord::GetData() const {}

bool DnsSdTxtRecord::CaseInsensitiveComparison::operator()(
    const std::string& lhs,
    const std::string& rhs) const {}

}  // namespace openscreen::discovery