blob: 8daaa7d6f97874a094da4049c1849685a9191c64 [file] [log] [blame]
// Copyright 2018 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 PERIDOT_BIN_LEDGER_P2P_SYNC_IMPL_FLATBUFFER_MESSAGE_FACTORY_H_
#define PERIDOT_BIN_LEDGER_P2P_SYNC_IMPL_FLATBUFFER_MESSAGE_FACTORY_H_
#include <flatbuffers/flatbuffers.h>
#include <lib/fxl/strings/string_view.h>
#include "peridot/bin/ledger/p2p_sync/impl/message_generated.h"
namespace p2p_sync {
void CreateUnknownResponseMessage(flatbuffers::FlatBufferBuilder* buffer,
fxl::StringView namespace_id,
fxl::StringView page_id,
ResponseStatus status);
} // namespace p2p_sync
#endif // PERIDOT_BIN_LEDGER_P2P_SYNC_IMPL_FLATBUFFER_MESSAGE_FACTORY_H_