blob: 6f826ff63a215929e80764a4d2916a43f29bf001 [file] [log] [blame]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SRC_DEVELOPER_DEBUG_IPC_RECORDS_UTILS_H_
#define SRC_DEVELOPER_DEBUG_IPC_RECORDS_UTILS_H_
#include "src/developer/debug/ipc/records.h"
namespace debug_ipc {
// Collection of utilities functions and classes for dealing with records.
// AddressRange ----------------------------------------------------------------
bool Equals(const AddressRange &, const AddressRange &);
std::string AddressRangeToString(const AddressRange &);
// Used only for testing, collisions are bound to be very unlikely.
struct AddressRangeCompare {
bool operator()(const AddressRange &, const AddressRange &) const;
};
} // namespace debug_ipc
#endif // SRC_DEVELOPER_DEBUG_IPC_RECORDS_UTILS_H_