mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2025-02-28 04:43:20 +03:00
30 lines
726 B
C++
30 lines
726 B
C++
// Copyright 2018 The Chromium Authors
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#include "net/ntlm/ntlm_constants.h"
|
|
|
|
namespace net::ntlm {
|
|
|
|
AvPair::AvPair() = default;
|
|
|
|
AvPair::AvPair(TargetInfoAvId avid, uint16_t avlen)
|
|
: avid(avid), avlen(avlen) {}
|
|
|
|
AvPair::AvPair(TargetInfoAvId avid, std::vector<uint8_t> buffer)
|
|
: buffer(std::move(buffer)), avid(avid) {
|
|
avlen = this->buffer.size();
|
|
}
|
|
|
|
AvPair::AvPair(const AvPair& other) = default;
|
|
|
|
AvPair::AvPair(AvPair&& other) = default;
|
|
|
|
AvPair::~AvPair() = default;
|
|
|
|
AvPair& AvPair::operator=(const AvPair& other) = default;
|
|
|
|
AvPair& AvPair::operator=(AvPair&& other) = default;
|
|
|
|
} // namespace net::ntlm
|