blob: 4bc8cc3abd511958340c405b8d7ab695ce83a0ef [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.
#include <zircon/types.h>
#include <string>
#include "src/developer/forensics/feedback/attachments/types.h"
namespace forensics {
namespace feedback_data {
// Feedback data provider configuration.
struct Config {
// Set of annotation keys to return data for in
std::set<std::string> annotation_allowlist;
// Set of attachment keys to return data for in
feedback::AttachmentKeys attachment_allowlist;
// Parses the JSON config at |filepath| as |config|.
zx_status_t ParseConfig(const std::string& filepath, Config* config);
} // namespace feedback_data
} // namespace forensics