blob: f542d72cbcd0d4e187c5d1efe0c4ef2397ac6e48 [file] [log] [blame]
// Copyright 2021 The Chromium OS 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 SECANOMALYD_MOUNTS_H_
#define SECANOMALYD_MOUNTS_H_
#include <string>
#include <vector>
#include <base/optional.h>
#include "secanomalyd/mount_entry.h"
namespace secanomalyd {
using MountEntries = std::vector<MountEntry>;
using MaybeMountEntries = base::Optional<MountEntries>;
MaybeMountEntries ReadMounts();
// Used mostly for testing.
MaybeMountEntries ReadMountsFromString(const std::string& mounts);
} // namespace secanomalyd
#endif // SECANOMALYD_MOUNTS_H_