Files
scylladb/dht/token_range_endpoints.hh
Avi Kivity 6572b297a2 treewide: clean up stray license blurbs
After the mechanical change in fcb8d040e8
("treewide: use Software Package Data Exchange (SPDX) license identifiers"),
a few stray license blurbs or fragments thereof remain. In two cases
these were extra blurbs in code generators intended for the generated code,
in others they were just missed by the script.

Clean them up, adding an SPDX license identifier where needed.

Closes #10072
2022-02-13 14:16:16 +02:00

31 lines
555 B
C++

/*
* Copyright (C) 2015-present ScyllaDB.
*/
// SPDX-License-Identifier: AGPL-3.0-or-later
#pragma once
#include <vector>
#include <seastar/core/sstring.hh>
#include "seastarx.hh"
#include "gms/inet_address.hh"
namespace dht {
struct endpoint_details {
gms::inet_address _host;
sstring _datacenter;
sstring _rack;
};
struct token_range_endpoints {
sstring _start_token;
sstring _end_token;
std::vector<sstring> _endpoints;
std::vector<sstring> _rpc_endpoints;
std::vector<endpoint_details> _endpoint_details;
};
}